public virtual void Remove <TEntity>(TEntity entity) where TEntity : class
        {
            // todo: Add code related to remove entity before to commit changes in database

            DbContext.Remove(entity);
        }
Ejemplo n.º 2
0
 public virtual void Remove <TEntity>(TEntity entity) where TEntity : class
 {
     DbContext.Remove(entity);
 }