C# Class LearnLanguages.DataAccess.Mock.UserDal

Inheritance: UserDalBase
Exibir arquivo Open project: ibgib/LearnLanguages

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?

Returns Success(true) if verify user is valid, Success(false) if invalid. Throws exceptions if something bad happens.

Method Details

AddUserImpl() protected method

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

DeleteImpl() protected method

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

DeleteImpl() protected method

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

FetchImpl() protected method

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

FetchImpl() protected method

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

GetAllImpl() protected method

protected GetAllImpl ( ) : ICollection
return ICollection

GetRolesImpl() protected method

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

InsertImpl() protected method

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

NewImpl() protected method

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

UpdateImpl() protected method

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

VerifyUserImpl() protected method

Returns Success(true) if verify user is valid, Success(false) if invalid. Throws exceptions if something bad happens.
protected VerifyUserImpl ( string username, string password ) : bool?
username string
password string
return bool?