C# 클래스 CapRaffle.Domain.Model.CapRaffleContext

No Metadata Documentation available.
상속: ObjectContext
파일 보기 프로젝트 열기: capgemini-stavanger/CapRaffle 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

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