public override Task <int> SaveChangesAsync(bool acceptAllChangesOnSuccess, CancellationToken cancellationToken = default(CancellationToken)) { DefaultPropertiesConfig.SaveDefaultPropertiesChanges(ChangeTracker); return(base.SaveChangesAsync(acceptAllChangesOnSuccess, cancellationToken)); }
public override int SaveChanges() { // Adiciono as propriedades padrĂ£o para serem tratadas na hora de salvar. DefaultPropertiesConfig.SaveDefaultPropertiesChanges(ChangeTracker); return(base.SaveChanges()); }