C# Класс Saimoe.Models.SaimoeContext

No Metadata Documentation available.
Наследование: ObjectContext
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
OnContextCreated ( ) : void

Описание методов

AddToAdministrators() публичный Метод

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
Результат void

AddToContestants() публичный Метод

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
Результат void

AddToContests() публичный Метод

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
Результат void

AddToGroupings() публичный Метод

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
Результат void

AddToProfiles() публичный Метод

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
Результат void

AddToUserCaches() публичный Метод

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
Результат void

AddToVotes() публичный Метод

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
Результат void

SaimoeContext() публичный Метод

Initializes a new SaimoeContext object using the connection string found in the 'SaimoeContext' section of the application configuration file.
public SaimoeContext ( ) : System
Результат System

SaimoeContext() публичный Метод

Initialize a new SaimoeContext object.
public SaimoeContext ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
Результат System

SaimoeContext() публичный Метод

Initialize a new SaimoeContext object.
public SaimoeContext ( string connectionString ) : System
connectionString string
Результат System