コード例 #1
0
 internal void InitVars(bool initTable) {
     this.tabletbluser = ((tbluserDataTable)(base.Tables["tbluser"]));
     if ((initTable == true)) {
         if ((this.tabletbluser != null)) {
             this.tabletbluser.InitVars();
         }
     }
     this.tabletblpassword = ((tblpasswordDataTable)(base.Tables["tblpassword"]));
     if ((initTable == true)) {
         if ((this.tabletblpassword != null)) {
             this.tabletblpassword.InitVars();
         }
     }
     this.tabletbluserinfo = ((tbluserinfoDataTable)(base.Tables["tbluserinfo"]));
     if ((initTable == true)) {
         if ((this.tabletbluserinfo != null)) {
             this.tabletbluserinfo.InitVars();
         }
     }
     this.tabletblClient = ((tblClientDataTable)(base.Tables["tblClient"]));
     if ((initTable == true)) {
         if ((this.tabletblClient != null)) {
             this.tabletblClient.InitVars();
         }
     }
     this.tabletblphoneNumbers = ((tblphoneNumbersDataTable)(base.Tables["tblphoneNumbers"]));
     if ((initTable == true)) {
         if ((this.tabletblphoneNumbers != null)) {
             this.tabletblphoneNumbers.InitVars();
         }
     }
     this.relationFK_tblpassword_tblpassword = this.Relations["FK_tblpassword_tblpassword"];
     this.relationFK_tbluserinfo_tbluser = this.Relations["FK_tbluserinfo_tbluser"];
     this.relationFK_tblClient_tbluser = this.Relations["FK_tblClient_tbluser"];
     this.relationFK_tblphoneNumbers_tblClient = this.Relations["FK_tblphoneNumbers_tblClient"];
     this.relationFK_tblphoneNumbers_tbluser = this.Relations["FK_tblphoneNumbers_tbluser"];
 }
コード例 #2
0
 private void InitClass() {
     this.DataSetName = "pyatLevelDS";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/pyatLevelDS.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tabletbluser = new tbluserDataTable();
     base.Tables.Add(this.tabletbluser);
     this.tabletblpassword = new tblpasswordDataTable();
     base.Tables.Add(this.tabletblpassword);
     this.tabletbluserinfo = new tbluserinfoDataTable();
     base.Tables.Add(this.tabletbluserinfo);
     this.tabletblClient = new tblClientDataTable();
     base.Tables.Add(this.tabletblClient);
     this.tabletblphoneNumbers = new tblphoneNumbersDataTable();
     base.Tables.Add(this.tabletblphoneNumbers);
     this.relationFK_tblpassword_tblpassword = new global::System.Data.DataRelation("FK_tblpassword_tblpassword", new global::System.Data.DataColumn[] {
                 this.tabletbluser.useridColumn}, new global::System.Data.DataColumn[] {
                 this.tabletblpassword.fuseridColumn}, false);
     this.Relations.Add(this.relationFK_tblpassword_tblpassword);
     this.relationFK_tbluserinfo_tbluser = new global::System.Data.DataRelation("FK_tbluserinfo_tbluser", new global::System.Data.DataColumn[] {
                 this.tabletbluser.useridColumn}, new global::System.Data.DataColumn[] {
                 this.tabletbluserinfo.fuseridColumn}, false);
     this.Relations.Add(this.relationFK_tbluserinfo_tbluser);
     this.relationFK_tblClient_tbluser = new global::System.Data.DataRelation("FK_tblClient_tbluser", new global::System.Data.DataColumn[] {
                 this.tabletbluser.useridColumn}, new global::System.Data.DataColumn[] {
                 this.tabletblClient.fuseridColumn}, false);
     this.Relations.Add(this.relationFK_tblClient_tbluser);
     this.relationFK_tblphoneNumbers_tblClient = new global::System.Data.DataRelation("FK_tblphoneNumbers_tblClient", new global::System.Data.DataColumn[] {
                 this.tabletblClient.clientidColumn}, new global::System.Data.DataColumn[] {
                 this.tabletblphoneNumbers.fclientidColumn}, false);
     this.Relations.Add(this.relationFK_tblphoneNumbers_tblClient);
     this.relationFK_tblphoneNumbers_tbluser = new global::System.Data.DataRelation("FK_tblphoneNumbers_tbluser", new global::System.Data.DataColumn[] {
                 this.tabletbluser.useridColumn}, new global::System.Data.DataColumn[] {
                 this.tabletblphoneNumbers.fuseridColumn}, false);
     this.Relations.Add(this.relationFK_tblphoneNumbers_tbluser);
 }
コード例 #3
0
 internal tbluserinfoRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tabletbluserinfo = ((tbluserinfoDataTable)(this.Table));
 }