Class MongoDBRef
Represents a DBRef (a convenient way to refer to a document).
- Inheritance
-
Mongo
DBRef
- Implements
- Inherited Members
Constructors
- Mongo
DBRef(string, Bson Value) Creates a MongoDBRef.
- Mongo
DBRef(string, string, Bson Value) Creates a MongoDBRef.
Properties
- Collection
Name Gets the name of the collection that contains the document.
- Database
Name Gets the name of the database that contains the document.
- Id
Gets the Id of the document.
Methods
- Equals(Mongo
DBRef) Determines whether this instance and another specified MongoDBRef object have the same value.
- Equals(Mongo
DBRef, Mongo DBRef) Determines whether two specified MongoDBRef objects have the same value.
- Equals(object)
Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value.
- Get
Hash Code() Returns the hash code for this MongoDBRef object.
- To
String() Returns a string representation of the value.
Operators
- operator ==(Mongo
DBRef, Mongo DBRef) Determines whether two specified MongoDBRef objects have the same value.
- operator !=(Mongo
DBRef, Mongo DBRef) Determines whether two specified MongoDBRef objects have different values.