예제 #1
0
 private System.Data.SqlClient.SqlCommand GetSql(String AttachSql)
 {
     foreach (var col in this.Ins.SelectedCols.Where(p => p.DataCol.DataType == Data.PropertyType.Enum && (p.Values == null && p.Values.Count == 0)))
     {
         col.Values = this.Facotry.GetStateValues(col.DataCol);
     }
     return(SqlScriptFac.GetSql(this.Ins));
 }