C# Class IndexedDBSync.Models.DBCustomerEntities

No Metadata Documentation available.
Inheritance: ObjectContext
Show file Open project: techbrij/SyncIndexedDB 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.

DBCustomerEntities ( ) : System

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

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

Initialize a new DBCustomerEntities object.

DBCustomerEntities ( string connectionString ) : System

Initialize a new DBCustomerEntities 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

DBCustomerEntities() public method

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

DBCustomerEntities() public method

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

DBCustomerEntities() public method

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