Esempio n. 1
0
 public void AddAlternativeLocation(Location location)
 {
     this.alternativeLocations = alternativeLocations.Union(new[] {location}).ToArray();
 }
Esempio n. 2
0
 private static void StoreADemoDataModel(IObjectContainer db)
 {
     var mainLocation = new Location("MainLocation");
     mainLocation.AddAlternativeLocation(new Location("Alternative"));
     db.Store(mainLocation);
 }