Click or drag to resize

EntityMapper Class

Class to map entity class to BsonDocument
Inheritance Hierarchy
SystemObject
  Internal.LiteDBEntityMapper

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class EntityMapper

The EntityMapper type exposes the following members.

Constructors
 NameDescription
Public methodEntityMapperInitializes a new instance of the EntityMapper class
Top
Properties
 NameDescription
Public propertyCreateInstance Get/Set a custom ctor function to create new entity instance
Public propertyForType Indicate which Type this entity mapper is
Public propertyId Indicate which member is _id
Public propertyMembers List all type members that will be mapped to/from BsonDocument
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMember Resolve expression to get member mapped
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWaitForInitialization 
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also