C# Class HBM.UserManagement.Users

Keep this class simple as possible
Exibir arquivo Open project: nirshandileep/HotelManagement Class Usage Examples

Public Methods

Method Description
Delete ( ) : bool
IsDuplicateEmail ( string email, int compnayId ) : bool
IsUserAuthenticated ( string userName, string password, int &UsersId, int &compnayId ) : bool
IsUserAuthorised ( Common right ) : bool
IsUserIsDuplicateUserName ( string userName, int compnayId ) : bool
Save ( ) : bool
Select ( ) : Users
SelectAllDataset ( ) : DataSet
SelectAllList ( ) : List

Method Details

Delete() public method

public Delete ( ) : bool
return bool

IsDuplicateEmail() public method

public IsDuplicateEmail ( string email, int compnayId ) : bool
email string
compnayId int
return bool

IsUserAuthenticated() public method

public IsUserAuthenticated ( string userName, string password, int &UsersId, int &compnayId ) : bool
userName string
password string
UsersId int
compnayId int
return bool

IsUserAuthorised() public method

public IsUserAuthorised ( Common right ) : bool
right Common
return bool

IsUserIsDuplicateUserName() public method

public IsUserIsDuplicateUserName ( string userName, int compnayId ) : bool
userName string
compnayId int
return bool

Save() public method

public Save ( ) : bool
return bool

Select() public method

public Select ( ) : Users
return Users

SelectAllDataset() public method

public SelectAllDataset ( ) : DataSet
return System.Data.DataSet

SelectAllList() public method

public SelectAllList ( ) : List
return List