public int Update(CongregationCenterType congregationcentertypename)
 {
     return base.ExecuteNonQuery(string.Format("EXEC CongregationCenterTypeName_Update {0},'{1}'", congregationcentertypename.Id, congregationcentertypename.congregationcentertype));
 }
 public int Update(int ID, int LocationID, string CongregationCenterName, CongregationCenterType CongregationCenterType, PrayerTiming PrayerTiming, Sect sect, PreachingType Preachingtype, Address Address, GPSLOC GPSLOC, int Street, City City, State State, Country Country)
 {
     return new CongregationData().Update(new Congregation() { ID = ID, LocationID = LocationID, CongregaionCenterName = CongregationCenterName, CongregationCenterType = CongregationCenterType, PrayerTiming = PrayerTiming, sect = sect, PreachingTiming = Preachingtype, Address = Address, GPSLOC = GPSLOC, Street = Street, City = City, State = State, Country = Country });
 }
 public int Update(int ID, CongregationCenterType congregationcentertype)
 {
     return new CongregationCenterTypeNameData().Update(new CongregationCenterType() { Id = ID, congregationcentertype = congregationcentertype });
 }