C# Класс MvcMusicStore.Models.MusicStoreEntities

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
OnContextCreated ( ) : void

Описание методов

AddToAlbums() публичный Метод

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
Результат void

AddToArtists() публичный Метод

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
Результат void

AddToCarts() публичный Метод

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
Результат void

AddToGenres() публичный Метод

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
Результат void

AddToOrderDetails() публичный Метод

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
Результат void

AddToOrders() публичный Метод

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
Результат void

MusicStoreEntities() публичный Метод

Initializes a new MusicStoreEntities object using the connection string found in the 'MusicStoreEntities' section of the application configuration file.
public MusicStoreEntities ( ) : System
Результат System

MusicStoreEntities() публичный Метод

Initialize a new MusicStoreEntities object.
public MusicStoreEntities ( EntityConnection connection ) : System
connection EntityConnection
Результат System

MusicStoreEntities() публичный Метод

Initialize a new MusicStoreEntities object.
public MusicStoreEntities ( string connectionString ) : System
connectionString string
Результат System