Esempio n. 1
0
 /// <summary>
 /// Устаревший метод для добавления новых объектов в набор EntitySet aspnet_Membership. Взамен можно использовать метод .Add связанного свойства ObjectSet&lt;T&gt;.
 /// </summary>
 public void AddToaspnet_Membership(aspnet_Membership aspnet_Membership)
 {
     base.AddObject("aspnet_Membership", aspnet_Membership);
 }
Esempio n. 2
0
 /// <summary>
 /// Создание нового объекта aspnet_Membership.
 /// </summary>
 /// <param name="applicationId">Исходное значение свойства ApplicationId.</param>
 /// <param name="userId">Исходное значение свойства UserId.</param>
 /// <param name="password">Исходное значение свойства Password.</param>
 /// <param name="passwordFormat">Исходное значение свойства PasswordFormat.</param>
 /// <param name="passwordSalt">Исходное значение свойства PasswordSalt.</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>
 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;
 }