Exemplo n.º 1
0
 /// <summary>
 /// 用于向 vw_aspnet_MembershipUsers EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTovw_aspnet_MembershipUsers(vw_aspnet_MembershipUsers vw_aspnet_MembershipUsers)
 {
     base.AddObject("vw_aspnet_MembershipUsers", vw_aspnet_MembershipUsers);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建新的 vw_aspnet_MembershipUsers 对象。
 /// </summary>
 /// <param name="userId">UserId 属性的初始值。</param>
 /// <param name="passwordFormat">PasswordFormat 属性的初始值。</param>
 /// <param name="isApproved">IsApproved 属性的初始值。</param>
 /// <param name="isLockedOut">IsLockedOut 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 /// <param name="lastLoginDate">LastLoginDate 属性的初始值。</param>
 /// <param name="lastPasswordChangedDate">LastPasswordChangedDate 属性的初始值。</param>
 /// <param name="lastLockoutDate">LastLockoutDate 属性的初始值。</param>
 /// <param name="failedPasswordAttemptCount">FailedPasswordAttemptCount 属性的初始值。</param>
 /// <param name="failedPasswordAttemptWindowStart">FailedPasswordAttemptWindowStart 属性的初始值。</param>
 /// <param name="failedPasswordAnswerAttemptCount">FailedPasswordAnswerAttemptCount 属性的初始值。</param>
 /// <param name="failedPasswordAnswerAttemptWindowStart">FailedPasswordAnswerAttemptWindowStart 属性的初始值。</param>
 /// <param name="applicationId">ApplicationId 属性的初始值。</param>
 /// <param name="userName">UserName 属性的初始值。</param>
 /// <param name="isAnonymous">IsAnonymous 属性的初始值。</param>
 /// <param name="lastActivityDate">LastActivityDate 属性的初始值。</param>
 public static vw_aspnet_MembershipUsers Createvw_aspnet_MembershipUsers(global::System.Guid userId, global::System.Int32 passwordFormat, 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, global::System.Guid applicationId, global::System.String userName, global::System.Boolean isAnonymous, global::System.DateTime lastActivityDate)
 {
     vw_aspnet_MembershipUsers vw_aspnet_MembershipUsers = new vw_aspnet_MembershipUsers();
     vw_aspnet_MembershipUsers.UserId = userId;
     vw_aspnet_MembershipUsers.PasswordFormat = passwordFormat;
     vw_aspnet_MembershipUsers.IsApproved = isApproved;
     vw_aspnet_MembershipUsers.IsLockedOut = isLockedOut;
     vw_aspnet_MembershipUsers.CreateDate = createDate;
     vw_aspnet_MembershipUsers.LastLoginDate = lastLoginDate;
     vw_aspnet_MembershipUsers.LastPasswordChangedDate = lastPasswordChangedDate;
     vw_aspnet_MembershipUsers.LastLockoutDate = lastLockoutDate;
     vw_aspnet_MembershipUsers.FailedPasswordAttemptCount = failedPasswordAttemptCount;
     vw_aspnet_MembershipUsers.FailedPasswordAttemptWindowStart = failedPasswordAttemptWindowStart;
     vw_aspnet_MembershipUsers.FailedPasswordAnswerAttemptCount = failedPasswordAnswerAttemptCount;
     vw_aspnet_MembershipUsers.FailedPasswordAnswerAttemptWindowStart = failedPasswordAnswerAttemptWindowStart;
     vw_aspnet_MembershipUsers.ApplicationId = applicationId;
     vw_aspnet_MembershipUsers.UserName = userName;
     vw_aspnet_MembershipUsers.IsAnonymous = isAnonymous;
     vw_aspnet_MembershipUsers.LastActivityDate = lastActivityDate;
     return vw_aspnet_MembershipUsers;
 }