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

            return(ExecutePropertySetCall(type, propertyInfo.Name, () =>
            {
                return ReflectionGenericHelper.PropertySetCall <T>(propertyInfo, reflectionType);
            }, reflectionType));
        }