public void Insert(int IdOrden, int IdProtocolo, int IdEfector)
        {
            FacOrdenLaboratorio item = new FacOrdenLaboratorio();

            item.IdOrden = IdOrden;

            item.IdProtocolo = IdProtocolo;

            item.IdEfector = IdEfector;


            item.Save(UserName);
        }
        public void Update(int IdOrdenLaboratorio, int IdOrden, int IdProtocolo, int IdEfector)
        {
            FacOrdenLaboratorio item = new FacOrdenLaboratorio();

            item.MarkOld();
            item.IsLoaded = true;

            item.IdOrdenLaboratorio = IdOrdenLaboratorio;

            item.IdOrden = IdOrden;

            item.IdProtocolo = IdProtocolo;

            item.IdEfector = IdEfector;

            item.Save(UserName);
        }
 public bool Destroy(object IdOrdenLaboratorio)
 {
     return(FacOrdenLaboratorio.Destroy(IdOrdenLaboratorio) == 1);
 }
 public bool Delete(object IdOrdenLaboratorio)
 {
     return(FacOrdenLaboratorio.Delete(IdOrdenLaboratorio) == 1);
 }