Files
Yi.Admin/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore.Abstractions/ISqlSugarDbContextDependencies.cs

21 lines
654 B
C#
Raw Normal View History

2024-11-18 00:03:20 +08:00
using System.Reflection;
using SqlSugar;
2024-11-19 16:36:33 +08:00
namespace Yi.Framework.SqlSugarCore.Abstractions;
2024-11-18 00:03:20 +08:00
public interface ISqlSugarDbContextDependencies
{
2024-11-19 12:05:26 +08:00
/// <summary>
/// 执行顺序
/// </summary>
int ExecutionOrder { get; }
2024-11-19 11:53:57 +08:00
void OnSqlSugarClientConfig(ISqlSugarClient sqlSugarClient);
void DataExecuted(object oldValue, DataAfterModel entityInfo);
void DataExecuting(object oldValue, DataFilterModel entityInfo);
2024-11-18 00:03:20 +08:00
2024-11-19 11:53:57 +08:00
void OnLogExecuting(string sql, SugarParameter[] pars);
void OnLogExecuted(string sql, SugarParameter[] pars);
2024-11-18 00:03:20 +08:00
void EntityService(PropertyInfo propertyInfo, EntityColumnInfo entityColumnInfo);
}