示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the NeighborhoodHomes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNeighborhoodHomes(NeighborhoodHome neighborhoodHome)
 {
     base.AddObject("NeighborhoodHomes", neighborhoodHome);
 }
示例#2
0
 /// <summary>
 /// Create a new NeighborhoodHome object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="neighborhoodId">Initial value of the NeighborhoodId property.</param>
 /// <param name="homeId">Initial value of the HomeId property.</param>
 public static NeighborhoodHome CreateNeighborhoodHome(global::System.Guid id, global::System.Guid neighborhoodId, global::System.Guid homeId)
 {
     NeighborhoodHome neighborhoodHome = new NeighborhoodHome();
     neighborhoodHome.Id = id;
     neighborhoodHome.NeighborhoodId = neighborhoodId;
     neighborhoodHome.HomeId = homeId;
     return neighborhoodHome;
 }