C# Class TPTConsole.Model.TPTEntities

Datei anzeigen Open project: FalafelSoftwareInc/TPTConsole Class Usage Examples

Private Properties

Property Type Description
OnContextCreated void

Public Methods

Method Description
AddToAllegiances ( Allegiance allegiance ) : void

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

AddToSentients ( Sentient sentient ) : void

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

TPTEntities ( ) : System

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

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

Initialize a new TPTEntities object.

TPTEntities ( string connectionString ) : System

Initialize a new TPTEntities object.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToAllegiances() public method

Deprecated Method for adding a new object to the Allegiances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToAllegiances ( Allegiance allegiance ) : void
allegiance Allegiance
return void

AddToSentients() public method

Deprecated Method for adding a new object to the Sentients EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToSentients ( Sentient sentient ) : void
sentient Sentient
return void

TPTEntities() public method

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

TPTEntities() public method

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

TPTEntities() public method

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