示例#1
0
            public override global::System.Data.DataTable Clone()
            {
                ElephantsDataTable cln = ((ElephantsDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
示例#2
0
 private void InitClass()
 {
     this.DataSetName             = "DataSet1";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/DataSet1.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableElephants          = new ElephantsDataTable();
     base.Tables.Add(this.tableElephants);
 }
示例#3
0
 internal void InitVars(bool initTable)
 {
     this.tableElephants = ((ElephantsDataTable)(base.Tables["Elephants"]));
     if ((initTable == true))
     {
         if ((this.tableElephants != null))
         {
             this.tableElephants.InitVars();
         }
     }
 }
示例#4
0
 internal ElephantsRow(global::System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableElephants = ((ElephantsDataTable)(this.Table));
 }