C# Класс persistence.Entities

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

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

Метод Описание
AddToAutomobiles ( Automobile automobile ) : void

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

AddToRepairCards ( RepairCard repairCard ) : void

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

AddToSpareParts ( SparePart sparePart ) : void

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

AddToaspnet_Roles ( aspnet_Roles aspnet_Roles ) : void

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

AddToaspnet_Users ( aspnet_Users aspnet_Users ) : void

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

Entities ( ) : System

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

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

Initialize a new Entities object.

Entities ( string connectionString ) : System

Initialize a new Entities object.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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