C# Class NDG.DataAccessModels.Repositories.UserRepository

Inheritance: Repository, IUserRepository
Datei anzeigen Open project: nokiadatagathering/WP7-Official Class Usage Examples

Public Methods

Method Description
AddNewUser ( User user ) : User
ResetCurrentUser ( ) : void
SetUserToCurrentByUserID ( int id ) : void
TryGetCurrentUser ( ) : User
TryGetUserByNamePasswordAndServerID ( string userName, string password, int serverID ) : User
UserRepository ( ) : System

Method Details

AddNewUser() public method

public AddNewUser ( User user ) : User
user User
return User

ResetCurrentUser() public method

public ResetCurrentUser ( ) : void
return void

SetUserToCurrentByUserID() public method

public SetUserToCurrentByUserID ( int id ) : void
id int
return void

TryGetCurrentUser() public method

public TryGetCurrentUser ( ) : User
return User

TryGetUserByNamePasswordAndServerID() public method

public TryGetUserByNamePasswordAndServerID ( string userName, string password, int serverID ) : User
userName string
password string
serverID int
return User

UserRepository() public method

public UserRepository ( ) : System
return System