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

            DbContext.Update(entity);
        }
コード例 #2
0
 public virtual void Update <TEntity>(TEntity entity) where TEntity : class
 {
     DbContext.Update(entity);
 }