Method | Description | |
---|---|---|
BsonBinaryDataGuidGenerator ( GuidRepresentation guidRepresentation ) : System |
Initializes a new instance of the BsonBinaryDataGuidGenerator class.
|
|
GenerateId ( object container, object document ) : object |
Generates an Id for a document.
|
|
GetInstance ( GuidRepresentation guidRepresentation ) : |
Gets the instance of BsonBinaryDataGuidGenerator for a GuidRepresentation.
|
|
IsEmpty ( object id ) : bool |
Tests whether an Id is empty.
|
public BsonBinaryDataGuidGenerator ( GuidRepresentation guidRepresentation ) : System | ||
guidRepresentation | GuidRepresentation | The GuidRepresentation to use when generating new Id values. |
return | System |
public GenerateId ( object container, object document ) : object | ||
container | object | The container of the document (will be a MongoCollection when called from the C# driver). |
document | object | The document. |
return | object |
public static GetInstance ( GuidRepresentation guidRepresentation ) : |
||
guidRepresentation | GuidRepresentation | The GuidRepresentation. |
return |