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