C# Class HBM.UserManagement.Roles

ファイルを表示 Open project: nirshandileep/HotelManagement Class Usage Examples

Public Methods

Method Description
Delete ( ) : bool
DeleteByRolesId ( Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
IsDuplicateRoleName ( string roleName, int compnayId ) : bool
Save ( Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
SaveRoleRights ( Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
Select ( ) : Roles
SelectAllDataset ( ) : DataSet
SelectAllList ( ) : List

Method Details

Delete() public method

public Delete ( ) : bool
return bool

DeleteByRolesId() public method

public DeleteByRolesId ( Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
db Microsoft.Practices.EnterpriseLibrary.Data.Database
transaction System.Data.Common.DbTransaction
return bool

IsDuplicateRoleName() public method

public IsDuplicateRoleName ( string roleName, int compnayId ) : bool
roleName string
compnayId int
return bool

Save() public method

public Save ( Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
db Microsoft.Practices.EnterpriseLibrary.Data.Database
transaction System.Data.Common.DbTransaction
return bool

SaveRoleRights() public method

public SaveRoleRights ( Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
db Microsoft.Practices.EnterpriseLibrary.Data.Database
transaction System.Data.Common.DbTransaction
return bool

Select() public method

public Select ( ) : Roles
return Roles

SelectAllDataset() public method

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

SelectAllList() public method

public SelectAllList ( ) : List
return List