/// <summary> /// Deprecated Method for adding a new object to the PetProfiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPetProfiles(PetProfile petProfile) { base.AddObject("PetProfiles", petProfile); }
/// <summary> /// Create a new PetProfile object. /// </summary> /// <param name="petId">Initial value of the PetId property.</param> /// <param name="fullName">Initial value of the FullName property.</param> /// <param name="alive">Initial value of the Alive property.</param> /// <param name="dOB">Initial value of the DOB property.</param> /// <param name="sex">Initial value of the Sex property.</param> /// <param name="kindId">Initial value of the KindId property.</param> public static PetProfile CreatePetProfile(global::System.Guid petId, global::System.String fullName, global::System.Boolean alive, global::System.DateTime dOB, global::System.Boolean sex, global::System.Int16 kindId) { PetProfile petProfile = new PetProfile(); petProfile.PetId = petId; petProfile.FullName = fullName; petProfile.Alive = alive; petProfile.DOB = dOB; petProfile.Sex = sex; petProfile.KindId = kindId; return petProfile; }