C# Class MvcMusicStore.Models.MusicStoreEntities

Show file Open project: hoserdude/mvcmusicstore-instrumented Class Usage Examples

Public Methods

Method Description
AddToAlbums ( Album album ) : void

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

AddToArtists ( Artist artist ) : void

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

AddToCarts ( Cart cart ) : void

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

AddToGenres ( Genre genre ) : void

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

AddToOrderDetails ( OrderDetail orderDetail ) : void

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

MusicStoreEntities ( ) : System

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

MusicStoreEntities ( EntityConnection connection ) : System

Initialize a new MusicStoreEntities object.

MusicStoreEntities ( string connectionString ) : System

Initialize a new MusicStoreEntities object.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToAlbums() public method

Deprecated Method for adding a new object to the Albums EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToAlbums ( Album album ) : void
album Album
return void

AddToArtists() public method

Deprecated Method for adding a new object to the Artists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToArtists ( Artist artist ) : void
artist Artist
return void

AddToCarts() public method

Deprecated Method for adding a new object to the Carts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToCarts ( Cart cart ) : void
cart Cart
return void

AddToGenres() public method

Deprecated Method for adding a new object to the Genres EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToGenres ( Genre genre ) : void
genre Genre
return void

AddToOrderDetails() public method

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

MusicStoreEntities() public method

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

MusicStoreEntities() public method

Initialize a new MusicStoreEntities object.
public MusicStoreEntities ( EntityConnection connection ) : System
connection EntityConnection
return System

MusicStoreEntities() public method

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