Пример #1
0
 private void InitClass() {
     this.DataSetName = "Employee";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Employee.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableDesignationMaster = new DesignationMasterDataTable();
     base.Tables.Add(this.tableDesignationMaster);
     this.tableDepartmentMaster = new DepartmentMasterDataTable();
     base.Tables.Add(this.tableDepartmentMaster);
     this.tableQualificationMaster = new QualificationMasterDataTable();
     base.Tables.Add(this.tableQualificationMaster);
     this.tableEmployeeMaster = new EmployeeMasterDataTable();
     base.Tables.Add(this.tableEmployeeMaster);
     this.tableEmployeeQualifications = new EmployeeQualificationsDataTable();
     base.Tables.Add(this.tableEmployeeQualifications);
     this.relationFK_EmployeeMaster_DepartmentMaster1 = new global::System.Data.DataRelation("FK_EmployeeMaster_DepartmentMaster1", new global::System.Data.DataColumn[] {
                 this.tableDepartmentMaster.DepartmentIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableEmployeeMaster.DepartmentIDColumn}, false);
     this.Relations.Add(this.relationFK_EmployeeMaster_DepartmentMaster1);
     this.relationFK_EmployeeMaster_DesignationMaster = new global::System.Data.DataRelation("FK_EmployeeMaster_DesignationMaster", new global::System.Data.DataColumn[] {
                 this.tableDesignationMaster.DesignationIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableEmployeeMaster.DesignationIDColumn}, false);
     this.Relations.Add(this.relationFK_EmployeeMaster_DesignationMaster);
     this.relationFK_EmployeeQualifications_EmployeeMaster = new global::System.Data.DataRelation("FK_EmployeeQualifications_EmployeeMaster", new global::System.Data.DataColumn[] {
                 this.tableEmployeeMaster.EmployeeIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableEmployeeQualifications.EmployeeIDColumn}, false);
     this.Relations.Add(this.relationFK_EmployeeQualifications_EmployeeMaster);
     this.relationFK_EmployeeQualifications_QualificationMaster = new global::System.Data.DataRelation("FK_EmployeeQualifications_QualificationMaster", new global::System.Data.DataColumn[] {
                 this.tableQualificationMaster.QualificationIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableEmployeeQualifications.QualificationIDColumn}, false);
     this.Relations.Add(this.relationFK_EmployeeQualifications_QualificationMaster);
 }
Пример #2
0
 internal EmployeeQualificationsRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableEmployeeQualifications = ((EmployeeQualificationsDataTable)(this.Table));
 }
Пример #3
0
 internal void InitVars(bool initTable) {
     this.tableDesignationMaster = ((DesignationMasterDataTable)(base.Tables["DesignationMaster"]));
     if ((initTable == true)) {
         if ((this.tableDesignationMaster != null)) {
             this.tableDesignationMaster.InitVars();
         }
     }
     this.tableDepartmentMaster = ((DepartmentMasterDataTable)(base.Tables["DepartmentMaster"]));
     if ((initTable == true)) {
         if ((this.tableDepartmentMaster != null)) {
             this.tableDepartmentMaster.InitVars();
         }
     }
     this.tableQualificationMaster = ((QualificationMasterDataTable)(base.Tables["QualificationMaster"]));
     if ((initTable == true)) {
         if ((this.tableQualificationMaster != null)) {
             this.tableQualificationMaster.InitVars();
         }
     }
     this.tableEmployeeMaster = ((EmployeeMasterDataTable)(base.Tables["EmployeeMaster"]));
     if ((initTable == true)) {
         if ((this.tableEmployeeMaster != null)) {
             this.tableEmployeeMaster.InitVars();
         }
     }
     this.tableEmployeeQualifications = ((EmployeeQualificationsDataTable)(base.Tables["EmployeeQualifications"]));
     if ((initTable == true)) {
         if ((this.tableEmployeeQualifications != null)) {
             this.tableEmployeeQualifications.InitVars();
         }
     }
     this.relationFK_EmployeeMaster_DepartmentMaster1 = this.Relations["FK_EmployeeMaster_DepartmentMaster1"];
     this.relationFK_EmployeeMaster_DesignationMaster = this.Relations["FK_EmployeeMaster_DesignationMaster"];
     this.relationFK_EmployeeQualifications_EmployeeMaster = this.Relations["FK_EmployeeQualifications_EmployeeMaster"];
     this.relationFK_EmployeeQualifications_QualificationMaster = this.Relations["FK_EmployeeQualifications_QualificationMaster"];
 }