Méthode | Description | |
---|---|---|
AddToCompanies ( |
Deprecated Method for adding a new object to the Companies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
|
|
AddToDeletedItems ( |
Deprecated Method for adding a new object to the DeletedItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
|
|
AddToPeople ( |
Deprecated Method for adding a new object to the People EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
|
|
SampleDbContext ( ) : System |
Initializes a new SampleDbContext object using the connection string found in the 'SampleDbContext' section of the application configuration file.
|
|
SampleDbContext ( System.Data.EntityClient.EntityConnection connection ) : System |
Initialize a new SampleDbContext object.
|
|
SampleDbContext ( string connectionString ) : System |
Initialize a new SampleDbContext object.
|
Méthode | Description | |
---|---|---|
OnContextCreated ( ) : void |
public AddToCompanies ( |
||
company | ||
Résultat | void |
public AddToDeletedItems ( |
||
deletedItem | ||
Résultat | void |
public AddToPeople ( |
||
person | ||
Résultat | void |
public SampleDbContext ( System.Data.EntityClient.EntityConnection connection ) : System | ||
connection | System.Data.EntityClient.EntityConnection | |
Résultat | System |
public SampleDbContext ( string connectionString ) : System | ||
connectionString | string | |
Résultat | System |