C# Class BookShop.Models.BookShopEntities

No Metadata Documentation available.
Inheritance: ObjectContext
Datei anzeigen Open project: techtalk/SpecFlow-Examples Class Usage Examples

Public Methods

Method Description
AddToBooks ( Book book ) : void

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

AddToOrderLines ( OrderLine orderLine ) : void

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

BookShopEntities ( ) : System

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

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

Initialize a new BookShopEntities object.

BookShopEntities ( string connectionString ) : System

Initialize a new BookShopEntities object.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToBooks() public method

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

AddToOrderLines() public method

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

BookShopEntities() public method

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

BookShopEntities() public method

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

BookShopEntities() public method

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