C# Класс WebServer.Models.DocumentDataModelContainer

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

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

Метод Описание
AddToDocumentOutputs ( DocumentOutput documentOutput ) : void

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

AddToDocuments ( Document document ) : void

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

DocumentDataModelContainer ( ) : System

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

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

Initialize a new DocumentDataModelContainer object.

DocumentDataModelContainer ( string connectionString ) : System

Initialize a new DocumentDataModelContainer object.

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

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

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

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

Deprecated Method for adding a new object to the DocumentOutputs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToDocumentOutputs ( DocumentOutput documentOutput ) : void
documentOutput DocumentOutput
Результат void

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

Deprecated Method for adding a new object to the Documents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToDocuments ( Document document ) : void
document Document
Результат void

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

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

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

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

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

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