Exemple #1
0
 private void InitClass() {
     this.DataSetName = "Refund";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Refund.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableRefundApplication = new RefundApplicationDataTable();
     base.Tables.Add(this.tableRefundApplication);
     this.tableRefundStampDetails = new RefundStampDetailsDataTable();
     base.Tables.Add(this.tableRefundStampDetails);
     this.tableRefundActsApplicable = new RefundActsApplicableDataTable();
     base.Tables.Add(this.tableRefundActsApplicable);
     this.tableRefundOrder = new RefundOrderDataTable();
     base.Tables.Add(this.tableRefundOrder);
     this.tableRefundApprovalGrid = new RefundApprovalGridDataTable();
     base.Tables.Add(this.tableRefundApprovalGrid);
     this.relationFK_RefundStampDetails_RefundApplication = new global::System.Data.DataRelation("FK_RefundStampDetails_RefundApplication", new global::System.Data.DataColumn[] {
                 this.tableRefundApplication.RefundApplicationIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableRefundStampDetails.RefundApplicationIdColumn}, false);
     this.Relations.Add(this.relationFK_RefundStampDetails_RefundApplication);
     this.relationFK_RefundActApplicable_RefundApplication = new global::System.Data.DataRelation("FK_RefundActApplicable_RefundApplication", new global::System.Data.DataColumn[] {
                 this.tableRefundApplication.RefundApplicationIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableRefundActsApplicable.RefundApplicationIdColumn}, false);
     this.Relations.Add(this.relationFK_RefundActApplicable_RefundApplication);
     this.relationFK_RefundStampDetails_RefundApplication1 = new global::System.Data.DataRelation("FK_RefundStampDetails_RefundApplication1", new global::System.Data.DataColumn[] {
                 this.tableRefundOrder.RefundApplicationIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableRefundStampDetails.RefundApplicationIdColumn}, false);
     this.Relations.Add(this.relationFK_RefundStampDetails_RefundApplication1);
     this.relationFK_RefundActApplicable_RefundApplication1 = new global::System.Data.DataRelation("FK_RefundActApplicable_RefundApplication1", new global::System.Data.DataColumn[] {
                 this.tableRefundOrder.RefundApplicationIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableRefundActsApplicable.RefundApplicationIdColumn}, false);
     this.Relations.Add(this.relationFK_RefundActApplicable_RefundApplication1);
     this.relationFK_RefundStampDetails_RefundApplication2 = new global::System.Data.DataRelation("FK_RefundStampDetails_RefundApplication2", new global::System.Data.DataColumn[] {
                 this.tableRefundApprovalGrid.RefundApplicationIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableRefundStampDetails.RefundApplicationIdColumn}, false);
     this.Relations.Add(this.relationFK_RefundStampDetails_RefundApplication2);
     this.relationFK_RefundActApplicable_RefundApplication2 = new global::System.Data.DataRelation("FK_RefundActApplicable_RefundApplication2", new global::System.Data.DataColumn[] {
                 this.tableRefundApprovalGrid.RefundApplicationIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableRefundActsApplicable.RefundApplicationIdColumn}, false);
     this.Relations.Add(this.relationFK_RefundActApplicable_RefundApplication2);
 }
Exemple #2
0
 internal RefundActsApplicableRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableRefundActsApplicable = ((RefundActsApplicableDataTable)(this.Table));
 }
Exemple #3
0
 internal void InitVars(bool initTable) {
     this.tableRefundApplication = ((RefundApplicationDataTable)(base.Tables["RefundApplication"]));
     if ((initTable == true)) {
         if ((this.tableRefundApplication != null)) {
             this.tableRefundApplication.InitVars();
         }
     }
     this.tableRefundStampDetails = ((RefundStampDetailsDataTable)(base.Tables["RefundStampDetails"]));
     if ((initTable == true)) {
         if ((this.tableRefundStampDetails != null)) {
             this.tableRefundStampDetails.InitVars();
         }
     }
     this.tableRefundActsApplicable = ((RefundActsApplicableDataTable)(base.Tables["RefundActsApplicable"]));
     if ((initTable == true)) {
         if ((this.tableRefundActsApplicable != null)) {
             this.tableRefundActsApplicable.InitVars();
         }
     }
     this.tableRefundOrder = ((RefundOrderDataTable)(base.Tables["RefundOrder"]));
     if ((initTable == true)) {
         if ((this.tableRefundOrder != null)) {
             this.tableRefundOrder.InitVars();
         }
     }
     this.tableRefundApprovalGrid = ((RefundApprovalGridDataTable)(base.Tables["RefundApprovalGrid"]));
     if ((initTable == true)) {
         if ((this.tableRefundApprovalGrid != null)) {
             this.tableRefundApprovalGrid.InitVars();
         }
     }
     this.relationFK_RefundStampDetails_RefundApplication = this.Relations["FK_RefundStampDetails_RefundApplication"];
     this.relationFK_RefundActApplicable_RefundApplication = this.Relations["FK_RefundActApplicable_RefundApplication"];
     this.relationFK_RefundStampDetails_RefundApplication1 = this.Relations["FK_RefundStampDetails_RefundApplication1"];
     this.relationFK_RefundActApplicable_RefundApplication1 = this.Relations["FK_RefundActApplicable_RefundApplication1"];
     this.relationFK_RefundStampDetails_RefundApplication2 = this.Relations["FK_RefundStampDetails_RefundApplication2"];
     this.relationFK_RefundActApplicable_RefundApplication2 = this.Relations["FK_RefundActApplicable_RefundApplication2"];
 }