C# Class persistence.Entities

No Metadata Documentation available.
Inheritance: ObjectContext
Show file Open project: TelerikAcademy/QA-Academy Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToAutomobiles() public method

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
return void

AddToRepairCards() public method

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
return void

AddToSpareParts() public method

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
return void

AddToaspnet_Roles() public method

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
return void

AddToaspnet_Users() public method

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
return void

Entities() public method

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

Entities() public method

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

Entities() public method

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