C# Класс MongoDB.Driver.DBRef

A Wrapper for a reference to another object
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

DBRef() публичный Метод

public DBRef ( ) : System
Результат System

DBRef() публичный Метод

Constructs a DBRef from a document that matches the DBref specification.
public DBRef ( Document doc ) : System
doc Document
Результат System

DBRef() публичный Метод

public DBRef ( string collectionName, object id ) : System
collectionName string
id object
Результат System

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

FromDocument() публичный статический Метод

Deprecated. Use the new DBRef(Document) constructor instead.
public static FromDocument ( Document doc ) : DBRef
doc Document
Результат DBRef

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

IsDocumentDBRef() публичный статический Метод

public static IsDocumentDBRef ( Document doc ) : bool
doc Document
Результат bool

ToString() публичный Метод

public ToString ( ) : string
Результат string