C# Class NDG.DataAccessModels.Repositories.ServerRepository

Inheritance: Repository, IServerRepository
Afficher le fichier Open project: nokiadatagathering/WP7-Official Class Usage Examples

Méthodes publiques

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

Method Details

CreateServerByAddress() public méthode

public CreateServerByAddress ( string address ) : Server
address string
Résultat Server

GetAllServers() public méthode

public GetAllServers ( ) : System.Collections.Generic.IEnumerable
Résultat System.Collections.Generic.IEnumerable

GetServerByID() public méthode

public GetServerByID ( int id ) : Server
id int
Résultat Server

TryGetServerByAddress() public méthode

public TryGetServerByAddress ( string address ) : Server
address string
Résultat Server