C# Class CapRaffle.PopulateDatabase.CapRaffleContext

No Metadata Documentation available.
Inheritance: ObjectContext
Datei anzeigen Open project: capgemini-stavanger/CapRaffle Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToCategories() public method

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

AddToEvents() public method

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

AddToRuleSets() public method

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

AddToRules() public method

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

AddToUserEvents() public method

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

AddToUsers() public method

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

AddToWinners() public method

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

AddTosysdiagrams() public method

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

CapRaffleContext() public method

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

CapRaffleContext() public method

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

CapRaffleContext() public method

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