C# Class BookShop.Models.BookShopEntities

No Metadata Documentation available.
Inheritance: ObjectContext
Afficher le fichier Open project: techtalk/SpecFlow-Examples Class Usage Examples

Méthodes publiques

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

Méthode Description
OnContextCreated ( ) : void

Method Details

AddToBooks() public méthode

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

AddToOrderLines() public méthode

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
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

BookShopEntities() public méthode

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

BookShopEntities() public méthode

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

BookShopEntities() public méthode

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