C# Class AccountProfile.Models.ProfileRepository

Inheritance: IProfileRepository
Show file Open project: jeffreypalermo/mvc2inaction Class Usage Examples

Public Methods

Method Description
Add ( Profile profile ) : void
Find ( ) : IQueryable
Find ( string username ) : Profile
GetAll ( ) : IEnumerable
GetAll ( ) : AccountProfile.Models.Profile[]

Private Methods

Method Description
ProfileRepository ( ) : System

Method Details

Add() public method

public Add ( Profile profile ) : void
profile Profile
return void

Find() public method

public Find ( ) : IQueryable
return IQueryable

Find() public method

public Find ( string username ) : Profile
username string
return Profile

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetAll() public method

public GetAll ( ) : AccountProfile.Models.Profile[]
return AccountProfile.Models.Profile[]