C# Class LearnLanguages.DataAccess.UserDalBase

This class wraps every IUserIdentityDal with a try..catch wrapper block that does the wrapping for each call. The descending classes only need to implement the
Inheritance: IUserDal
Mostrar archivo Open project: ibgib/LearnLanguages

Public Methods

Method Description
AddUser ( Csla criteria ) : Result
Delete ( System.Guid id ) : Result
Delete ( string username ) : Result
Fetch ( System.Guid id ) : Result
Fetch ( string username ) : Result
GetAll ( ) : Result>
GetRoles ( string username ) : Result>
Insert ( UserDto dto ) : Result
New ( object criteria ) : Result
Update ( UserDto dto ) : Result
VerifyUser ( string username, string password ) : Result

Protected Methods

Method Description
AddUserImpl ( Csla criteria ) : UserDto
DeleteImpl ( System.Guid id ) : UserDto
DeleteImpl ( string username ) : bool?
FetchImpl ( System.Guid id ) : UserDto
FetchImpl ( string username ) : UserDto
GetAllImpl ( ) : ICollection
GetRolesImpl ( string username ) : ICollection
InsertImpl ( UserDto dto ) : UserDto
NewImpl ( object criteria ) : UserDto
UpdateImpl ( UserDto dto ) : UserDto
VerifyUserImpl ( string username, string password ) : bool?

Method Details

AddUser() public method

public AddUser ( Csla criteria ) : Result
criteria Csla
return Result

AddUserImpl() protected abstract method

protected abstract AddUserImpl ( Csla criteria ) : UserDto
criteria Csla
return UserDto

Delete() public method

public Delete ( System.Guid id ) : Result
id System.Guid
return Result

Delete() public method

public Delete ( string username ) : Result
username string
return Result

DeleteImpl() protected abstract method

protected abstract DeleteImpl ( System.Guid id ) : UserDto
id System.Guid
return UserDto

DeleteImpl() protected abstract method

protected abstract DeleteImpl ( string username ) : bool?
username string
return bool?

Fetch() public method

public Fetch ( System.Guid id ) : Result
id System.Guid
return Result

Fetch() public method

public Fetch ( string username ) : Result
username string
return Result

FetchImpl() protected abstract method

protected abstract FetchImpl ( System.Guid id ) : UserDto
id System.Guid
return UserDto

FetchImpl() protected abstract method

protected abstract FetchImpl ( string username ) : UserDto
username string
return UserDto

GetAll() public method

public GetAll ( ) : Result>
return Result>

GetAllImpl() protected abstract method

protected abstract GetAllImpl ( ) : ICollection
return ICollection

GetRoles() public method

public GetRoles ( string username ) : Result>
username string
return Result>

GetRolesImpl() protected abstract method

protected abstract GetRolesImpl ( string username ) : ICollection
username string
return ICollection

Insert() public method

public Insert ( UserDto dto ) : Result
dto UserDto
return Result

InsertImpl() protected abstract method

protected abstract InsertImpl ( UserDto dto ) : UserDto
dto UserDto
return UserDto

New() public method

public New ( object criteria ) : Result
criteria object
return Result

NewImpl() protected abstract method

protected abstract NewImpl ( object criteria ) : UserDto
criteria object
return UserDto

Update() public method

public Update ( UserDto dto ) : Result
dto UserDto
return Result

UpdateImpl() protected abstract method

protected abstract UpdateImpl ( UserDto dto ) : UserDto
dto UserDto
return UserDto

VerifyUser() public method

public VerifyUser ( string username, string password ) : Result
username string
password string
return Result

VerifyUserImpl() protected abstract method

protected abstract VerifyUserImpl ( string username, string password ) : bool?
username string
password string
return bool?