C# Класс Storage.ORM.StorageDBEntities

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

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

Метод Описание
AddToCategories ( Category category ) : void

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

AddToClients ( Client client ) : void

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

AddToInvoices ( Invoice invoice ) : void

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

AddToProducts ( Product product ) : void

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

AddToProductsInInvoices ( ProductsInInvoice productsInInvoice ) : void

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

AddToUsers ( User user ) : void

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

StorageDBEntities ( ) : System

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

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

Initialize a new StorageDBEntities object.

StorageDBEntities ( string connectionString ) : System

Initialize a new StorageDBEntities object.

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

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

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

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

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

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

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

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

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

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

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

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

Deprecated Method for adding a new object to the ProductsInInvoices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToProductsInInvoices ( ProductsInInvoice productsInInvoice ) : void
productsInInvoice ProductsInInvoice
Результат 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 ( User user ) : void
user User
Результат void

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

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

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

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

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

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