C# Класс CapRaffle.PopulateDatabase.CapRaffleContext

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

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

Метод Описание
AddToCategories ( Category category ) : void

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

AddToEvents ( Event @event ) : void

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

AddToRuleSets ( RuleSet ruleSet ) : void

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

AddToRules ( Rule rule ) : void

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

AddToUserEvents ( UserEvent userEvent ) : void

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

AddToUsers ( User user ) : void

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

AddToWinners ( Winner winner ) : void

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

AddTosysdiagrams ( sysdiagram sysdiagram ) : void

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

CapRaffleContext ( ) : System

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

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

Initialize a new CapRaffleContext object.

CapRaffleContext ( string connectionString ) : System

Initialize a new CapRaffleContext object.

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

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

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

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

Deprecated Method for adding a new object to the Categories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToCategories ( Category category ) : void
category Category
Результат void

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

Deprecated Method for adding a new object to the Events EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToEvents ( Event @event ) : void
@event Event
Результат void

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

Deprecated Method for adding a new object to the RuleSets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToRuleSets ( RuleSet ruleSet ) : void
ruleSet RuleSet
Результат void

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

Deprecated Method for adding a new object to the Rules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToRules ( Rule rule ) : void
rule Rule
Результат void

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

Deprecated Method for adding a new object to the UserEvents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToUserEvents ( UserEvent userEvent ) : void
userEvent UserEvent
Результат void

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

Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToUsers ( User user ) : void
user User
Результат void

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

Deprecated Method for adding a new object to the Winners EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToWinners ( Winner winner ) : void
winner Winner
Результат void

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

Deprecated Method for adding a new object to the sysdiagrams EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddTosysdiagrams ( sysdiagram sysdiagram ) : void
sysdiagram sysdiagram
Результат void

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

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

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

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

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

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