C# Class EntityFramework.Triggers.DbContextWithTriggers

A DbContext-derived class with trigger functionality called automatically
Inheritance: DbContext
Show file Open project: NickStrupat/EntityFramework.Triggers

Public Methods

Method Description
SaveChanges ( ) : Int32
SaveChanges ( System.Boolean acceptAllChangesOnSuccess ) : Int32
SaveChangesAsync ( System.Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken = default(CancellationToken) ) : Task
SaveChangesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task

Protected Methods

Method Description
DbContextWithTriggers ( ) : System
DbContextWithTriggers ( DbCompiledModel model ) : System
DbContextWithTriggers ( DbConnection existingConnection, System.Boolean contextOwnsConnection ) : System
DbContextWithTriggers ( DbConnection existingConnection, DbCompiledModel model, System.Boolean contextOwnsConnection ) : System
DbContextWithTriggers ( DbContextOptions options ) : System
DbContextWithTriggers ( ObjectContext objectContext, System.Boolean dbContextOwnsObjectContext ) : System
DbContextWithTriggers ( String nameOrConnectionString ) : System
DbContextWithTriggers ( String nameOrConnectionString, DbCompiledModel model ) : System

Method Details

DbContextWithTriggers() protected method

protected DbContextWithTriggers ( ) : System
return System

DbContextWithTriggers() protected method

protected DbContextWithTriggers ( DbCompiledModel model ) : System
model DbCompiledModel
return System

DbContextWithTriggers() protected method

protected DbContextWithTriggers ( DbConnection existingConnection, System.Boolean contextOwnsConnection ) : System
existingConnection DbConnection
contextOwnsConnection System.Boolean
return System

DbContextWithTriggers() protected method

protected DbContextWithTriggers ( DbConnection existingConnection, DbCompiledModel model, System.Boolean contextOwnsConnection ) : System
existingConnection DbConnection
model DbCompiledModel
contextOwnsConnection System.Boolean
return System

DbContextWithTriggers() protected method

protected DbContextWithTriggers ( DbContextOptions options ) : System
options DbContextOptions
return System

DbContextWithTriggers() protected method

protected DbContextWithTriggers ( ObjectContext objectContext, System.Boolean dbContextOwnsObjectContext ) : System
objectContext ObjectContext
dbContextOwnsObjectContext System.Boolean
return System

DbContextWithTriggers() protected method

protected DbContextWithTriggers ( String nameOrConnectionString ) : System
nameOrConnectionString String
return System

DbContextWithTriggers() protected method

protected DbContextWithTriggers ( String nameOrConnectionString, DbCompiledModel model ) : System
nameOrConnectionString String
model DbCompiledModel
return System

SaveChanges() public method

public SaveChanges ( ) : Int32
return System.Int32

SaveChanges() public method

public SaveChanges ( System.Boolean acceptAllChangesOnSuccess ) : Int32
acceptAllChangesOnSuccess System.Boolean
return System.Int32

SaveChangesAsync() public method

public SaveChangesAsync ( System.Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken = default(CancellationToken) ) : Task
acceptAllChangesOnSuccess System.Boolean
cancellationToken System.Threading.CancellationToken
return Task

SaveChangesAsync() public method

public SaveChangesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
return Task