C# Class Compete.Persistence.Repositories.TeamRepository

Inheritance: ITeamRepository
Datei anzeigen Open project: aaronjensen/compete

Public Methods

Method Description
Add ( Team team ) : void
Count ( ) : int
FindById ( System.Guid id ) : Team
FindByTeamName ( string teamName ) : Team
GetAllTeams ( ) : IEnumerable
GetTeamNamesMap ( ) : string>.IDictionary
TeamRepository ( IObjectContainer objectContainer ) : System

Method Details

Add() public method

public Add ( Team team ) : void
team Compete.Model.Team
return void

Count() public method

public Count ( ) : int
return int

FindById() public method

public FindById ( System.Guid id ) : Team
id System.Guid
return Compete.Model.Team

FindByTeamName() public method

public FindByTeamName ( string teamName ) : Team
teamName string
return Compete.Model.Team

GetAllTeams() public method

public GetAllTeams ( ) : IEnumerable
return IEnumerable

GetTeamNamesMap() public method

public GetTeamNamesMap ( ) : string>.IDictionary
return string>.IDictionary

TeamRepository() public method

public TeamRepository ( IObjectContainer objectContainer ) : System
objectContainer IObjectContainer
return System