Skip to content

Conversation

@SPEMoorthy
Copy link
Collaborator

No description provided.

DarkXoro and others added 30 commits March 9, 2021 16:11
- Also removed Newtonsoft.Json
- Updated sample project to use 5.0
- Auto migrate database for sample project on creation
Usage Example:

var addedEntries = this.ChangeTracker
                                   .Entries()
                                   .Where(e => e.State == EntityState.Added)
                                   .ToArray();
dbContext.EnsureAutoHistory();
dbContext.SaveChanges();
dbContext.EnsureAddedHistory(addedEntries);
dbContext.SaveChanges();
Extended DbContextExtensions with "EnsureAddedHistory".
feat: add default value for EnableAutoHistory
…eFromHistory].

Changed context and demo to support new "private" field
Added Tests.
…ribute

Added option to exclude properties through attribute
update readme with exluded from history attribute
Extended README.md with "EnsureAddedHistory" documentation
add option for JsonSerializerOptions
fix JsonSerializerOptions not effective
 we can avoid folder rename on future upgrades
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants