public bool ValorizaciondanioelementoTieneReferenciaCpVenta(int idValorizacion, int idarticulodanio, int idarticuloelementodesgaste) { VwCpventadet vwCpventadet = VwCpventadetDao.Get(x => x.Idvalorizacion == idValorizacion && !x.Anulado && (x.Idarticulo == idarticulodanio || x.Idarticulo == idarticuloelementodesgaste)); return(vwCpventadet != null); }
public long CountVwCpventadet() { return(VwCpventadetDao.Count()); }
public VwCpventadet GetVwCpventadet(Expression <Func <VwCpventadet, bool> > criteria) { return(VwCpventadetDao.Get(criteria)); }
public VwCpventadet GetVwCpventadet(int id) { return(VwCpventadetDao.Get(id)); }
public List <VwCpventadet> GetAllVwCpventadet(string conditions, string orders) { return(VwCpventadetDao.GetAll(conditions, orders)); }
public List <VwCpventadet> GetAllVwCpventadet(string orders) { return(VwCpventadetDao.GetAll(orders)); }
public List <VwCpventadet> GetAllVwCpventadet(Expression <Func <VwCpventadet, bool> > criteria) { return(VwCpventadetDao.GetAll(criteria)); }
public List <VwCpventadet> GetAllVwCpventadet() { return(VwCpventadetDao.GetAll()); }
public long CountVwCpventadet(Expression <Func <VwCpventadet, bool> > criteria) { return(VwCpventadetDao.Count(criteria)); }
public bool ValorizacionTieneReferenciaCpventa(int idValorizacion) { return(VwCpventadetDao.Count(x => x.Idvalorizacion == idValorizacion && !x.Anulado) > 0); }
public bool OrdenVentaTieneReferenciaCpventa(int idOrdenVenta) { return(VwCpventadetDao.Count(x => x.Idordendeventa == idOrdenVenta) > 0); }