C# 클래스 MySql.Data.Entity.Tests.Model1Container

No Metadata Documentation available.
상속: ObjectContext
파일 보기 프로젝트 열기: elevate/mysqlconnector-.net 1 사용 예제들

공개 메소드들

메소드 설명
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