C# Класс MySql.Data.Entity.Tests.Model1Container

No Metadata Documentation available.
Наследование: ObjectContext
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddToAnimals ( Animal animal ) : void

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

AddToShelters ( Shelter shelter ) : void

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

Model1Container ( ) : System

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

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

Initialize a new Model1Container object.

Model1Container ( string connectionString ) : System

Initialize a new Model1Container object.

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

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

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

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

Deprecated Method for adding a new object to the Animals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToAnimals ( Animal animal ) : void
animal Animal
Результат void

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

Deprecated Method for adding a new object to the Shelters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToShelters ( Shelter shelter ) : void
shelter Shelter
Результат void

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

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

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

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

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

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