Skip to content

Version 2.5.5

Compare
Choose a tag to compare
@tonysneed tonysneed released this 30 Aug 08:09

Included in NuGet package: Trackable Entities Client 2.5.5.

This release resolves the following issues / pull requests:

  • #119: 1-M, M-M problems
    • Updated sample with commit c8c0248, which has a workaround to make entities play nice with IEditableObject.
  • #122: Deleting one-to-one relationships
    • GetChanges should not decide whether to include or exclude the deleted child node depending on the state of its master. Thus if a node is marked as anything besides Unchanged, then it should be returned.
    • Fixed with PR #123.
  • #133: Cannot find DbContext if Context doesn't inherit from DbContext directly
    • Fixed with PR #134: TrackableEntities.ItemWizard/ModelReflectionHelper.cs.
    • The VSIX installer for VS 2015 will need to be rebuilt to include this change.
  • #131: add/delete many-to-many Problem
    • Fixed with PR #135. Fixed T4 templates so that many-to-many property setters set the Parent property on the related collection. This ensures that the parent entity remains unchanged when children in M-M relations are added or removed.
    • Updated NuGet packages for T4 templates and released to NuGet.org.
  • #132: After removing an item that has Added state it goes to the _deleted internal collection with state Unchanged
    • Fixed with PR #137. Updated RemoveItem method in ChangeTrackingCollection so that added m-m items are not cached when removed from the collection.