C# Class EntityFramework.Triggers.Extensions

ファイルを表示 Open project: NickStrupat/EntityFramework.Triggers

Public Methods

Method Description
SaveChangesWithTriggers ( this dbContext, Int32>.Func baseSaveChanges, System.Boolean acceptAllChangesOnSuccess = true ) : Int32
SaveChangesWithTriggers ( this dbContext, Func baseSaveChanges ) : Int32
SaveChangesWithTriggersAsync ( this dbContext, Func baseSaveChangesAsync, System.Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken = default(CancellationToken) ) : Task
SaveChangesWithTriggersAsync ( this dbContext, Func baseSaveChangesAsync, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Method Details

SaveChangesWithTriggers() public static method

public static SaveChangesWithTriggers ( this dbContext, Int32>.Func baseSaveChanges, System.Boolean acceptAllChangesOnSuccess = true ) : Int32
dbContext this
baseSaveChanges Int32>.Func
acceptAllChangesOnSuccess System.Boolean
return System.Int32

SaveChangesWithTriggers() public static method

public static SaveChangesWithTriggers ( this dbContext, Func baseSaveChanges ) : Int32
dbContext this
baseSaveChanges Func
return System.Int32

SaveChangesWithTriggersAsync() public static method

public static SaveChangesWithTriggersAsync ( this dbContext, Func baseSaveChangesAsync, System.Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken = default(CancellationToken) ) : Task
dbContext this
baseSaveChangesAsync Func
acceptAllChangesOnSuccess System.Boolean
cancellationToken System.Threading.CancellationToken A to observe while waiting for the task to complete.
return Task

SaveChangesWithTriggersAsync() public static method

public static SaveChangesWithTriggersAsync ( this dbContext, Func baseSaveChangesAsync, CancellationToken cancellationToken = default(CancellationToken) ) : Task
dbContext this
baseSaveChangesAsync Func
cancellationToken System.Threading.CancellationToken
return Task