コード例 #1
0
 /// <summary>
 /// Método para edição de uma parcela
 /// </summary>
 /// <param name="originalEntity"></param>
 /// <param name="entity"></param>
 public void Update(Parcel original_entity, Parcel entity)
 {
     original_entity = GetParcel(original_entity.ParcelId, original_entity.CompanyId);
     original_entity.CopyPropertiesFrom(entity);
     ProcessParcel(original_entity);
     DbContext.SubmitChanges();
 }