Click or drag to resize

AscendingGuidGenerator Methods

The AscendingGuidGenerator type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerateId(Object, Object)
Generates an ascending Guid for a document. Consecutive invocations should generate Guids that are ascending from a MongoDB perspective
Public methodGenerateId(Int64, Byte, Int32)
Generates a Guid for a document. Note - this is purely used for unit testing
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsEmpty
Tests whether an id is empty.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also