/// <summary>
 /// Create a new Shelter object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static Shelter CreateShelter(global::System.Int32 id)
 {
     Shelter shelter = new Shelter();
     shelter.Id = id;
     return shelter;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Shelters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShelters(Shelter shelter)
 {
     base.AddObject("Shelters", shelter);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Shelters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShelters(Shelter shelter)
 {
     base.AddObject("Shelters", shelter);
 }