Ejemplo n.º 1
0
        public bool Delete(Expression <Func <T, bool> > where = null)
        {
            if (where != null)
            {
                sql.Delete(where);
            }
            else
            {
                sql.Delete();
            }

            int count = this.Execute();

            return(count > 0 ? true : false);
        }