C# Класс Rossbot.Data.DataContext

No Metadata Documentation available.
Наследование: ObjectContext
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddToCommands ( Commands commands ) : void

Deprecated Method for adding a new object to the Commands EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

AddToNamespaces ( Namespaces namespaces ) : void

Deprecated Method for adding a new object to the Namespaces EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

AddToUsers ( Users users ) : void

Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

DataContext ( ) : System

Initializes a new DataContext object using the connection string found in the 'DataContext' section of the application configuration file.

DataContext ( System.Data.EntityClient.EntityConnection connection ) : System

Initialize a new DataContext object.

DataContext ( string connectionString ) : System

Initialize a new DataContext object.

Приватные методы

Метод Описание
OnContextCreated ( ) : void

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

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

Deprecated Method for adding a new object to the Commands EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToCommands ( Commands commands ) : void
commands Commands
Результат void

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

Deprecated Method for adding a new object to the Namespaces EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToNamespaces ( Namespaces namespaces ) : void
namespaces Namespaces
Результат void

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

Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToUsers ( Users users ) : void
users Users
Результат void

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

Initializes a new DataContext object using the connection string found in the 'DataContext' section of the application configuration file.
public DataContext ( ) : System
Результат System

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

Initialize a new DataContext object.
public DataContext ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
Результат System

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

Initialize a new DataContext object.
public DataContext ( string connectionString ) : System
connectionString string
Результат System