mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update DataFilterModel
This commit is contained in:
parent
6b760270ae
commit
cc25a51445
@ -30,6 +30,14 @@ namespace SqlSugar
|
||||
}
|
||||
this.EntityColumnInfo.PropertyInfo.SetValue(EntityValue, value);
|
||||
}
|
||||
public bool IsAnyAttribute<T>() where T : Attribute
|
||||
{
|
||||
return this.EntityColumnInfo.PropertyInfo.GetCustomAttribute<T>() != null;
|
||||
}
|
||||
public T GetAttribute<T>() where T : Attribute
|
||||
{
|
||||
return this.EntityColumnInfo.PropertyInfo.GetCustomAttribute<T>();
|
||||
}
|
||||
}
|
||||
public class DataAfterModel
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user