C# Класс Lex.Db.Server.SampleDbContext

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

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

Метод Описание
AddToCompanies ( Company company ) : void

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

AddToDeletedItems ( DeletedItem deletedItem ) : void

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

AddToPeople ( Person person ) : void

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

SampleDbContext ( ) : System

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

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

Initialize a new SampleDbContext object.

SampleDbContext ( string connectionString ) : System

Initialize a new SampleDbContext object.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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