Пример #1
0
 private Monks.aspnet_User Create_aspnet_User(Monks.aspnet_Membership curUser)
 {
     Monks.aspnet_User user = new Monks.aspnet_User();
     user.ApplicationId = curUser.ApplicationId;
     user.IsAnonymous = false;
     user.UserId = curUser.UserId;
     user.UserName = txtUsername.Text.Trim();
     user.LoweredUserName = txtUsername.Text.ToLower().Trim();
     user.LastActivityDate = DateTime.Now;
     return user;
 }
Пример #2
0
		private void detach_aspnet_Users(aspnet_User entity)
		{
			this.SendPropertyChanging();
			entity.aspnet_Application = null;
		}