C# Class DAL.ActHandler

Inheritance: IActHandler
Mostra file Open project: GHY-ORG/Firewood

Public Methods

Method Description
Create ( Activity act ) : bool
Delete ( System.Guid actid ) : bool
DeleteByOrgID ( System.Guid orgid ) : bool
GetActByAward ( int n, int page ) : List
GetActByBeginTime ( int n, int page ) : List
GetActByClass1 ( string class1, int n, int page ) : List
GetActByClass2 ( string class2, int n, int page ) : List
GetActByEndTime ( int n, int page ) : List
GetActByID ( System.Guid actid ) : Activity
GetActByMoney ( int n, int page ) : List
GetActByOrgID ( System.Guid orgid, int n, int page ) : List
GetActByPlace ( string place, int n, int page ) : List
GetActByScore ( int n, int page ) : List
GetActByTitle ( string title, int n, int page ) : List
GetActByVote ( int n, int page ) : List
GetActCount ( System.Guid orgid ) : int
GetAll ( int n, int page ) : List

Method Details

Create() public method

public Create ( Activity act ) : bool
act DataSource.Models.Activity
return bool

Delete() public method

public Delete ( System.Guid actid ) : bool
actid System.Guid
return bool

DeleteByOrgID() public method

public DeleteByOrgID ( System.Guid orgid ) : bool
orgid System.Guid
return bool

GetActByAward() public method

public GetActByAward ( int n, int page ) : List
n int
page int
return List

GetActByBeginTime() public method

public GetActByBeginTime ( int n, int page ) : List
n int
page int
return List

GetActByClass1() public method

public GetActByClass1 ( string class1, int n, int page ) : List
class1 string
n int
page int
return List

GetActByClass2() public method

public GetActByClass2 ( string class2, int n, int page ) : List
class2 string
n int
page int
return List

GetActByEndTime() public method

public GetActByEndTime ( int n, int page ) : List
n int
page int
return List

GetActByID() public method

public GetActByID ( System.Guid actid ) : Activity
actid System.Guid
return DataSource.Models.Activity

GetActByMoney() public method

public GetActByMoney ( int n, int page ) : List
n int
page int
return List

GetActByOrgID() public method

public GetActByOrgID ( System.Guid orgid, int n, int page ) : List
orgid System.Guid
n int
page int
return List

GetActByPlace() public method

public GetActByPlace ( string place, int n, int page ) : List
place string
n int
page int
return List

GetActByScore() public method

public GetActByScore ( int n, int page ) : List
n int
page int
return List

GetActByTitle() public method

public GetActByTitle ( string title, int n, int page ) : List
title string
n int
page int
return List

GetActByVote() public method

public GetActByVote ( int n, int page ) : List
n int
page int
return List

GetActCount() public method

public GetActCount ( System.Guid orgid ) : int
orgid System.Guid
return int

GetAll() public method

public GetAll ( int n, int page ) : List
n int
page int
return List