/// <summary> /// Deprecated Method for adding a new object to the Profiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProfiles(Profile profile) { base.AddObject("Profiles", profile); }
/// <summary> /// Create a new Profile object. /// </summary> /// <param name="profileId">Initial value of the ProfileId property.</param> /// <param name="emails">Initial value of the Emails property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="phone">Initial value of the Phone property.</param> public static Profile CreateProfile(global::System.Int32 profileId, global::System.String emails, global::System.DateTime createDate, global::System.String firstName, global::System.String lastName, global::System.Int64 phone) { Profile profile = new Profile(); profile.ProfileId = profileId; profile.Emails = emails; profile.CreateDate = createDate; profile.FirstName = firstName; profile.LastName = lastName; profile.Phone = phone; return profile; }