C# Class Igman.DB.BLL.DBBL

Inheritance: IDisposable
Datei anzeigen Open project: fitba/km-2013-projects-team-igman Class Usage Examples

Public Properties

Property Type Description
context Igman.DB.DAL.DBEntities

Public Methods

Method Description
AddKomentar ( Comment c ) : void
AddQuestion ( Question pitanje ) : void
AddRating ( ArticlesRating ar ) : void
AddTag ( Tag t ) : Tag
AddUser ( User u ) : User
AddWiki ( Article a ) : Article
Add_Answer ( Answer a ) : void
Add_Comment ( Comment c ) : void
ClearTagsAndCategiry ( int p ) : void
DBBL ( ) : System
Dispose ( ) : void
EditWiki ( Article a ) : Article
GetAI ( string args ) : List
GetAllQuestios ( ) : List
GetAllWikis ( ) : List
GetBrojQA ( ) : int
GetBrojUsera ( ) : int
GetBrojWiki ( ) : int
GetCategotyById ( int p ) : Category
GetComments ( int id ) : IEnumerable
GetDaliSteMilili ( string args ) : List
GetKatogorije ( ) : List
GetPitanja ( string args ) : IEnumerable
GetQuestionByID ( int id ) : Question
GetQuestionZaPreporuku ( User a ) : Question
GetRoleByID ( int p ) : Role
GetTagByID ( int p ) : Tag
GetTagByIDWikis ( int strana, int p ) : List
GetTags ( string query ) : List
GetUserByEmail ( string p ) : User
GetUserByUserAndPass ( string User, string Pass ) : User
GetWikiByID ( int p ) : Article
IncetrementLikes ( ArticlesLike al ) : void
IncetrementLikesQuestion ( QuestionLike q ) : void
IncremenViews ( int p ) : void
PretragaWiki ( string args, string scor, int strana ) : List
Update_Question ( Question q ) : void
UzmiPitanja ( string tab ) : IEnumerable
get_questionsIDs ( int id ) : List
get_questionsIDsTags ( int id ) : List
usp_GetRoleByUserID ( int UserID ) : Role

Method Details

AddKomentar() public method

public AddKomentar ( Comment c ) : void
c Igman.DB.DAL.Comment
return void

AddQuestion() public method

public AddQuestion ( Question pitanje ) : void
pitanje Igman.DB.DAL.Question
return void

AddRating() public method

public AddRating ( ArticlesRating ar ) : void
ar Igman.DB.DAL.ArticlesRating
return void

AddTag() public method

public AddTag ( Tag t ) : Tag
t Igman.DB.DAL.Tag
return Igman.DB.DAL.Tag

AddUser() public method

public AddUser ( User u ) : User
u User
return User

AddWiki() public method

public AddWiki ( Article a ) : Article
a Igman.DB.DAL.Article
return Igman.DB.DAL.Article

Add_Answer() public method

public Add_Answer ( Answer a ) : void
a Igman.DB.DAL.Answer
return void

Add_Comment() public method

public Add_Comment ( Comment c ) : void
c Igman.DB.DAL.Comment
return void

ClearTagsAndCategiry() public method

public ClearTagsAndCategiry ( int p ) : void
p int
return void

DBBL() public method

public DBBL ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

EditWiki() public method

public EditWiki ( Article a ) : Article
a Igman.DB.DAL.Article
return Igman.DB.DAL.Article

GetAI() public method

public GetAI ( string args ) : List
args string
return List

GetAllQuestios() public method

public GetAllQuestios ( ) : List
return List

GetAllWikis() public method

public GetAllWikis ( ) : List
return List

GetBrojQA() public method

public GetBrojQA ( ) : int
return int

GetBrojUsera() public method

public GetBrojUsera ( ) : int
return int

GetBrojWiki() public method

public GetBrojWiki ( ) : int
return int

GetCategotyById() public method

public GetCategotyById ( int p ) : Category
p int
return Igman.DB.DAL.Category

GetComments() public method

public GetComments ( int id ) : IEnumerable
id int
return IEnumerable

GetDaliSteMilili() public method

public GetDaliSteMilili ( string args ) : List
args string
return List

GetKatogorije() public method

public GetKatogorije ( ) : List
return List

GetPitanja() public method

public GetPitanja ( string args ) : IEnumerable
args string
return IEnumerable

GetQuestionByID() public method

public GetQuestionByID ( int id ) : Question
id int
return Igman.DB.DAL.Question

GetQuestionZaPreporuku() public method

public GetQuestionZaPreporuku ( User a ) : Question
a User
return Igman.DB.DAL.Question

GetRoleByID() public method

public GetRoleByID ( int p ) : Role
p int
return Igman.DB.DAL.Role

GetTagByID() public method

public GetTagByID ( int p ) : Tag
p int
return Igman.DB.DAL.Tag

GetTagByIDWikis() public method

public GetTagByIDWikis ( int strana, int p ) : List
strana int
p int
return List

GetTags() public method

public GetTags ( string query ) : List
query string
return List

GetUserByEmail() public method

public GetUserByEmail ( string p ) : User
p string
return User

GetUserByUserAndPass() public method

public GetUserByUserAndPass ( string User, string Pass ) : User
User string
Pass string
return User

GetWikiByID() public method

public GetWikiByID ( int p ) : Article
p int
return Igman.DB.DAL.Article

IncetrementLikes() public method

public IncetrementLikes ( ArticlesLike al ) : void
al Igman.DB.DAL.ArticlesLike
return void

IncetrementLikesQuestion() public method

public IncetrementLikesQuestion ( QuestionLike q ) : void
q Igman.DB.DAL.QuestionLike
return void

IncremenViews() public method

public IncremenViews ( int p ) : void
p int
return void

PretragaWiki() public method

public PretragaWiki ( string args, string scor, int strana ) : List
args string
scor string
strana int
return List

Update_Question() public method

public Update_Question ( Question q ) : void
q Igman.DB.DAL.Question
return void

UzmiPitanja() public method

public UzmiPitanja ( string tab ) : IEnumerable
tab string
return IEnumerable

get_questionsIDs() public method

public get_questionsIDs ( int id ) : List
id int
return List

get_questionsIDsTags() public method

public get_questionsIDsTags ( int id ) : List
id int
return List

usp_GetRoleByUserID() public method

public usp_GetRoleByUserID ( int UserID ) : Role
UserID int
return Igman.DB.DAL.Role

Property Details

context public_oe property

public DBEntities,Igman.DB.DAL context
return Igman.DB.DAL.DBEntities