C# 클래스 Rossbot.Data.DataContext

No Metadata Documentation available.
상속: ObjectContext
파일 보기 프로젝트 열기: fekberg/Roslyn-IRC-Bot 1 사용 예제들

공개 메소드들

메소드 설명
AddToCommands ( Commands commands ) : void

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

AddToNamespaces ( Namespaces namespaces ) : void

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

AddToUsers ( Users users ) : void

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

DataContext ( ) : System

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

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

Initialize a new DataContext object.

DataContext ( string connectionString ) : System

Initialize a new DataContext object.

비공개 메소드들

메소드 설명
OnContextCreated ( ) : void

메소드 상세

AddToCommands() 공개 메소드

Deprecated Method for adding a new object to the Commands EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToCommands ( Commands commands ) : void
commands Commands
리턴 void

AddToNamespaces() 공개 메소드

Deprecated Method for adding a new object to the Namespaces EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToNamespaces ( Namespaces namespaces ) : void
namespaces Namespaces
리턴 void

AddToUsers() 공개 메소드

Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToUsers ( Users users ) : void
users Users
리턴 void

DataContext() 공개 메소드

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

DataContext() 공개 메소드

Initialize a new DataContext object.
public DataContext ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
리턴 System

DataContext() 공개 메소드

Initialize a new DataContext object.
public DataContext ( string connectionString ) : System
connectionString string
리턴 System