예제 #1
0
        public void Insert(Guid ApplicationId, Guid UserId, string UserName, string LoweredUserName, string MobileAlias, bool IsAnonymous, DateTime LastActivityDate)
        {
            AspnetUser item = new AspnetUser();

            item.ApplicationId = ApplicationId;

            item.UserId = UserId;

            item.UserName = UserName;

            item.LoweredUserName = LoweredUserName;

            item.MobileAlias = MobileAlias;

            item.IsAnonymous = IsAnonymous;

            item.LastActivityDate = LastActivityDate;


            item.Save(UserName);
        }
예제 #2
0
 public bool Destroy(object UserId)
 {
     return(AspnetUser.Destroy(UserId) == 1);
 }
예제 #3
0
 public bool Delete(object UserId)
 {
     return(AspnetUser.Delete(UserId) == 1);
 }