C# Class NDG.DataAccessModels.Repositories.ServerRepository

Inheritance: Repository, IServerRepository
Mostra file Open project: nokiadatagathering/WP7-Official Class Usage Examples

Public Methods

Method Description
CreateServerByAddress ( string address ) : Server
GetAllServers ( ) : System.Collections.Generic.IEnumerable
GetServerByID ( int id ) : Server
TryGetServerByAddress ( string address ) : Server

Method Details

CreateServerByAddress() public method

public CreateServerByAddress ( string address ) : Server
address string
return Server

GetAllServers() public method

public GetAllServers ( ) : System.Collections.Generic.IEnumerable
return System.Collections.Generic.IEnumerable

GetServerByID() public method

public GetServerByID ( int id ) : Server
id int
return Server

TryGetServerByAddress() public method

public TryGetServerByAddress ( string address ) : Server
address string
return Server