FengYun.NPoco.Data by zhaixd

<PackageReference Include="FengYun.NPoco.Data" Version="1.1.0" />

 NPocoDataBaseExtensions

public static class NPocoDataBaseExtensions
数据库回话事件监听 author:zhaixd datetime:2016.12.05
public static INPocoDataBase OnDeleting(this INPocoDataBase database, Func<DeleteContext, bool> func)

public static INPocoDataBase OnException(this INPocoDataBase database, Action<Exception> action)

public static INPocoDataBase OnExecutingCommand(this INPocoDataBase database, Action<DbCommand> action)

public static INPocoDataBase OnInserting(this INPocoDataBase database, Func<InsertContext, bool> func)

public static INPocoDataBase OnUpdating(this INPocoDataBase database, Func<UpdateContext, bool> func)