3
I Use This!
Inactive

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Oct 09, 2024 — Oct 09, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Fixed Bug #1739 - When a Timespan value is loaded from the database, the day information is lost More... over 14 years ago
Fixed #1740 (byte[] is not supported by the data mappers) Added a ByteArrayDataMapper to convert byte[] types to/from strings (using mime64). Updated the default DataMapperFactory to include this mapper. Added tests for these. More... over 14 years ago
Fixed Bug #1738 - The SQL Formatter is dropping day information from TimeSpans More... over 14 years ago
Work on #1734 (Create a criteria from an expression tree) Added a Create method on Criteria that takes an expression tree and builds a Criteria object. Still working on this, some tests in TestCriteria_Create.cs are ignored. More... over 14 years ago
Work on #1784 (AddRange method on KeyDefCol) Added test for null in KeyDefCol AddRange and tested More... over 14 years ago
Work on #1784 (AddRange method on KeyDefCol) Added AddRange method on KeyDefCol Re-factored code in KeyDefColIncludingInheritance to use KeyDefCol.AddRange More... over 14 years ago
Completed #1783 (Need a way to get all keys for classdef including inherited keys) Added test for existence of KeyDef before adding to KeyDefCol in KeyDefColIncludingInheritance. Re-factored KeyDef addition loop into AddKeyDefCol method More... over 14 years ago
Work on #1783 (Need a way to get all keys for classdef including inherited keys) Added KeyDefColIncludingInheritance and tested. More... over 14 years ago
Work on #1729 (Serialising/deserialising to/from custom xml - when going across tiers) Created a BusinessObjectXmlReader and BusinessObjectXmlWriter that does the core conversion to and from xml. This is now used by DataStoreInMemoryXmlReader/Writer and ObjectTreeXmlReader Added lots of comments for DataStoreInMemoryXmlReader and DataStoreInMemoryXmlWriter. Added tests for ObjectTreeXmlReader, the class the implements the requested feature. More... over 14 years ago
Work on #1729 (Serialising/deserialising to/from custom xml - when going across tiers) Created an ObjectTreeXmlReader class which is a copy of the DataStoreInMemoryXmlReader for use with deserialising a stream that consists of unpersisted objects. More... over 14 years ago
Completed #1725 (ISqlStatementCollection can be replaced with IEnumerable<ISqlStatement>) Completed #1726 (CreateSqlStatement method on IDatabaseConnection) Removed ISqlStatementCollection and SqlStatementCollection. Changed the ExecuteSql methods on IDatabaseConnection to use an IEnumerable<ISqlStatement> instead of the ISqlStatementCollection Added a CreateSqlStatement method to IDatabaseConnection and implemented it on DatabaseConnection More... over 14 years ago
Code Beautification More... over 14 years ago
Worked on #1727 (NumberGeneratorPessimisticLocking skipping numbers when exception occurs during persisting) Pessimistic concurrencyControl added some methods to make testing easier More... over 14 years ago
Work on #1723 (Load a result set directly using an ISelectQuery (without using a BusinessObjectCollection) Added support for sorting when using the BusinessObjectLoaderInMemory Refactored OrderCriteria a little - changed the FromString method to be static like it is for Criteria, Source etc. More... over 14 years ago
Worked on #1727 (NumberGeneratorPessimisticLocking skipping numbers when exception occurs during persisting) Renamed method More... over 14 years ago
Worked on #1727 (NumberGeneratorPessimisticLocking skipping numbers when exception occurs during persisting) Fixed Failing Tests resulting from previous Changes to the Pessimistic Locking More... over 14 years ago
Worked on #1727 (NumberGeneratorPessimisticLocking skipping numbers when exception occurs during persisting) Try to fix issue with PessimisticLockingDB not unlocking when the transaction fails. More... over 14 years ago
Code Beautification More... over 14 years ago
Code tidy up More... over 14 years ago
Worked on #1727 (NumberGeneratorPessimisticLocking skipping numbers when exception occurs during persisting) Changed NumberGeneratorPessimisticLocking construction so that it loads the ClassDefs for BOSequenceNumberLocking if required. This change has been made so that NumberGeneratorPessimisticLocking works similarly to NumberGenerator. More... over 14 years ago
Added an overload for TestUtil.GetRandomString that takes a length parameter. More... over 14 years ago
Code Beautification More... over 14 years ago
Code beautification More... over 14 years ago
Worked on #1724 (BOPropDataMapper classes should be decoupled from PropDef etc) Moved all the BOPropDataMapper classes to Habanero.Base and renamed them all to DataMapper. Extracted an IDataMapper interface. Created an IDataMapperFactory and added it to the GlobalRegistry. Implemented a default DataMapperFactory which is initialised with specific DataMapper types for those that have, and the GeneralDataMapper for those that don't. Changed PropDef to use this factory on the GlobalRegistry to get its DataMapper object. Created a TimeSpanDataMapper for TimeSpan properties. Added a bunch of tests to TestGeneralDataMapper to test its TryParsePropValue method fully. More... over 14 years ago
Work on #1723 (Load a result set directly using an ISelectQuery (without using a BusinessObjectCollection)) Added a GetResultSet method to IBusinessObjectLoader and implemented this in BusinessObjectLoaderDB and BusinessObjectLoaderInMemory. Extracted a CreateQueryField method in QueryBuilder to help with adding your own fields to a SelectQuery. Added some tests for this. Created a TestBusinessObjectLoader_GetResultSet with the new tests in it. These are not comprehensive yet. Created a ResultSet class to store the result set returned by IBusinessObjectLoader.GetResultSet() More... over 14 years ago
** merge from branch 2.5 rev 18301: Fixed issue #1720 - Error when loading a collection with a criteria object specifying cross relationship calls Refactored the BusinessObjectLoaderBase class to prepare the criteria in the Refresh methods because there were some cases where the Criteria wasn't getting prepared before running the refresh. After preparing criteria of the collection, the criteria needed to be set to the SelectQuery again so that the sources would be merged. Improved the error message from the CriteriaDB when an alias is missing. More... over 14 years ago
More work on #1717 (Loading objects using DataStoreInMemoryXmlReader should update already existing objects) Made some small changes in the DataStoreInMemoryXmlReader to improve the use of this class to deserialize and update existing objects. This functionality probably needs to get moved into a different class as it feels like this one is starting to violate the Single Responsibility Principle More... over 14 years ago
Work on #1722 (Support for xml serializing Image properties) Moved logic from BOPropGeneralDataMapper to BOPropImageDataMapper and added a test to test it. More... over 14 years ago
Work on #1722 (Support for xml serializing Image properties) Added a new mapper for images to serialise/deserialise them More... over 14 years ago
Work on #1721 (Saving trees of objects - should save objects that have the foreign keys after the related object) Did an experiment with saving related objects before the original object to save. STill need to write tests for this feature and refactor. Testing in a project for a bit. More... over 14 years ago