narsil/Tanshu.Accounts.Contracts/DAOFactory/UserDAO.cs

22 lines
539 B
C#
Raw Normal View History

2010-03-02 17:56:21 +00:00
using System;
using System.Collections.Generic;
using Tanshu.Accounts.Contracts;
namespace Tanshu.Accounts.DAOFactory
{
public interface IUserDAO : IDisposable
{
UserBO GetUser(Guid userID);
List<UserBO> GetUsers();
List<UserBO> GetFilteredUsers(Dictionary<string, string> filter);
bool UserExists(string userName);
bool Insert(UserBO user);
bool ChangePassword(UserBO userData, string newPassword);
bool Update(UserBO user);
bool Delete(Guid userID);
}
}