C# Class Northwind.EntityFramework.ModelFirst.MsSql.NorthwindMsSqlContext

No Metadata Documentation available.
Inheritance: ObjectContext
Mostrar archivo Open project: object/NorthwindOData

Public Methods

Method Description
AddToCategories ( Categories categories ) : void

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

AddToCustomerDemographics ( CustomerDemographics customerDemographics ) : void

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

AddToCustomers ( Customers customers ) : void

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

AddToEmployees ( Employees employees ) : void

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

AddToOrderDetails ( OrderDetails orderDetails ) : void

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

AddToOrders ( Orders orders ) : void

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

AddToProducts ( Products products ) : void

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

AddToRegions ( Regions regions ) : void

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

AddToShippers ( Shippers shippers ) : void

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

AddToSuppliers ( Suppliers suppliers ) : void

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

AddToTerritories ( Territories territories ) : void

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

NorthwindMsSqlContext ( ) : System

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

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

Initialize a new NorthwindMsSqlContext object.

NorthwindMsSqlContext ( string connectionString ) : System

Initialize a new NorthwindMsSqlContext 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 ( Categories categories ) : void
categories Categories
return void

AddToCustomerDemographics() public method

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

AddToCustomers() public method

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 ( Customers customers ) : void
customers Customers
return void

AddToEmployees() public method

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

AddToOrderDetails() public method

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

AddToOrders() public method

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 ( Orders orders ) : void
orders Orders
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 ( Products products ) : void
products Products
return void

AddToRegions() public method

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

AddToShippers() public method

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

AddToSuppliers() public method

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

AddToTerritories() public method

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

NorthwindMsSqlContext() public method

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

NorthwindMsSqlContext() public method

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

NorthwindMsSqlContext() public method

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