示例#1
0
 public static void Add(DataRows row)
 {
     PDAConstr c = new PDAConstr(row);
     foreach (PDATable table in PDATable.tables)
     {
         if (table.Name == row.FieldByNameDef("TABLE_NAME", ""))
             table.Constr.Add(c);
     }
     constr.Add(c);
 }
示例#2
0
        public static void Add(DataRows row)
        {
            PDAConstr c = new PDAConstr(row);

            foreach (PDATable table in PDATable.tables)
            {
                if (table.Name == row.FieldByNameDef("TABLE_NAME", ""))
                {
                    table.Constr.Add(c);
                }
            }
            constr.Add(c);
        }