C# Class drug.DBConnection

Exibir arquivo Open project: hres/api-dpd

Private Properties

Property Type Description

Public Methods

Method Description
DBConnection ( string lang ) : drug
GetActiveIngredientById ( int id, string lang ) : ActiveIngredient
GetAllActiveIngredient ( string lang ) : List
GetAllCompany ( string lang ) : List
GetAllDrugProduct ( string lang ) : List
GetAllDrugVeterinarySpecies ( string lang ) : List
GetAllForm ( string lang ) : List
GetAllPackaging ( string lang ) : List
GetAllRoute ( string lang ) : List
GetAllSchedule ( string lang ) : List
GetAllStatus ( string lang ) : List
GetAllStatusExternal ( string lang ) : List
GetAllTherapeuticClass ( string lang ) : List
GetBySearchCriteria ( string din, string brandname, string company, string lang ) : List
GetCompanyByCompanyCode ( int id, string lang ) : Company
GetDrugProductById ( int id, string lang ) : DrugProduct
GetDrugVeterinarySpeciesByDrugCode ( int id, string lang ) : DrugVeterinarySpecies
GetFormByDrugCode ( int id, string lang ) : Form
GetPackagingByDrugCode ( int id, string lang ) : Packaging
GetRouteByDrugCode ( int id, string lang ) : Route
GetScheduleByDrugCode ( int id, string lang ) : Schedule
GetStatusByDrugCode ( int id, string lang ) : Status
GetStatusExternalByStatusCode ( int id, string lang ) : StatusExternal
GetTherapeuticClassByDrugCode ( int id, string lang ) : TherapeuticClass

Method Details

DBConnection() public method

public DBConnection ( string lang ) : drug
lang string
return drug

GetActiveIngredientById() public method

public GetActiveIngredientById ( int id, string lang ) : ActiveIngredient
id int
lang string
return DpdWebApi.Models.ActiveIngredient

GetAllActiveIngredient() public method

public GetAllActiveIngredient ( string lang ) : List
lang string
return List

GetAllCompany() public method

public GetAllCompany ( string lang ) : List
lang string
return List

GetAllDrugProduct() public method

public GetAllDrugProduct ( string lang ) : List
lang string
return List

GetAllDrugVeterinarySpecies() public method

public GetAllDrugVeterinarySpecies ( string lang ) : List
lang string
return List

GetAllForm() public method

public GetAllForm ( string lang ) : List
lang string
return List

GetAllPackaging() public method

public GetAllPackaging ( string lang ) : List
lang string
return List

GetAllRoute() public method

public GetAllRoute ( string lang ) : List
lang string
return List

GetAllSchedule() public method

public GetAllSchedule ( string lang ) : List
lang string
return List

GetAllStatus() public method

public GetAllStatus ( string lang ) : List
lang string
return List

GetAllStatusExternal() public method

public GetAllStatusExternal ( string lang ) : List
lang string
return List

GetAllTherapeuticClass() public method

public GetAllTherapeuticClass ( string lang ) : List
lang string
return List

GetBySearchCriteria() public method

public GetBySearchCriteria ( string din, string brandname, string company, string lang ) : List
din string
brandname string
company string
lang string
return List

GetCompanyByCompanyCode() public method

public GetCompanyByCompanyCode ( int id, string lang ) : Company
id int
lang string
return DpdWebApi.Models.Company

GetDrugProductById() public method

public GetDrugProductById ( int id, string lang ) : DrugProduct
id int
lang string
return DpdWebApi.Models.DrugProduct

GetDrugVeterinarySpeciesByDrugCode() public method

public GetDrugVeterinarySpeciesByDrugCode ( int id, string lang ) : DrugVeterinarySpecies
id int
lang string
return DpdWebApi.Models.DrugVeterinarySpecies

GetFormByDrugCode() public method

public GetFormByDrugCode ( int id, string lang ) : Form
id int
lang string
return DpdWebApi.Models.Form

GetPackagingByDrugCode() public method

public GetPackagingByDrugCode ( int id, string lang ) : Packaging
id int
lang string
return DpdWebApi.Models.Packaging

GetRouteByDrugCode() public method

public GetRouteByDrugCode ( int id, string lang ) : Route
id int
lang string
return Route

GetScheduleByDrugCode() public method

public GetScheduleByDrugCode ( int id, string lang ) : Schedule
id int
lang string
return DpdWebApi.Models.Schedule

GetStatusByDrugCode() public method

public GetStatusByDrugCode ( int id, string lang ) : Status
id int
lang string
return DpdWebApi.Models.Status

GetStatusExternalByStatusCode() public method

public GetStatusExternalByStatusCode ( int id, string lang ) : StatusExternal
id int
lang string
return DpdWebApi.Models.StatusExternal

GetTherapeuticClassByDrugCode() public method

public GetTherapeuticClassByDrugCode ( int id, string lang ) : TherapeuticClass
id int
lang string
return DpdWebApi.Models.TherapeuticClass