Ejemplo n.º 1
0
 /// <summary>
 /// Cập nhật một entity
 /// </summary>
 public bool Update(int id, T entity)
 {
     using (dl)
     {
         return(dl.Update(id, entity));
     }
 }
Ejemplo n.º 2
0
        protected virtual void Update()
        {
            DLBase dal = GetMapper();

            dal.Update(this);
        }