C# Class Storage.ORM.StorageDBEntities

No Metadata Documentation available.
Inheritance: ObjectContext
Afficher le fichier Open project: aokolity/Storage Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
OnContextCreated ( ) : void

Method Details

AddToCategories() public méthode

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
Résultat void

AddToClients() public méthode

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
Résultat void

AddToInvoices() public méthode

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
Résultat void

AddToProducts() public méthode

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
Résultat void

AddToProductsInInvoices() public méthode

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
Résultat void

AddToUsers() public méthode

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
Résultat void

StorageDBEntities() public méthode

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

StorageDBEntities() public méthode

Initialize a new StorageDBEntities object.
public StorageDBEntities ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
Résultat System

StorageDBEntities() public méthode

Initialize a new StorageDBEntities object.
public StorageDBEntities ( string connectionString ) : System
connectionString string
Résultat System