C# Class SampleModel.SampleEntities

No Metadata Documentation available.
Inheritance: ObjectContext
Datei anzeigen Open project: MarkFreedman/Wrestling-With-Telerik-MVC-Grid-Control Class Usage Examples

Public Methods

Method Description
AddToCustomers ( Customer customer ) : void

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

AddToOrderChannels ( OrderChannel orderChannel ) : void

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

AddToOrders ( Order order ) : void

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

SampleEntities ( ) : System

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

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

Initialize a new SampleEntities object.

SampleEntities ( string connectionString ) : System

Initialize a new SampleEntities object.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

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 ( Customer customer ) : void
customer Customer
return void

AddToOrderChannels() public method

Deprecated Method for adding a new object to the OrderChannels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToOrderChannels ( OrderChannel orderChannel ) : void
orderChannel OrderChannel
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 ( Order order ) : void
order Order
return void

SampleEntities() public method

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

SampleEntities() public method

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

SampleEntities() public method

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