コード例 #1
0
            public override global::System.Data.DataTable Clone()
            {
                AnimalsDataTable cln = ((AnimalsDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
コード例 #2
0
 private void InitClass()
 {
     this.DataSetName        = "TestDataSet";
     this.Prefix             = "";
     this.Namespace          = "http://tempuri.org/TestDataSet.xsd";
     this.EnforceConstraints = true;
     this.tableAnimals       = new AnimalsDataTable();
     base.Tables.Add(this.tableAnimals);
 }
コード例 #3
0
 private void InitClass()
 {
     this.DataSetName             = "AnimalsData";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/AnimalsData.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableAnimals            = new AnimalsDataTable();
     base.Tables.Add(this.tableAnimals);
 }
コード例 #4
0
 internal void InitVars(bool initTable)
 {
     this.tableAnimals = ((AnimalsDataTable)(base.Tables["Animals"]));
     if ((initTable == true))
     {
         if ((this.tableAnimals != null))
         {
             this.tableAnimals.InitVars();
         }
     }
 }
コード例 #5
0
 internal AnimalsRow(global::System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableAnimals = ((AnimalsDataTable)(this.Table));
 }