C# Class SampleModel.SampleEntities

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

Méthodes publiques

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

Méthode Description
OnContextCreated ( ) : void

Method Details

AddToCustomers() public méthode

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

AddToOrderChannels() public méthode

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

AddToOrders() public méthode

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

SampleEntities() public méthode

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

SampleEntities() public méthode

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

SampleEntities() public méthode

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