C# Class ForumServer.DataLayer.ForumEntities

No Metadata Documentation available.
Inheritance: ObjectContext
ファイルを表示 Open project: sagioto/forum Class Usage Examples

Public Methods

Method Description
AddToModeratorEntities ( ModeratorEntity moderatorEntity ) : void

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

AddToPostEntities ( PostEntity postEntity ) : void

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

AddToPostKeyEntities ( PostKeyEntity postKeyEntity ) : void

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

AddToSubforumEntities ( SubforumEntity subforumEntity ) : void

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

AddToUserEntities ( UserEntity userEntity ) : void

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

ForumEntities ( ) : System

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

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

Initialize a new ForumEntities object.

ForumEntities ( string connectionString ) : System

Initialize a new ForumEntities object.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToModeratorEntities() public method

Deprecated Method for adding a new object to the ModeratorEntities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToModeratorEntities ( ModeratorEntity moderatorEntity ) : void
moderatorEntity ModeratorEntity
return void

AddToPostEntities() public method

Deprecated Method for adding a new object to the PostEntities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToPostEntities ( PostEntity postEntity ) : void
postEntity PostEntity
return void

AddToPostKeyEntities() public method

Deprecated Method for adding a new object to the PostKeyEntities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToPostKeyEntities ( PostKeyEntity postKeyEntity ) : void
postKeyEntity PostKeyEntity
return void

AddToSubforumEntities() public method

Deprecated Method for adding a new object to the SubforumEntities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToSubforumEntities ( SubforumEntity subforumEntity ) : void
subforumEntity SubforumEntity
return void

AddToUserEntities() public method

Deprecated Method for adding a new object to the UserEntities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToUserEntities ( UserEntity userEntity ) : void
userEntity UserEntity
return void

ForumEntities() public method

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

ForumEntities() public method

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

ForumEntities() public method

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