示例#1
0
 internal void InitVars(bool initTable) {
     this.tableCompanyList = ((CompanyListDataTable)(base.Tables["CompanyList"]));
     if ((initTable == true)) {
         if ((this.tableCompanyList != null)) {
             this.tableCompanyList.InitVars();
         }
     }
     this.tableCompanyDetail = ((CompanyDetailDataTable)(base.Tables["CompanyDetail"]));
     if ((initTable == true)) {
         if ((this.tableCompanyDetail != null)) {
             this.tableCompanyDetail.InitVars();
         }
     }
     this.tableCompanyNameList = ((CompanyNameListDataTable)(base.Tables["CompanyNameList"]));
     if ((initTable == true)) {
         if ((this.tableCompanyNameList != null)) {
             this.tableCompanyNameList.InitVars();
         }
     }
     this.tableHotelList = ((HotelListDataTable)(base.Tables["HotelList"]));
     if ((initTable == true)) {
         if ((this.tableHotelList != null)) {
             this.tableHotelList.InitVars();
         }
     }
     this.tableAgentList = ((AgentListDataTable)(base.Tables["AgentList"]));
     if ((initTable == true)) {
         if ((this.tableAgentList != null)) {
             this.tableAgentList.InitVars();
         }
     }
 }
示例#2
0
 private void InitClass() {
     this.DataSetName = "DS_Companys";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DS_Companys.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableCompanyList = new CompanyListDataTable();
     base.Tables.Add(this.tableCompanyList);
     this.tableCompanyDetail = new CompanyDetailDataTable();
     base.Tables.Add(this.tableCompanyDetail);
     this.tableCompanyNameList = new CompanyNameListDataTable();
     base.Tables.Add(this.tableCompanyNameList);
     this.tableHotelList = new HotelListDataTable();
     base.Tables.Add(this.tableHotelList);
     this.tableAgentList = new AgentListDataTable();
     base.Tables.Add(this.tableAgentList);
 }
示例#3
0
 internal CompanyListRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableCompanyList = ((CompanyListDataTable)(this.Table));
 }