C# Class Storage.ORM.StorageDBEntities

No Metadata Documentation available.
Inheritance: ObjectContext
显示文件 Open project: aokolity/Storage Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToCategories() public method

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
return void

AddToClients() public method

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
return void

AddToInvoices() public method

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
return void

AddToProducts() public method

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
return void

AddToProductsInInvoices() public method

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
return void

AddToUsers() public method

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
return void

StorageDBEntities() public method

Initializes a new StorageDBEntities object using the connection string found in the 'StorageDBEntities' section of the application configuration file.
public StorageDBEntities ( ) : System
return System

StorageDBEntities() public method

Initialize a new StorageDBEntities object.
public StorageDBEntities ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
return System

StorageDBEntities() public method

Initialize a new StorageDBEntities object.
public StorageDBEntities ( string connectionString ) : System
connectionString string
return System