C# Class Todo.TodoEntitiesContainer

No Metadata Documentation available.
Inheritance: ObjectContext
显示文件 Open project: artigat1/TodoAppWithBackboneRequireAndMVC

Public Methods

Method Description
AddToTodoSet ( Todo todo ) : void

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

TodoEntitiesContainer ( ) : System

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

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

Initialize a new TodoEntitiesContainer object.

TodoEntitiesContainer ( string connectionString ) : System

Initialize a new TodoEntitiesContainer object.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToTodoSet() public method

Deprecated Method for adding a new object to the TodoSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToTodoSet ( Todo todo ) : void
todo Todo
return void

TodoEntitiesContainer() public method

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

TodoEntitiesContainer() public method

Initialize a new TodoEntitiesContainer object.
public TodoEntitiesContainer ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
return System

TodoEntitiesContainer() public method

Initialize a new TodoEntitiesContainer object.
public TodoEntitiesContainer ( string connectionString ) : System
connectionString string
return System