public TagRegistrationDto GetByTagId(int Id) { TagRegistrationDto result = new TagRegistrationDto(); MyDataSet ds = new MyDataSet(); ds.EnforceConstraints = false; DbTools.SelectQuery( FireBirdConnection.Connection, ds.TagRegistration, string.Format(UrgentAppQueries.TAGREGISTRATION_SELECT_BYTAGID, Id)); result = baseMapper.BindData <TagRegistrationDto>(ds.TagRegistration); return(result); }
public TagEventTypeDto GetById(int Id) { MyDataSet ds = new MyDataSet(); ds.EnforceConstraints = false; DbTools.SelectQuery( FireBirdConnection.Connection, ds.TagEventType, string.Format(UrgentAppQueries.TAGEVENTTYPE_SELECT_BYID, Id)); TagEventTypeDto result = baseMapper.BindData <TagEventTypeDto>(ds.Patient); return(result); }