コード例 #1
0
            public override global::System.Data.DataTable Clone()
            {
                usersDataTable cln = ((usersDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
コード例 #2
0
 private void InitClass()
 {
     this.DataSetName             = "playertrackerDataSet";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/playertrackerDataSet.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableusers              = new usersDataTable();
     base.Tables.Add(this.tableusers);
 }
コード例 #3
0
 internal void InitVars(bool initTable)
 {
     this.tableusers = ((usersDataTable)(base.Tables["users"]));
     if ((initTable == true))
     {
         if ((this.tableusers != null))
         {
             this.tableusers.InitVars();
         }
     }
 }
コード例 #4
0
 internal usersRow(global::System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableusers = ((usersDataTable)(this.Table));
 }
コード例 #5
0
ファイル: wbsDataSet.Designer.cs プロジェクト: HuGuo/wbs
 internal usersRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableusers = ((usersDataTable)(this.Table));
 }
コード例 #6
0
ファイル: wbsDataSet.Designer.cs プロジェクト: HuGuo/wbs
 private void InitClass() {
     this.DataSetName = "wbsDataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/wbsDataSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableusers = new usersDataTable();
     base.Tables.Add(this.tableusers);
 }
コード例 #7
0
ファイル: wbsDataSet.Designer.cs プロジェクト: HuGuo/wbs
 internal void InitVars(bool initTable) {
     this.tableusers = ((usersDataTable)(base.Tables["users"]));
     if ((initTable == true)) {
         if ((this.tableusers != null)) {
             this.tableusers.InitVars();
         }
     }
 }
コード例 #8
0
 private void InitClass() {
     this.DataSetName = "DocumentsUsersDataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DocumentsUsersDataSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tabledepartment = new departmentDataTable();
     base.Tables.Add(this.tabledepartment);
     this.tableusers = new usersDataTable();
     base.Tables.Add(this.tableusers);
     this.tableworkers = new workersDataTable();
     base.Tables.Add(this.tableworkers);
     this.tableposition = new positionDataTable();
     base.Tables.Add(this.tableposition);
     this.tableusersettings = new usersettingsDataTable();
     base.Tables.Add(this.tableusersettings);
     this.relationFK_users_workers = new global::System.Data.DataRelation("FK_users_workers", new global::System.Data.DataColumn[] {
                 this.tableworkers.idColumn}, new global::System.Data.DataColumn[] {
                 this.tableusers.worker_idColumn}, false);
     this.Relations.Add(this.relationFK_users_workers);
     this.relationFK_workers_department = new global::System.Data.DataRelation("FK_workers_department", new global::System.Data.DataColumn[] {
                 this.tabledepartment.idColumn}, new global::System.Data.DataColumn[] {
                 this.tableworkers.department_idColumn}, false);
     this.Relations.Add(this.relationFK_workers_department);
     this.relationFK_workers_position = new global::System.Data.DataRelation("FK_workers_position", new global::System.Data.DataColumn[] {
                 this.tableposition.idColumn}, new global::System.Data.DataColumn[] {
                 this.tableworkers.position_idColumn}, false);
     this.Relations.Add(this.relationFK_workers_position);
     this.relationFK_position_position = new global::System.Data.DataRelation("FK_position_position", new global::System.Data.DataColumn[] {
                 this.tableposition.idColumn}, new global::System.Data.DataColumn[] {
                 this.tableposition.zamColumn}, false);
     this.Relations.Add(this.relationFK_position_position);
     this.relationFK_usersettings_users = new global::System.Data.DataRelation("FK_usersettings_users", new global::System.Data.DataColumn[] {
                 this.tableusers.idColumn}, new global::System.Data.DataColumn[] {
                 this.tableusersettings.user_idColumn}, false);
     this.Relations.Add(this.relationFK_usersettings_users);
 }
コード例 #9
0
 internal void InitVars(bool initTable) {
     this.tabledepartment = ((departmentDataTable)(base.Tables["department"]));
     if ((initTable == true)) {
         if ((this.tabledepartment != null)) {
             this.tabledepartment.InitVars();
         }
     }
     this.tableusers = ((usersDataTable)(base.Tables["users"]));
     if ((initTable == true)) {
         if ((this.tableusers != null)) {
             this.tableusers.InitVars();
         }
     }
     this.tableworkers = ((workersDataTable)(base.Tables["workers"]));
     if ((initTable == true)) {
         if ((this.tableworkers != null)) {
             this.tableworkers.InitVars();
         }
     }
     this.tableposition = ((positionDataTable)(base.Tables["position"]));
     if ((initTable == true)) {
         if ((this.tableposition != null)) {
             this.tableposition.InitVars();
         }
     }
     this.tableusersettings = ((usersettingsDataTable)(base.Tables["usersettings"]));
     if ((initTable == true)) {
         if ((this.tableusersettings != null)) {
             this.tableusersettings.InitVars();
         }
     }
     this.relationFK_users_workers = this.Relations["FK_users_workers"];
     this.relationFK_workers_department = this.Relations["FK_workers_department"];
     this.relationFK_workers_position = this.Relations["FK_workers_position"];
     this.relationFK_position_position = this.Relations["FK_position_position"];
     this.relationFK_usersettings_users = this.Relations["FK_usersettings_users"];
 }