Пример #1
0
        public SQL()
        {
            keypdesces            = new BindingList <PropertyDesc>();
            anctdesces            = new BindingList <PropertyDesc>();
            rundatadesces         = new BindingList <PropertyDesc>();
            planningdesces        = new BindingList <PropertyDesc>();
            toposubordinatedesces = new BindingList <PropertyDesc>();
            toporelationdesces    = new BindingList <PropertyDesc>();

            acntTableRelation     = new TableRelation();
            rundataTableRelation  = new TableRelation();
            planningTableRelation = new TableRelation();

            acntInsert = new BindingList <string>();
            acntUpdate = new BindingList <string>();
            acntDelete = new BindingList <string>();

            simRunDataFields  = new BindingList <FieldDesc>();
            simPlanningFields = new BindingList <FieldDesc>();

            acntfreedesces = new BindingList <PropertyDesc>();
            //topoReInsert = new BindingList<string>();
            //topoReUpdate = new BindingList<string>();
            //topoReDelete = new BindingList<string>();
            //topoSuInsert = new BindingList<string>();
            //topoSuUpdate = new BindingList<string>();
            //topoSuDelete = new BindingList<string>();
        }
Пример #2
0
 public WinTableRelationSetup(List <TableDesc> Tables, TableRelation trelation, ETableRelationType relationtype)
 {
     tablerelationtype = relationtype;
     viewmodel         = new WinTableRelationSetupViewModel(Tables, trelation);
     InitializeComponent();
     this.Title = "选取设置" + relationtype.ToString() + "所用数据表";
 }
Пример #3
0
 public EXTOPO()
 {
     topoTableRelation = new TableRelation();
     topoexpanddesces  = new BindingList <PropertyDesc>();
 }
Пример #4
0
 public WinTableRelationSetupViewModel(List <TableDesc> Tables, TableRelation tRelation)
 {
     tables        = Tables;
     tableRelation = tRelation;
 }