/// <summary> /// 获取类属性的设置值委托列表 /// </summary> /// <param name="type">Type</param> /// <param name="reflectionType">反射类型</param> /// <returns></returns> public static dynamic PropertySetCallDict(Type type, ReflectionTypeEnum reflectionType = ReflectionTypeEnum.Expression) { return(ExecutePropertySetCall(type, () => { return ReflectionGenericHelper.PropertySetCallDict(type, reflectionType); }, reflectionType)); }
/// <summary> /// 获取类属性的设置值委托列表 /// </summary> /// <typeparam name="T">实体类型</typeparam> /// <param name="reflectionType">反射类型</param> /// <returns></returns> public static dynamic PropertySetCallDict <T>(ReflectionTypeEnum reflectionType = ReflectionTypeEnum.Expression) where T : class { Type type = typeof(T); return(ExecutePropertySetCall(type, () => { return ReflectionGenericHelper.PropertySetCallDict <T>(reflectionType); }, reflectionType)); }