コード例 #1
0
 internal void InitVars(bool initTable) {
     this.tableLFS_PROJECT_TIME = ((LFS_PROJECT_TIMEDataTable)(base.Tables["LFS_PROJECT_TIME"]));
     if ((initTable == true)) {
         if ((this.tableLFS_PROJECT_TIME != null)) {
             this.tableLFS_PROJECT_TIME.InitVars();
         }
     }
     this.tableLFS_UNIT = ((LFS_UNITDataTable)(base.Tables["LFS_UNIT"]));
     if ((initTable == true)) {
         if ((this.tableLFS_UNIT != null)) {
             this.tableLFS_UNIT.InitVars();
         }
     }
     this.tableLFS_TOWED = ((LFS_TOWEDDataTable)(base.Tables["LFS_TOWED"]));
     if ((initTable == true)) {
         if ((this.tableLFS_TOWED != null)) {
             this.tableLFS_TOWED.InitVars();
         }
     }
     this.relationFK_LFS_PROJECT_TIME_LFS_UNIT = this.Relations["FK_LFS_PROJECT_TIME_LFS_UNIT"];
     this.relationFK_LFS_PROJECT_TIME_LFS_UNIT11 = this.Relations["FK_LFS_PROJECT_TIME_LFS_UNIT11"];
 }
コード例 #2
0
 private void InitClass() {
     this.DataSetName = "PrintLogsOver15HoursTDS";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/PrintLogsOver15HoursTDS.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableLFS_PROJECT_TIME = new LFS_PROJECT_TIMEDataTable();
     base.Tables.Add(this.tableLFS_PROJECT_TIME);
     this.tableLFS_UNIT = new LFS_UNITDataTable();
     base.Tables.Add(this.tableLFS_UNIT);
     this.tableLFS_TOWED = new LFS_TOWEDDataTable();
     base.Tables.Add(this.tableLFS_TOWED);
     this.relationFK_LFS_PROJECT_TIME_LFS_UNIT = new global::System.Data.DataRelation("FK_LFS_PROJECT_TIME_LFS_UNIT", new global::System.Data.DataColumn[] {
                 this.tableLFS_UNIT.UnitIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_PROJECT_TIME.UnitIDColumn}, false);
     this.Relations.Add(this.relationFK_LFS_PROJECT_TIME_LFS_UNIT);
     this.relationFK_LFS_PROJECT_TIME_LFS_UNIT11 = new global::System.Data.DataRelation("FK_LFS_PROJECT_TIME_LFS_UNIT11", new global::System.Data.DataColumn[] {
                 this.tableLFS_TOWED.UnitIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_PROJECT_TIME.TowedUnitIDColumn}, false);
     this.Relations.Add(this.relationFK_LFS_PROJECT_TIME_LFS_UNIT11);
 }
コード例 #3
0
 internal LFS_TOWEDRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableLFS_TOWED = ((LFS_TOWEDDataTable)(this.Table));
 }