C# Class BB.DAL.EFOrganisation.OrganisationRepository

Inheritance: IOrganisationRepository
显示文件 Open project: BeatBuddy/beatbuddy_webapp

Public Methods

Method Description
CreateOrganisation ( Organisation organisation, User user ) : Organisation
DeleteOrganisation ( long organisationId ) : Organisation
OrganisationRepository ( EFDbContext context ) : System
ReadOrganisation ( long organisationId ) : Organisation
ReadOrganisation ( string organisationName ) : Organisation
ReadOrganisationForPlaylist ( long playlistId ) : Organisation
ReadOrganisationWithPlaylistsAndTracks ( long organisationId ) : Organisation
ReadOrganisationWithPlaylistsAndVotes ( long organisationId ) : Organisation
ReadOrganisations ( ) : IEnumerable
ReadOrganisationsForUser ( long userId ) : IEnumerable
SearchOrganisations ( string prefix ) : IEnumerable
UpdateOrganisation ( Organisation organisation ) : Organisation

Method Details

CreateOrganisation() public method

public CreateOrganisation ( Organisation organisation, User user ) : Organisation
organisation BB.BL.Domain.Organisations.Organisation
user BB.BL.Domain.Users.User
return BB.BL.Domain.Organisations.Organisation

DeleteOrganisation() public method

public DeleteOrganisation ( long organisationId ) : Organisation
organisationId long
return BB.BL.Domain.Organisations.Organisation

OrganisationRepository() public method

public OrganisationRepository ( EFDbContext context ) : System
context EFDbContext
return System

ReadOrganisation() public method

public ReadOrganisation ( long organisationId ) : Organisation
organisationId long
return BB.BL.Domain.Organisations.Organisation

ReadOrganisation() public method

public ReadOrganisation ( string organisationName ) : Organisation
organisationName string
return BB.BL.Domain.Organisations.Organisation

ReadOrganisationForPlaylist() public method

public ReadOrganisationForPlaylist ( long playlistId ) : Organisation
playlistId long
return BB.BL.Domain.Organisations.Organisation

ReadOrganisationWithPlaylistsAndTracks() public method

public ReadOrganisationWithPlaylistsAndTracks ( long organisationId ) : Organisation
organisationId long
return BB.BL.Domain.Organisations.Organisation

ReadOrganisationWithPlaylistsAndVotes() public method

public ReadOrganisationWithPlaylistsAndVotes ( long organisationId ) : Organisation
organisationId long
return BB.BL.Domain.Organisations.Organisation

ReadOrganisations() public method

public ReadOrganisations ( ) : IEnumerable
return IEnumerable

ReadOrganisationsForUser() public method

public ReadOrganisationsForUser ( long userId ) : IEnumerable
userId long
return IEnumerable

SearchOrganisations() public method

public SearchOrganisations ( string prefix ) : IEnumerable
prefix string
return IEnumerable

UpdateOrganisation() public method

public UpdateOrganisation ( Organisation organisation ) : Organisation
organisation BB.BL.Domain.Organisations.Organisation
return BB.BL.Domain.Organisations.Organisation