示例#1
0
 /// <summary>
 /// 生成字段字符串
 /// </summary>
 /// <param name="needField"></param>
 /// <returns></returns>
 public static string GetFieldString(NeedField needField)
 {
     return(String.Format("{0}.[{1}] AS {2},", needField.TableName, needField.FieldName, needField.VariableName));
 }
示例#2
0
 /// <summary>
 /// 生成字段字符串
 /// </summary>
 /// <param name="needField"></param>
 /// <returns></returns>
 public static string GetFieldString(NeedField needField)
 {
     return String.Format("{0}.[{1}] AS {2},", needField.TableName, needField.FieldName, needField.VariableName);
 }