Метод | Описание | |
---|---|---|
GenerateId ( ) : |
Creates an Oid for this document - MongoDB will automatically create an Oid when needed
|
|
MongoDocument ( ) : System |
Creates an empty MongoDocument with a default ID assigned
|
|
MongoDocument ( bool generateId ) : System |
Creates an empty MongoDocument with a default ID assigned
|
|
MongoDocument ( bool generateId, object source ) : System |
Creates a MongoDocument using the provided object as a template
|
|
MongoDocument ( object source ) : System |
Creates an empty MongoDocument with a default ID assigned
|
|
ToBsonByteArray ( ) : byte[] |
Handles rendering the bytes required to create this type
|
|
operator ( ) : |
Merges another object with this object - Same as calling Merge
|
Метод | Описание | |
---|---|---|
OnBeforeFinishBsonRender ( IEnumerable |
Handles reordering so that the Oid is at the start
|
public MongoDocument ( bool generateId ) : System | ||
generateId | bool | |
Результат | System |
public MongoDocument ( bool generateId, object source ) : System | ||
generateId | bool | |
source | object | |
Результат | System |
public MongoDocument ( object source ) : System | ||
source | object | |
Результат | System |
protected OnBeforeFinishBsonRender ( IEnumerable |
||
fields | IEnumerable |
|
Результат | IEnumerable |
public static operator ( ) : |
||
Результат |