/// <summary> /// Create a new UserProfile object. /// </summary> /// <param name="usrId">Initial value of the usrId property.</param> /// <param name="loginName">Initial value of the loginName property.</param> /// <param name="enPassword">Initial value of the enPassword property.</param> /// <param name="firstName">Initial value of the firstName property.</param> /// <param name="lastName">Initial value of the lastName property.</param> /// <param name="email">Initial value of the email property.</param> public static UserProfile CreateUserProfile(global::System.Int64 usrId, global::System.String loginName, global::System.String enPassword, global::System.String firstName, global::System.String lastName, global::System.String email) { UserProfile userProfile = new UserProfile(); userProfile.usrId = usrId; userProfile.loginName = loginName; userProfile.enPassword = enPassword; userProfile.firstName = firstName; userProfile.lastName = lastName; userProfile.email = email; return userProfile; }
/// <summary> /// Deprecated Method for adding a new object to the UserProfile EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserProfile(UserProfile userProfile) { base.AddObject("UserProfile", userProfile); }