internal void InitVars(bool initTable) { this.tableApplication = ((ApplicationDataTable)(base.Tables["Application"])); if ((initTable == true)) { if ((this.tableApplication != null)) { this.tableApplication.InitVars(); } } this.tableStudent = ((StudentDataTable)(base.Tables["Student"])); if ((initTable == true)) { if ((this.tableStudent != null)) { this.tableStudent.InitVars(); } } this.tableIndividual = ((IndividualDataTable)(base.Tables["Individual"])); if ((initTable == true)) { if ((this.tableIndividual != null)) { this.tableIndividual.InitVars(); } } this.relationFK_Application_Student = this.Relations["FK_Application_Student"]; this.relationFK_Student_Individual = this.Relations["FK_Student_Individual"]; }
private void InitClass() { this.DataSetName = "Lender"; this.Prefix = ""; this.Namespace = "http://tempuri.org/Lender.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableApplication = new ApplicationDataTable(); base.Tables.Add(this.tableApplication); this.tableStudent = new StudentDataTable(); base.Tables.Add(this.tableStudent); this.tableIndividual = new IndividualDataTable(); base.Tables.Add(this.tableIndividual); this.relationFK_Application_Student = new global::System.Data.DataRelation("FK_Application_Student", new global::System.Data.DataColumn[] { this.tableStudent.IdColumn}, new global::System.Data.DataColumn[] { this.tableApplication.StudentIdColumn}, false); this.Relations.Add(this.relationFK_Application_Student); this.relationFK_Student_Individual = new global::System.Data.DataRelation("FK_Student_Individual", new global::System.Data.DataColumn[] { this.tableIndividual.IdColumn}, new global::System.Data.DataColumn[] { this.tableStudent.IdColumn}, false); this.Relations.Add(this.relationFK_Student_Individual); }
internal IndividualRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableIndividual = ((IndividualDataTable)(this.Table)); }