Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the aspnet_Membership EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaspnet_Membership(aspnet_Membership aspnet_Membership)
 {
     base.AddObject("aspnet_Membership", aspnet_Membership);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new aspnet_Membership object.
 /// </summary>
 /// <param name="applicationId">Initial value of the ApplicationId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="passwordFormat">Initial value of the PasswordFormat property.</param>
 /// <param name="passwordSalt">Initial value of the PasswordSalt property.</param>
 /// <param name="isApproved">Initial value of the IsApproved property.</param>
 /// <param name="isLockedOut">Initial value of the IsLockedOut property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="lastLoginDate">Initial value of the LastLoginDate property.</param>
 /// <param name="lastPasswordChangedDate">Initial value of the LastPasswordChangedDate property.</param>
 /// <param name="lastLockoutDate">Initial value of the LastLockoutDate property.</param>
 /// <param name="failedPasswordAttemptCount">Initial value of the FailedPasswordAttemptCount property.</param>
 /// <param name="failedPasswordAttemptWindowStart">Initial value of the FailedPasswordAttemptWindowStart property.</param>
 /// <param name="failedPasswordAnswerAttemptCount">Initial value of the FailedPasswordAnswerAttemptCount property.</param>
 /// <param name="failedPasswordAnswerAttemptWindowStart">Initial value of the FailedPasswordAnswerAttemptWindowStart property.</param>
 public static aspnet_Membership Createaspnet_Membership(global::System.Guid applicationId, global::System.Guid userId, global::System.String password, global::System.Int32 passwordFormat, global::System.String passwordSalt, global::System.Boolean isApproved, global::System.Boolean isLockedOut, global::System.DateTime createDate, global::System.DateTime lastLoginDate, global::System.DateTime lastPasswordChangedDate, global::System.DateTime lastLockoutDate, global::System.Int32 failedPasswordAttemptCount, global::System.DateTime failedPasswordAttemptWindowStart, global::System.Int32 failedPasswordAnswerAttemptCount, global::System.DateTime failedPasswordAnswerAttemptWindowStart)
 {
     aspnet_Membership aspnet_Membership = new aspnet_Membership();
     aspnet_Membership.ApplicationId = applicationId;
     aspnet_Membership.UserId = userId;
     aspnet_Membership.Password = password;
     aspnet_Membership.PasswordFormat = passwordFormat;
     aspnet_Membership.PasswordSalt = passwordSalt;
     aspnet_Membership.IsApproved = isApproved;
     aspnet_Membership.IsLockedOut = isLockedOut;
     aspnet_Membership.CreateDate = createDate;
     aspnet_Membership.LastLoginDate = lastLoginDate;
     aspnet_Membership.LastPasswordChangedDate = lastPasswordChangedDate;
     aspnet_Membership.LastLockoutDate = lastLockoutDate;
     aspnet_Membership.FailedPasswordAttemptCount = failedPasswordAttemptCount;
     aspnet_Membership.FailedPasswordAttemptWindowStart = failedPasswordAttemptWindowStart;
     aspnet_Membership.FailedPasswordAnswerAttemptCount = failedPasswordAnswerAttemptCount;
     aspnet_Membership.FailedPasswordAnswerAttemptWindowStart = failedPasswordAnswerAttemptWindowStart;
     return aspnet_Membership;
 }