C# Class KIS.KISEntities

No Metadata Documentation available.
Inheritance: ObjectContext
显示文件 Open project: operatie-penguins/Data-Base

Public Methods

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

AddToCompanyProducts ( CompanyProduct companyProduct ) : void

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

AddToItems ( Item item ) : void

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

AddToPlans ( Plan plan ) : void

Deprecated Method for adding a new object to the Plans 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.

AddToProductsLists ( ProductsList productsList ) : void

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

AddToStructures ( Structure structure ) : void

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

KISEntities ( ) : System

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

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

Initialize a new KISEntities object.

KISEntities ( string connectionString ) : System

Initialize a new KISEntities object.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToCompanies() public method

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

AddToCompanyProducts() public method

Deprecated Method for adding a new object to the CompanyProducts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToCompanyProducts ( CompanyProduct companyProduct ) : void
companyProduct CompanyProduct
return void

AddToItems() public method

Deprecated Method for adding a new object to the Items EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToItems ( Item item ) : void
item Item
return void

AddToPlans() public method

Deprecated Method for adding a new object to the Plans EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToPlans ( Plan plan ) : void
plan Plan
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

AddToProductsLists() public method

Deprecated Method for adding a new object to the ProductsLists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToProductsLists ( ProductsList productsList ) : void
productsList ProductsList
return void

AddToStructures() public method

Deprecated Method for adding a new object to the Structures EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToStructures ( Structure structure ) : void
structure Structure
return void

KISEntities() public method

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

KISEntities() public method

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

KISEntities() public method

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