示例#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;
 }