C# Class CapRaffle.Domain.Model.CapRaffleContext

No Metadata Documentation available.
Inheritance: ObjectContext
Afficher le fichier Open project: capgemini-stavanger/CapRaffle Class Usage Examples

Méthodes publiques

Méthode 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.

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

Méthode Description
OnContextCreated ( ) : void

Method Details

AddToCategories() public méthode

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
Résultat void

AddToEvents() public méthode

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
Résultat void

AddToRuleSets() public méthode

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
Résultat void

AddToRules() public méthode

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
Résultat void

AddToUserEvents() public méthode

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
Résultat void

AddToUsers() public méthode

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
Résultat void

AddToWinners() public méthode

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
Résultat void

CapRaffleContext() public méthode

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

CapRaffleContext() public méthode

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

CapRaffleContext() public méthode

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