Beispiel #1
0
        private void InitClass()
        {
            this.DataSetName              = "vistaForm";
            this.Prefix                   = "";
            this.Namespace                = "http://tempuri.org/dettentratepagamentivista.xsd";
            this.Locale                   = new System.Globalization.CultureInfo("en-US");
            this.CaseSensitive            = false;
            this.EnforceConstraints       = true;
            this.tableincomelinkedpayment = new incomelinkedpaymentDataTable();
            this.Tables.Add(this.tableincomelinkedpayment);
            this.tablelinkedincome = new linkedincomeDataTable();
            this.Tables.Add(this.tablelinkedincome);
            ForeignKeyConstraint fkc;

            fkc = new ForeignKeyConstraint("vistaFormKey2", new DataColumn[] {
                this.tablelinkedincome.idlinkedincomeColumn
            }, new DataColumn[] {
                this.tableincomelinkedpayment.idlinkedincomeColumn
            });
            this.tableincomelinkedpayment.Constraints.Add(fkc);
            fkc.AcceptRejectRule = System.Data.AcceptRejectRule.None;
            fkc.DeleteRule       = System.Data.Rule.Cascade;
            fkc.UpdateRule       = System.Data.Rule.Cascade;
            this.relationlinkedincomeincomelinkedpayment = new DataRelation("linkedincomeincomelinkedpayment", new DataColumn[] {
                this.tablelinkedincome.idlinkedincomeColumn
            }, new DataColumn[] {
                this.tableincomelinkedpayment.idlinkedincomeColumn
            }, false);
            this.Relations.Add(this.relationlinkedincomeincomelinkedpayment);
        }
Beispiel #2
0
            public override DataTable Clone()
            {
                incomelinkedpaymentDataTable cln = ((incomelinkedpaymentDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
Beispiel #3
0
 internal void InitVars()
 {
     this.tableincomelinkedpayment = ((incomelinkedpaymentDataTable)(this.Tables["incomelinkedpayment"]));
     if ((this.tableincomelinkedpayment != null))
     {
         this.tableincomelinkedpayment.InitVars();
     }
     this.tablelinkedincome = ((linkedincomeDataTable)(this.Tables["linkedincome"]));
     if ((this.tablelinkedincome != null))
     {
         this.tablelinkedincome.InitVars();
     }
     this.relationlinkedincomeincomelinkedpayment = this.Relations["linkedincomeincomelinkedpayment"];
 }
Beispiel #4
0
 internal incomelinkedpaymentRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableincomelinkedpayment = ((incomelinkedpaymentDataTable)(this.Table));
 }