private void InitClass() {
     this.DataSetName = "FmViewTDS";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/FmViewTDS.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableLFS_FM_TYPE_VIEW_DISPLAY = new LFS_FM_TYPE_VIEW_DISPLAYDataTable();
     base.Tables.Add(this.tableLFS_FM_TYPE_VIEW_DISPLAY);
     this.tableLFS_FM_TYPE_VIEW_SORT = new LFS_FM_TYPE_VIEW_SORTDataTable();
     base.Tables.Add(this.tableLFS_FM_TYPE_VIEW_SORT);
     this.tableLFS_FM_TYPE_VIEW_CONDITION = new LFS_FM_TYPE_VIEW_CONDITIONDataTable();
     base.Tables.Add(this.tableLFS_FM_TYPE_VIEW_CONDITION);
     this.tableLFS_FM_VIEW = new LFS_FM_VIEWDataTable();
     base.Tables.Add(this.tableLFS_FM_VIEW);
     this.tableLFS_FM_VIEW_CONDITION = new LFS_FM_VIEW_CONDITIONDataTable();
     base.Tables.Add(this.tableLFS_FM_VIEW_CONDITION);
     this.tableLFS_FM_VIEW_DISPLAY = new LFS_FM_VIEW_DISPLAYDataTable();
     base.Tables.Add(this.tableLFS_FM_VIEW_DISPLAY);
     this.tableLFS_FM_VIEW_SORT = new LFS_FM_VIEW_SORTDataTable();
     base.Tables.Add(this.tableLFS_FM_VIEW_SORT);
     this.tableFmViewConditionTemp = new FmViewConditionTempDataTable();
     base.Tables.Add(this.tableFmViewConditionTemp);
     this.tableFmViewDisplayTemp = new FmViewDisplayTempDataTable();
     base.Tables.Add(this.tableFmViewDisplayTemp);
     this.tableFmViewSortTemp = new FmViewSortTempDataTable();
     base.Tables.Add(this.tableFmViewSortTemp);
     this.tableFmViewConditionNew = new FmViewConditionNewDataTable();
     base.Tables.Add(this.tableFmViewConditionNew);
     this.relationFK_LFS_FM_VIEW_CONDITION_LFS_FM_TYPE_VIEW_CONDITION = new global::System.Data.DataRelation("FK_LFS_FM_VIEW_CONDITION_LFS_FM_TYPE_VIEW_CONDITION", new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_TYPE_VIEW_CONDITION.FmTypeColumn,
                 this.tableLFS_FM_TYPE_VIEW_CONDITION.COMPANY_IDColumn,
                 this.tableLFS_FM_TYPE_VIEW_CONDITION.ConditionIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_VIEW_CONDITION.FmTypeColumn,
                 this.tableLFS_FM_VIEW_CONDITION.COMPANY_IDColumn,
                 this.tableLFS_FM_VIEW_CONDITION.ConditionIDColumn}, false);
     this.Relations.Add(this.relationFK_LFS_FM_VIEW_CONDITION_LFS_FM_TYPE_VIEW_CONDITION);
     this.relationFK_LFS_FM_VIEW_LFS_FM_VIEW_CONDITION = new global::System.Data.DataRelation("FK_LFS_FM_VIEW_LFS_FM_VIEW_CONDITION", new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_VIEW.ViewIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_VIEW_CONDITION.ViewIDColumn}, false);
     this.Relations.Add(this.relationFK_LFS_FM_VIEW_LFS_FM_VIEW_CONDITION);
     this.relationFK_LFS_FM_VIEW_DISPLAY_LFS_FM_TYPE_VIEW_DISPLAY = new global::System.Data.DataRelation("FK_LFS_FM_VIEW_DISPLAY_LFS_FM_TYPE_VIEW_DISPLAY", new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_TYPE_VIEW_DISPLAY.FmTypeColumn,
                 this.tableLFS_FM_TYPE_VIEW_DISPLAY.COMPANY_IDColumn,
                 this.tableLFS_FM_TYPE_VIEW_DISPLAY.DisplayIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_VIEW_DISPLAY.FmTypeColumn,
                 this.tableLFS_FM_VIEW_DISPLAY.COMPANY_IDColumn,
                 this.tableLFS_FM_VIEW_DISPLAY.DisplayIDColumn}, false);
     this.Relations.Add(this.relationFK_LFS_FM_VIEW_DISPLAY_LFS_FM_TYPE_VIEW_DISPLAY);
     this.relationFK_LFS_FM_VIEW_DISPLAY_LFS_FM_VIEW = new global::System.Data.DataRelation("FK_LFS_FM_VIEW_DISPLAY_LFS_FM_VIEW", new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_VIEW.ViewIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_VIEW_DISPLAY.ViewIDColumn}, false);
     this.Relations.Add(this.relationFK_LFS_FM_VIEW_DISPLAY_LFS_FM_VIEW);
     this.relationFK_LFS_FM_VIEW_SORT_LFS_FM_TYPE_VIEW_SORT = new global::System.Data.DataRelation("FK_LFS_FM_VIEW_SORT_LFS_FM_TYPE_VIEW_SORT", new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_TYPE_VIEW_SORT.FmTypeColumn,
                 this.tableLFS_FM_TYPE_VIEW_SORT.COMPANY_IDColumn,
                 this.tableLFS_FM_TYPE_VIEW_SORT.SortIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_VIEW_SORT.FmTypeColumn,
                 this.tableLFS_FM_VIEW_SORT.COMPANY_IDColumn,
                 this.tableLFS_FM_VIEW_SORT.SortIDColumn}, false);
     this.Relations.Add(this.relationFK_LFS_FM_VIEW_SORT_LFS_FM_TYPE_VIEW_SORT);
     this.relationFK_LFS_FM_VIEW_SORT_LFS_FM_VIEW = new global::System.Data.DataRelation("FK_LFS_FM_VIEW_SORT_LFS_FM_VIEW", new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_VIEW.ViewIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_FM_VIEW_SORT.ViewIDColumn}, false);
     this.Relations.Add(this.relationFK_LFS_FM_VIEW_SORT_LFS_FM_VIEW);
 }
 internal FmViewSortTempRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableFmViewSortTemp = ((FmViewSortTempDataTable)(this.Table));
 }
 internal void InitVars(bool initTable) {
     this.tableLFS_FM_TYPE_VIEW_DISPLAY = ((LFS_FM_TYPE_VIEW_DISPLAYDataTable)(base.Tables["LFS_FM_TYPE_VIEW_DISPLAY"]));
     if ((initTable == true)) {
         if ((this.tableLFS_FM_TYPE_VIEW_DISPLAY != null)) {
             this.tableLFS_FM_TYPE_VIEW_DISPLAY.InitVars();
         }
     }
     this.tableLFS_FM_TYPE_VIEW_SORT = ((LFS_FM_TYPE_VIEW_SORTDataTable)(base.Tables["LFS_FM_TYPE_VIEW_SORT"]));
     if ((initTable == true)) {
         if ((this.tableLFS_FM_TYPE_VIEW_SORT != null)) {
             this.tableLFS_FM_TYPE_VIEW_SORT.InitVars();
         }
     }
     this.tableLFS_FM_TYPE_VIEW_CONDITION = ((LFS_FM_TYPE_VIEW_CONDITIONDataTable)(base.Tables["LFS_FM_TYPE_VIEW_CONDITION"]));
     if ((initTable == true)) {
         if ((this.tableLFS_FM_TYPE_VIEW_CONDITION != null)) {
             this.tableLFS_FM_TYPE_VIEW_CONDITION.InitVars();
         }
     }
     this.tableLFS_FM_VIEW = ((LFS_FM_VIEWDataTable)(base.Tables["LFS_FM_VIEW"]));
     if ((initTable == true)) {
         if ((this.tableLFS_FM_VIEW != null)) {
             this.tableLFS_FM_VIEW.InitVars();
         }
     }
     this.tableLFS_FM_VIEW_CONDITION = ((LFS_FM_VIEW_CONDITIONDataTable)(base.Tables["LFS_FM_VIEW_CONDITION"]));
     if ((initTable == true)) {
         if ((this.tableLFS_FM_VIEW_CONDITION != null)) {
             this.tableLFS_FM_VIEW_CONDITION.InitVars();
         }
     }
     this.tableLFS_FM_VIEW_DISPLAY = ((LFS_FM_VIEW_DISPLAYDataTable)(base.Tables["LFS_FM_VIEW_DISPLAY"]));
     if ((initTable == true)) {
         if ((this.tableLFS_FM_VIEW_DISPLAY != null)) {
             this.tableLFS_FM_VIEW_DISPLAY.InitVars();
         }
     }
     this.tableLFS_FM_VIEW_SORT = ((LFS_FM_VIEW_SORTDataTable)(base.Tables["LFS_FM_VIEW_SORT"]));
     if ((initTable == true)) {
         if ((this.tableLFS_FM_VIEW_SORT != null)) {
             this.tableLFS_FM_VIEW_SORT.InitVars();
         }
     }
     this.tableFmViewConditionTemp = ((FmViewConditionTempDataTable)(base.Tables["FmViewConditionTemp"]));
     if ((initTable == true)) {
         if ((this.tableFmViewConditionTemp != null)) {
             this.tableFmViewConditionTemp.InitVars();
         }
     }
     this.tableFmViewDisplayTemp = ((FmViewDisplayTempDataTable)(base.Tables["FmViewDisplayTemp"]));
     if ((initTable == true)) {
         if ((this.tableFmViewDisplayTemp != null)) {
             this.tableFmViewDisplayTemp.InitVars();
         }
     }
     this.tableFmViewSortTemp = ((FmViewSortTempDataTable)(base.Tables["FmViewSortTemp"]));
     if ((initTable == true)) {
         if ((this.tableFmViewSortTemp != null)) {
             this.tableFmViewSortTemp.InitVars();
         }
     }
     this.tableFmViewConditionNew = ((FmViewConditionNewDataTable)(base.Tables["FmViewConditionNew"]));
     if ((initTable == true)) {
         if ((this.tableFmViewConditionNew != null)) {
             this.tableFmViewConditionNew.InitVars();
         }
     }
     this.relationFK_LFS_FM_VIEW_CONDITION_LFS_FM_TYPE_VIEW_CONDITION = this.Relations["FK_LFS_FM_VIEW_CONDITION_LFS_FM_TYPE_VIEW_CONDITION"];
     this.relationFK_LFS_FM_VIEW_LFS_FM_VIEW_CONDITION = this.Relations["FK_LFS_FM_VIEW_LFS_FM_VIEW_CONDITION"];
     this.relationFK_LFS_FM_VIEW_DISPLAY_LFS_FM_TYPE_VIEW_DISPLAY = this.Relations["FK_LFS_FM_VIEW_DISPLAY_LFS_FM_TYPE_VIEW_DISPLAY"];
     this.relationFK_LFS_FM_VIEW_DISPLAY_LFS_FM_VIEW = this.Relations["FK_LFS_FM_VIEW_DISPLAY_LFS_FM_VIEW"];
     this.relationFK_LFS_FM_VIEW_SORT_LFS_FM_TYPE_VIEW_SORT = this.Relations["FK_LFS_FM_VIEW_SORT_LFS_FM_TYPE_VIEW_SORT"];
     this.relationFK_LFS_FM_VIEW_SORT_LFS_FM_VIEW = this.Relations["FK_LFS_FM_VIEW_SORT_LFS_FM_VIEW"];
 }