public long CountVwNotacreditodet() { return(VwNotacreditodetDao.Count()); }
public bool CpCompraTieneNotaCredito(int idcpcompra) { return(VwNotacreditodetDao.Count(x => x.Idcpcompra == idcpcompra) > 0); }
public long CountVwNotacreditodet(Expression <Func <VwNotacreditodet, bool> > criteria) { return(VwNotacreditodetDao.Count(criteria)); }