Пример #1
0
 public void AddToLocations(Location location)
 {
     base.AddObject("Locations", location);
 }
Пример #2
0
 // Method does not fire NotifyPropertyChanged
 public void SetLocationSilent(Location l)
 {
     this._Location = l;
     this._LocationId = l != null ? l.Id : 0;
 }
Пример #3
0
 public static Location CreateLocation(string city, string state, string country, int ID)
 {
     Location location = new Location();
     location.City = city;
     location.State = state;
     location.Country = country;
     location.Id = ID;
     return location;
 }