/// <summary> /// Create a new Animal object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="shelterId">Initial value of the ShelterId property.</param> public static Animal CreateAnimal(global::System.Int32 id, global::System.String name, global::System.Int32 shelterId) { Animal animal = new Animal(); animal.Id = id; animal.Name = name; animal.ShelterId = shelterId; return animal; }
/// <summary> /// Deprecated Method for adding a new object to the Animals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAnimals(Animal animal) { base.AddObject("Animals", animal); }