C# Класс SampleModel.SampleEntities

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

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

Метод Описание
AddToCustomers ( Customer customer ) : void

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

AddToOrderChannels ( OrderChannel orderChannel ) : void

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

AddToOrders ( Order order ) : void

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

SampleEntities ( ) : System

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

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

Initialize a new SampleEntities object.

SampleEntities ( string connectionString ) : System

Initialize a new SampleEntities object.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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