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

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

                cln.InitVars();
                return(cln);
            }
Exemple #3
0
 internal void InitVars()
 {
     this.tableincomelinkedproceeds = ((incomelinkedproceedsDataTable)(this.Tables["incomelinkedproceeds"]));
     if ((this.tableincomelinkedproceeds != null))
     {
         this.tableincomelinkedproceeds.InitVars();
     }
     this.tablelinkedincome = ((linkedincomeDataTable)(this.Tables["linkedincome"]));
     if ((this.tablelinkedincome != null))
     {
         this.tablelinkedincome.InitVars();
     }
     this.relationlinkedincomeincomelinkedproceeds = this.Relations["linkedincomeincomelinkedproceeds"];
 }
Exemple #4
0
 internal incomelinkedproceedsRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableincomelinkedproceeds = ((incomelinkedproceedsDataTable)(this.Table));
 }