/// <summary> /// Create a new Pet object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="personId">Initial value of the PersonId property.</param> public static Pet CreatePet(global::System.Int64 id, global::System.String firstName, global::System.Int64 personId) { Pet pet = new Pet(); pet.Id = id; pet.FirstName = firstName; pet.PersonId = personId; return pet; }
/// <summary> /// Deprecated Method for adding a new object to the Pets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPets(Pet pet) { base.AddObject("Pets", pet); }