Exemplo n.º 1
0
            public override DataTable Clone()
            {
                CONFIGDataTable cln = ((CONFIGDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
Exemplo n.º 2
0
            public override global::System.Data.DataTable Clone()
            {
                CONFIGDataTable cln = ((CONFIGDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
Exemplo n.º 3
0
        private void InitClass()
        {
            this.DataSetName        = "dset1";
            this.Prefix             = "";
            this.Namespace          = "http://tempuri.org/dset1.xsd";
            this.Locale             = new System.Globalization.CultureInfo("en-US");
            this.CaseSensitive      = false;
            this.EnforceConstraints = true;
            this.tableCONFIG        = new CONFIGDataTable();
            this.Tables.Add(this.tableCONFIG);
            this.tablePROFESOR = new PROFESORDataTable();
            this.Tables.Add(this.tablePROFESOR);
            this.tableG_ALUM = new G_ALUMDataTable();
            this.Tables.Add(this.tableG_ALUM);
            ForeignKeyConstraint fkc;

            fkc = new ForeignKeyConstraint("G_ALUM-PROFESOR", new DataColumn[] {
                this.tablePROFESOR.ID_PROFColumn
            }, new DataColumn[] {
                this.tableG_ALUM.ID_PROFColumn
            });
            this.tableG_ALUM.Constraints.Add(fkc);
            fkc.AcceptRejectRule          = System.Data.AcceptRejectRule.None;
            fkc.DeleteRule                = System.Data.Rule.Cascade;
            fkc.UpdateRule                = System.Data.Rule.Cascade;
            this._relationG_ALUM_PROFESOR = new DataRelation("G_ALUM-PROFESOR", new DataColumn[] {
                this.tablePROFESOR.ID_PROFColumn
            }, new DataColumn[] {
                this.tableG_ALUM.ID_PROFColumn
            }, false);
            this.Relations.Add(this._relationG_ALUM_PROFESOR);
        }
Exemplo n.º 4
0
 private void InitClass()
 {
     this.DataSetName             = "DS_config";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/DS_config.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableCONFIG             = new CONFIGDataTable();
     base.Tables.Add(this.tableCONFIG);
 }
Exemplo n.º 5
0
 internal void InitVars(bool initTable)
 {
     this.tableCONFIG = ((CONFIGDataTable)(base.Tables["CONFIG"]));
     if ((initTable == true))
     {
         if ((this.tableCONFIG != null))
         {
             this.tableCONFIG.InitVars();
         }
     }
 }
Exemplo n.º 6
0
 internal void InitVars()
 {
     this.tableCONFIG = ((CONFIGDataTable)(this.Tables["CONFIG"]));
     if ((this.tableCONFIG != null))
     {
         this.tableCONFIG.InitVars();
     }
     this.tablePROFESOR = ((PROFESORDataTable)(this.Tables["PROFESOR"]));
     if ((this.tablePROFESOR != null))
     {
         this.tablePROFESOR.InitVars();
     }
     this.tableG_ALUM = ((G_ALUMDataTable)(this.Tables["G_ALUM"]));
     if ((this.tableG_ALUM != null))
     {
         this.tableG_ALUM.InitVars();
     }
     this._relationG_ALUM_PROFESOR = this.Relations["G_ALUM-PROFESOR"];
 }
Exemplo n.º 7
0
 internal CONFIGRow(global::System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableCONFIG = ((CONFIGDataTable)(this.Table));
 }
Exemplo n.º 8
0
 internal CONFIGRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableCONFIG = ((CONFIGDataTable)(this.Table));
 }