using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace IWareDataAccess.Helper { public class AttributeHelper { /// /// 获取特性【非数据库字段过滤属性】 /// /// /// /// /// public static object[] GetNoDbFilterAttributeByPro(PropertyInfo pro) { object[] Attributes = pro.GetCustomAttributes(typeof(NoDbFilterAttribute), false); return Attributes; } } }