C# Class mvchomework.Service.MessageList

显示文件 Open project: CowellRD/Derrick

Public Properties

Property Type Description
db mvchomework.Models.MVCTESTEntities

Public Methods

Method Description
AddArticle ( ARTICLE article ) : IEnumerable
AddForum ( string TITLE ) : void
AddReply ( ARTICLEREPLY freply ) : void
GetArticleDetail ( int ID ) : IEnumerable
GetBoardList ( int ID ) : IEnumerable
GetDetail ( int ID ) : IEnumerable
GetList ( ) : IEnumerable
GetReplyList ( int ID ) : IEnumerable

Method Details

AddArticle() public method

public AddArticle ( ARTICLE article ) : IEnumerable
article mvchomework.Models.ARTICLE
return IEnumerable

AddForum() public method

public AddForum ( string TITLE ) : void
TITLE string
return void

AddReply() public method

public AddReply ( ARTICLEREPLY freply ) : void
freply mvchomework.Models.ARTICLEREPLY
return void

GetArticleDetail() public method

public GetArticleDetail ( int ID ) : IEnumerable
ID int
return IEnumerable

GetBoardList() public method

public GetBoardList ( int ID ) : IEnumerable
ID int
return IEnumerable

GetDetail() public method

public GetDetail ( int ID ) : IEnumerable
ID int
return IEnumerable

GetList() public method

public GetList ( ) : IEnumerable
return IEnumerable

GetReplyList() public method

public GetReplyList ( int ID ) : IEnumerable
ID int
return IEnumerable

Property Details

db public_oe property

public MVCTESTEntities,mvchomework.Models db
return mvchomework.Models.MVCTESTEntities