コード例 #1
0
            public override DataTable Clone()
            {
                StreetSuffixDataTable cln = ((StreetSuffixDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
コード例 #2
0
 private void InitClass()
 {
     this.DataSetName        = "AddressDictionary";
     this.Prefix             = "";
     this.Namespace          = "http://tempuri.org/Dataset1.xsd";
     this.Locale             = new System.Globalization.CultureInfo("en-US");
     this.CaseSensitive      = false;
     this.EnforceConstraints = true;
     this.tableStreetSuffix  = new StreetSuffixDataTable();
     this.Tables.Add(this.tableStreetSuffix);
     this.tableCountry = new CountryDataTable();
     this.Tables.Add(this.tableCountry);
     this.tableCity = new CityDataTable();
     this.Tables.Add(this.tableCity);
     this.tableStateProvince = new StateProvinceDataTable();
     this.Tables.Add(this.tableStateProvince);
 }
コード例 #3
0
 internal void InitVars()
 {
     this.tableStreetSuffix = ((StreetSuffixDataTable)(this.Tables["StreetSuffix"]));
     if ((this.tableStreetSuffix != null))
     {
         this.tableStreetSuffix.InitVars();
     }
     this.tableCountry = ((CountryDataTable)(this.Tables["Country"]));
     if ((this.tableCountry != null))
     {
         this.tableCountry.InitVars();
     }
     this.tableCity = ((CityDataTable)(this.Tables["City"]));
     if ((this.tableCity != null))
     {
         this.tableCity.InitVars();
     }
     this.tableStateProvince = ((StateProvinceDataTable)(this.Tables["StateProvince"]));
     if ((this.tableStateProvince != null))
     {
         this.tableStateProvince.InitVars();
     }
 }
コード例 #4
0
 internal StreetSuffixRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableStreetSuffix = ((StreetSuffixDataTable)(this.Table));
 }