Method | Description | |
---|---|---|
GetInstance ( ) : |
Returns an instance of the repository class, wraps the constructor to allow for encapsulated instatiation, so the logic in he constructor can be changed without changing the client code. Reference: http://www.netobjectives.com/ezines/ez0405NetObj_PerspectivesOfUseVsCreationInOODesign.pdf
|
|
GetPopularGroups ( string category, System.Guid categoryId, int pageNumber, int pageSize, int &recordCount ) : List |
Retrieves a list of groups matching the criteria specified via method parameters.
|
Method | Description | |
---|---|---|
PopularGroupRepository ( ) : System |
Constructor.
|
public static GetInstance ( ) : |
||
return |
public GetPopularGroups ( string category, System.Guid categoryId, int pageNumber, int pageSize, int &recordCount ) : List |
||
category | string | Category name. |
categoryId | System.Guid | Category Id |
pageNumber | int | Page number. |
pageSize | int | Page size. |
recordCount | int | Record count. |
return | List |
protected PopularGroupRepository ( ) : System | ||
return | System |