C# Class EnterpriseProject.Models.FriendshipRepository

显示文件 Open project: feedme/FeedMe

Public Methods

Method Description
Add ( Friendship f ) : void
GetFriendship ( System.Guid FriendshipId ) : Friendship
ListAllFriendships ( System.Guid UserId ) : IQueryable
Save ( ) : void

Method Details

Add() public method

public Add ( Friendship f ) : void
f Friendship
return void

GetFriendship() public method

public GetFriendship ( System.Guid FriendshipId ) : Friendship
FriendshipId System.Guid
return Friendship

ListAllFriendships() public method

public ListAllFriendships ( System.Guid UserId ) : IQueryable
UserId System.Guid
return IQueryable

Save() public method

public Save ( ) : void
return void