| Name | Description | |
|---|---|---|
![]() | MongoDBDocument Constructor | Overloaded. |
The following tables list the members exposed by MongoDBDocument.
| Name | Description | |
|---|---|---|
![]() | MongoDBDocument Constructor | Overloaded. |
| Name | Description | |
|---|---|---|
![]() | DateTimeKind | Gets or sets the DateTimeKind of the DateTime values read from the document; a written DateTime of the Unspecified kind is taken for this kind. The default value is Utc; Unspecified is not allowed. A document returned by MongoDBDataReader gets the DateTime Kind of the connection. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | DateTimeOffsetFormat | Gets or sets how a DateTimeOffset value is written to the document and which values are read as DateTimeOffset. The default value is MongoDBDateTimeOffsetFormat.DateTime. A document returned by MongoDBDataReader gets the DateTimeOffset Format of the connection. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | Fields | Gets the collection of the top-level fields of the document. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GuidFormat | Gets or sets how a Guid value is written to the document and the byte order used to read UUIDs of binary subtype 3. The default value is MongoDBGuidFormat.Uuid. A document returned by MongoDBDataReader gets the Guid Format of the connection. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | Item | Gets the field with the specified name or dot-separated path; equivalent to GetField. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
| Name | Description | |
|---|---|---|
![]() | Dispose | Overloaded. Releases the native resources used by the MongoDBDocument and optionally releases the managed resources. |
![]() | GetBoolean | Gets the value of the specified field as a Boolean. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetByte | Gets the value of the specified field as a Byte. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetChar | Gets the value of the specified field as a Char. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetDateTime | Gets the value of the specified field as a DateTime in the DateTimeKind of the document. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetDecimal | Gets the value of the specified field as a Decimal. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetDouble | Gets the value of the specified field as a double-precision floating-point number. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetField | Returns the field with the specified name or dot-separated path. If the document has no such field, returns a field of the Uninitialized type that creates the field when a value is assigned to it. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetFloat | Gets the value of the specified field as a single-precision floating-point number. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetInt16 | Gets the value of the specified field as a 16-bit signed integer. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetInt32 | Gets the value of the specified field as a 32-bit signed integer. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetInt64 | Gets the value of the specified field as a 64-bit signed integer. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetString | Gets the value of the specified field as a string; returns a null reference (Nothing in Visual Basic) for a missing field. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | GetValue | Returns the value of the specified field as an object of the .NET type that corresponds to its BSON type; returns a null reference (Nothing in Visual Basic) for a a null reference (Nothing in Visual Basic) or missing field. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | HasField | Returns true if the document contains a field with the specified name or dot-separated path, for example "address.city" or "items.0"; an empty name means the document itself. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | Remove | Removes the field with the specified name or dot-separated path, together with its child fields, from the document. (Inherited from Devart.Data.MongoDB.MongoDBObject) |
![]() | ToString | Overloaded. Returns the document as a JSON string. (Inherited from Devart.Data.MongoDB.MongoDBObject) |