mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 修复 postgresql 12 移除 pg_attrdef.adsrc 列,导致 CodeFirst 方法失败的 bug;
- 增加 Aop.ConfigEntity 属性 ModifyIndexResult 现实 IndexAttribute 的设置;
This commit is contained in:
@ -115,6 +115,7 @@ namespace FreeSql.Aop
|
||||
{
|
||||
this.EntityType = entityType;
|
||||
this.ModifyResult = new TableAttribute();
|
||||
this.ModifyIndexResult = new List<IndexAttribute>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -125,6 +126,10 @@ namespace FreeSql.Aop
|
||||
/// 实体配置
|
||||
/// </summary>
|
||||
public TableAttribute ModifyResult { get; }
|
||||
/// <summary>
|
||||
/// 索引配置
|
||||
/// </summary>
|
||||
public List<IndexAttribute> ModifyIndexResult { get; }
|
||||
}
|
||||
public class ConfigEntityPropertyEventArgs : EventArgs
|
||||
{
|
||||
|
Reference in New Issue
Block a user