C# Class MongoDB.Driver.DBRef

A Wrapper for a reference to another object
Afficher le fichier Open project: sdether/mongodb-csharp Class Usage Examples

Méthodes publiques

Méthode Description
DBRef ( ) : System
DBRef ( Document doc ) : System

Constructs a DBRef from a document that matches the DBref specification.

DBRef ( string collectionName, object id ) : System
Equals ( object obj ) : bool
FromDocument ( Document doc ) : DBRef

Deprecated. Use the new DBRef(Document) constructor instead.

GetHashCode ( ) : int
IsDocumentDBRef ( Document doc ) : bool
ToString ( ) : string

Method Details

DBRef() public méthode

public DBRef ( ) : System
Résultat System

DBRef() public méthode

Constructs a DBRef from a document that matches the DBref specification.
public DBRef ( Document doc ) : System
doc Document
Résultat System

DBRef() public méthode

public DBRef ( string collectionName, object id ) : System
collectionName string
id object
Résultat System

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

FromDocument() public static méthode

Deprecated. Use the new DBRef(Document) constructor instead.
public static FromDocument ( Document doc ) : DBRef
doc Document
Résultat DBRef

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IsDocumentDBRef() public static méthode

public static IsDocumentDBRef ( Document doc ) : bool
doc Document
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string