/// <summary> /// Create a new ProfileProperty object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="eMail">Initial value of the EMail property.</param> /// <param name="bookActivated">Initial value of the BookActivated property.</param> public static ProfileProperty CreateProfileProperty(global::System.Guid userId, global::System.String userName, global::System.String firstName, global::System.String eMail, global::System.Boolean bookActivated) { ProfileProperty profileProperty = new ProfileProperty(); profileProperty.UserId = userId; profileProperty.UserName = userName; profileProperty.FirstName = firstName; profileProperty.EMail = eMail; profileProperty.BookActivated = bookActivated; return(profileProperty); }
/// <summary> /// Deprecated Method for adding a new object to the ProfileProperties EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProfileProperties(ProfileProperty profileProperty) { base.AddObject("ProfileProperties", profileProperty); }