/// <summary> /// Deprecated Method for adding a new object to the PersonalInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPersonalInfoes(PersonalInfo personalInfo) { base.AddObject("PersonalInfoes", personalInfo); }
/// <summary> /// Create a new PersonalInfo object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="imagePath">Initial value of the ImagePath property.</param> public static PersonalInfo CreatePersonalInfo(global::System.Guid id, global::System.Guid userID, global::System.String firstName, global::System.String lastName, global::System.String imagePath) { PersonalInfo personalInfo = new PersonalInfo(); personalInfo.ID = id; personalInfo.UserID = userID; personalInfo.FirstName = firstName; personalInfo.LastName = lastName; personalInfo.ImagePath = imagePath; return personalInfo; }