C# Class FT.Model.TagRepository

Inheritance: Repository, ITagRepository
显示文件 Open project: friism/folketsting

Public Methods

Method Description
CountedTags ( int elementid, ContentType type ) : int>.Dictionary
DeleteTagsByUser ( int id, ContentType type, int userid ) : void
Find ( string query, int limit ) : IQueryable
HottestByTagName ( string name, int limit ) : string>.IDictionary
InsertTags ( IEnumerable tags, int userid, int id, ContentType type ) : void
TagCloudData ( ) : int>.Dictionary
TopShuffled ( int elementid, ContentType type ) : IEnumerable
TopSiteShuffled ( ) : IEnumerable
TotalTags ( ) : int
UserTags ( int id, int userid, ContentType type ) : IQueryable

Private Methods

Method Description
ByLaw ( int lawid ) : IQueryable

Method Details

CountedTags() public method

public CountedTags ( int elementid, ContentType type ) : int>.Dictionary
elementid int
type ContentType
return int>.Dictionary

DeleteTagsByUser() public method

public DeleteTagsByUser ( int id, ContentType type, int userid ) : void
id int
type ContentType
userid int
return void

Find() public method

public Find ( string query, int limit ) : IQueryable
query string
limit int
return IQueryable

HottestByTagName() public method

public HottestByTagName ( string name, int limit ) : string>.IDictionary
name string
limit int
return string>.IDictionary

InsertTags() public method

public InsertTags ( IEnumerable tags, int userid, int id, ContentType type ) : void
tags IEnumerable
userid int
id int
type ContentType
return void

TagCloudData() public method

public TagCloudData ( ) : int>.Dictionary
return int>.Dictionary

TopShuffled() public method

public TopShuffled ( int elementid, ContentType type ) : IEnumerable
elementid int
type ContentType
return IEnumerable

TopSiteShuffled() public method

public TopSiteShuffled ( ) : IEnumerable
return IEnumerable

TotalTags() public method

public TotalTags ( ) : int
return int

UserTags() public method

public UserTags ( int id, int userid, ContentType type ) : IQueryable
id int
userid int
type ContentType
return IQueryable