Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* Updated database design where BLOB columns have been replaced with TEXT columns to store XML instead. * Replaced BinaryConverter with XmlSerializers. ** This will make 'fingerprints' of ProjectEntity more stable across commits as Binary serialization by .Net framework stores assembly version in the serialized data. Our version code is commit dependent therefore each commit would generated a different fingerprint even though the data it's based upon isn't changed. Xml Serialization does not suffer from this side-effect. ** Common serialization code now stored in an abstract base-class. * Renamed FingerprintGenerator to FingerprintHelper. * Moved BinaryDataEqualityHelper into FingerprintHelper. Related to Issue [WTI-608]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@4586 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f437b8ddad5967e75926045e9222a96104f870c2

Former-commit-id: 430b6e35a488ad078d7a473d79b50f19b0a08240

  1. … 81 more files in changeset.
* Refactored out IStoreProject.SaveProject to be fully replaced by SaveProjectAs in usage. * Added 'StageProject' concept to IStoreProject, such that changes to a saved project can be detected quickly. * Introduced FingerprintGenerator to create a almost hashcode for a given ProjectEntity. Can be used to quickly detect changes. ** Fingerprints are now stored in the database for this purpose. * Ensured all string properties of Entities do not share references by DeepCloning values.

Related to Issue [WTI-608]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@4558 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 49a7cc4b00fd77a07de44a75500a355a234a7a20

Former-commit-id: 1a5ca946745b2bf7cec28bfaa28b2f41ba3cd6b1

    • -0
    • +64
    ./FingerprintGenerator.cs
  1. … 56 more files in changeset.