C# Class Saimoe.Models.SaimoeContext

No Metadata Documentation available.
Inheritance: ObjectContext
Afficher le fichier Open project: quietlynn/gplus.saimoe Class Usage Examples

Méthodes publiques

Méthode Description
AddToAdministrators ( Administrator administrator ) : void

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

AddToContestants ( Contestant contestant ) : void

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

AddToContests ( Contest contest ) : void

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

AddToGroupings ( Grouping grouping ) : void

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

AddToProfiles ( Profile profile ) : void

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

AddToUserCaches ( UserCache userCache ) : void

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

AddToVotes ( Vote vote ) : void

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

SaimoeContext ( ) : System

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

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

Initialize a new SaimoeContext object.

SaimoeContext ( string connectionString ) : System

Initialize a new SaimoeContext object.

Private Methods

Méthode Description
OnContextCreated ( ) : void

Method Details

AddToAdministrators() public méthode

Deprecated Method for adding a new object to the Administrators EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToAdministrators ( Administrator administrator ) : void
administrator Administrator
Résultat void

AddToContestants() public méthode

Deprecated Method for adding a new object to the Contestants EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToContestants ( Contestant contestant ) : void
contestant Contestant
Résultat void

AddToContests() public méthode

Deprecated Method for adding a new object to the Contests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToContests ( Contest contest ) : void
contest Contest
Résultat void

AddToGroupings() public méthode

Deprecated Method for adding a new object to the Groupings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToGroupings ( Grouping grouping ) : void
grouping Grouping
Résultat void

AddToProfiles() public méthode

Deprecated Method for adding a new object to the Profiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToProfiles ( Profile profile ) : void
profile Profile
Résultat void

AddToUserCaches() public méthode

Deprecated Method for adding a new object to the UserCaches EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToUserCaches ( UserCache userCache ) : void
userCache UserCache
Résultat void

AddToVotes() public méthode

Deprecated Method for adding a new object to the Votes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToVotes ( Vote vote ) : void
vote Vote
Résultat void

SaimoeContext() public méthode

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

SaimoeContext() public méthode

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

SaimoeContext() public méthode

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