Click or drag to resize

BsonMapperToDocumentT(T) Method

Serialize a entity class to BsonDocument

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public virtual BsonDocument ToDocument<T>(
	T entity
)

Parameters

entity  T
 

Type Parameters

T

Return Value

BsonDocument
See Also