C# Class Todo.TodoEntitiesContainer

No Metadata Documentation available.
Inheritance: ObjectContext
Afficher le fichier Open project: artigat1/TodoAppWithBackboneRequireAndMVC

Méthodes publiques

Méthode 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

Méthode Description
OnContextCreated ( ) : void

Method Details

AddToTodoSet() public méthode

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
Résultat void

TodoEntitiesContainer() public méthode

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

TodoEntitiesContainer() public méthode

Initialize a new TodoEntitiesContainer object.
public TodoEntitiesContainer ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
Résultat System

TodoEntitiesContainer() public méthode

Initialize a new TodoEntitiesContainer object.
public TodoEntitiesContainer ( string connectionString ) : System
connectionString string
Résultat System