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 });
 }
コード例 #2
0
 public int Update(State state)
 {
     return base.ExecuteNonQuery(string.Format("EXEC State_Update {0},'{1}'", state.ID, state.NAme));
 }
 public int Update(int ID, User user, int Myproperty, string StreetAddress, City city, State state, Country country)
 {
     return new AddressData().Update(new Address() { Id = ID, User = user, MyProperty = Myproperty, StreetAddress = StreetAddress, City = city, State = state, Country = country });
 }