Пример #1
0
 private void InitClass()
 {
     base.DataSetName = "TemplateDS";
     base.Prefix = "";
     base.Namespace = "http://tempuri.org/TemplateDS.xsd";
     base.EnforceConstraints = true;
     this.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
     this.tableTemplateProperty = new TemplateDS.TemplatePropertyDataTable();
     base.Tables.Add(this.tableTemplateProperty);
     this.tableFormInfo = new TemplateDS.FormInfoDataTable();
     base.Tables.Add(this.tableFormInfo);
     this.tableFormProperty = new TemplateDS.FormPropertyDataTable();
     base.Tables.Add(this.tableFormProperty);
     this.tableFormRememberField = new TemplateDS.FormRememberFieldDataTable();
     base.Tables.Add(this.tableFormRememberField);
 }
Пример #2
0
 internal FormInfoRow(DataRowBuilder rb)
     : base(rb)
 {
     this.tableFormInfo = (TemplateDS.FormInfoDataTable)base.Table;
 }
Пример #3
0
 internal void InitVars(bool initTable)
 {
     this.tableTemplateProperty = (TemplateDS.TemplatePropertyDataTable)base.Tables["TemplateProperty"];
     if (initTable)
     {
         if (this.tableTemplateProperty != null)
         {
             this.tableTemplateProperty.InitVars();
         }
     }
     this.tableFormInfo = (TemplateDS.FormInfoDataTable)base.Tables["FormInfo"];
     if (initTable)
     {
         if (this.tableFormInfo != null)
         {
             this.tableFormInfo.InitVars();
         }
     }
     this.tableFormProperty = (TemplateDS.FormPropertyDataTable)base.Tables["FormProperty"];
     if (initTable)
     {
         if (this.tableFormProperty != null)
         {
             this.tableFormProperty.InitVars();
         }
     }
     this.tableFormRememberField = (TemplateDS.FormRememberFieldDataTable)base.Tables["FormRememberField"];
     if (initTable)
     {
         if (this.tableFormRememberField != null)
         {
             this.tableFormRememberField.InitVars();
         }
     }
 }