private static string GetColumnName(Expression left) { return(MyReflection.GetColName(left)); }
/// <summary> /// 获取lamda表达式中指定属性定义的列名(比如: string colName = Filter.ColumnName(e => e.Name)) /// </summary> public static string GetColName <T>(Expression <GetProperty <T> > property) { return(MyReflection.GetColName(property)); }