/// <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)); }
/// <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); }