C# Class MvcMusicStore.Models.MusicStoreEntities

Afficher le fichier Open project: hoserdude/mvcmusicstore-instrumented Class Usage Examples

Méthodes publiques

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

Méthode Description
OnContextCreated ( ) : void

Method Details

AddToAlbums() public méthode

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

AddToArtists() public méthode

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

AddToCarts() public méthode

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

AddToGenres() public méthode

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

AddToOrderDetails() public méthode

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

MusicStoreEntities() public méthode

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

MusicStoreEntities() public méthode

Initialize a new MusicStoreEntities object.
public MusicStoreEntities ( EntityConnection connection ) : System
connection EntityConnection
Résultat System

MusicStoreEntities() public méthode

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