Exemple #1
0
        private void Update(string zipcode, string city, string state, int businessID)
        {
            Zipcode zip = new Zipcode();

            zip.ZipCode  = zipcode;
            zip.City     = city;
            zip.State    = state;
            zip.Business = businessID;

            using (TechCareerFair.DAL.ZipDAL.ZipDatabaseDataService ds = new ZipDAL.ZipDatabaseDataService())
            {
                ds.Update(zip, businessID);
            }
        }
Exemple #2
0
 public void Dispose()
 {
     _zipcodes = null;
     _ds       = null;
 }