Ejemplo n.º 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));
 }
Ejemplo n.º 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);
 }