Example #1
0
 public static RequestBase FromKV <T>(Expression <Func <T, object> > expr, object value) where T : class, new()
 {
     return(FromKV(SmartCrudHelper.GetPropertyName <T>(expr), value));
 }
Example #2
0
 public static object SingleValue <T>(this DbContext connInfo, object[] pkValues, Expression <Func <T, object> > fieldName, string tableName = "", bool forUpdate = false)
 => SingleValuePrimitive <T>(connInfo, pkValues, SmartCrudHelper.GetPropertyName <T>(fieldName), tableName, forUpdate);