Method | Description | |
---|---|---|
AddController ( IBusinessRulesController controller ) : void |
Adds a new BusinessController to the DbContext
|
|
ContainsController ( IBusinessRulesController controller ) : bool |
Checks if a BusinessController exists
|
|
RemoveController ( IBusinessRulesController controller ) : void |
Removes a new BusinessController to the DbContext
|
|
SaveChanges ( ) : int |
Save Changes and run all the business controllers
|
|
SaveChangesAsync ( ) : Task |
Save Changes Async and run all the business controllers
|
|
SaveChangesAsync ( |
Save Changes Async and run all the business controllers
|
Method | Description | |
---|---|---|
BusinessDbContext ( ) : System.Collections.Generic |
Instances a new DbContext
|
|
BusinessDbContext ( |
Instances a new DbContext with a DbConnection
|
|
BusinessDbContext ( string connectionName ) : System.Collections.Generic |
Instances a new DbContext with a connection name
|
Method | Description | |
---|---|---|
RunBusinessRules ( ) : void |
public AddController ( IBusinessRulesController controller ) : void | ||
controller | IBusinessRulesController | |
return | void |
protected BusinessDbContext ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
protected BusinessDbContext ( |
||
dbConnection | ||
contextOwnsConnection | bool | |
return | System.Collections.Generic |
protected BusinessDbContext ( string connectionName ) : System.Collections.Generic | ||
connectionName | string | |
return | System.Collections.Generic |
public ContainsController ( IBusinessRulesController controller ) : bool | ||
controller | IBusinessRulesController | |
return | bool |
public RemoveController ( IBusinessRulesController controller ) : void | ||
controller | IBusinessRulesController | |
return | void |
public SaveChangesAsync ( |
||
cancellationToken | ||
return | Task |