C# Класс ForumServer.DataLayer.ForumEntities

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

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

Метод Описание
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.

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

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

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

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

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
Результат void

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

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
Результат void

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

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
Результат void

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

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
Результат void

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

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
Результат void

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

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

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

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

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

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