C# Class Saimoe.Models.SaimoeContext

No Metadata Documentation available.
Inheritance: ObjectContext
Show file Open project: quietlynn/gplus.saimoe Class Usage Examples

Public Methods

Method 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

Method Description
OnContextCreated ( ) : void

Method Details

AddToAdministrators() public method

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
return void

AddToContestants() public method

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
return void

AddToContests() public method

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
return void

AddToGroupings() public method

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
return void

AddToProfiles() public method

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
return void

AddToUserCaches() public method

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
return void

AddToVotes() public method

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
return void

SaimoeContext() public method

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

SaimoeContext() public method

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

SaimoeContext() public method

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