Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Releases: MicroLite-ORM/MicroLite

MicroLite 2.0.0

19 May 21:09
Compare
Choose a tag to compare

See the MicroLite 2.0 Enhancements blog post for further details.

  • #4 - Add support for a projection
  • #61 - Add the ability to include an associated object as a single batch query.
  • #63 - Add a TotalResults property to PagedResult.
  • #64 - Create a chm help file.
  • #65 - Add the ability to include many associated objects as a single batch query.
  • #74 - Review and update exception messages to be as helpful as possible.
  • #75 - Refactor ISqlBuilder to allow other databases to be supported.
  • #76 - Add a helper method for 'Select Count' to SqlBuilder.
  • #77 - Breaking Update SqlBuilder Api.
  • #79 - Add a helper method for 'Select Sum' to SqlBuilder.
  • #80 - Add a helper method for 'Select Min' to SqlBuilder.
  • #81 - Add a helper method for 'Select Max' to SqlBuilder.
  • #82 - Add a helper method for 'Select Avgerage' to SqlBuilder.
  • #84 - Add GroupBy to SqlBuilder.
  • #85 - Add ability to alias Sum, Count, Min, Max and Average results.
  • #86 - Add examples to the XML comments so they are added to the compiled help.
  • #87 - Add the ability to include a scalar result as a single batch query.
  • #88 - Breaking In SqlBuilder, change OrderByAscending and OrderByDescending to accept multiple column names.
  • #89 - Add the ability to capture the session id in a logging context.
  • #90 - Re-Writing parameters should not happen if the query is a stored procedure.
  • #91 - Add a MoreResultsAvailable property to PagedResults.

view code changes

MicroLite 1.2.2

19 May 21:09
Compare
Choose a tag to compare
  • #68 - Add an overload for ISession.Single which accepts an SqlQuery.
  • #69 - Add read only IsolationLevel property to ITransaction.

view code changes

MicroLite 1.2.1

19 May 21:10
Compare
Choose a tag to compare
  • #36 - Update logging messages
  • #37 - Refactor Configure class
  • #40 - Review xml comments
  • #46 - Two properties mapped to same Column
  • #47 - Session.BeginTransaction should throw ObjectDisposedException
  • #48 - This SqlTransaction has completed; it is no longer usable. thrown by Transaction.Dispose
  • #49 - Transaction should throw ObjectDisposedException in Commit and Rollback if already disposed
  • #50 - ITransaction should include an Active, Committed and RolledBack property
  • #51 - BeginTransaction should re-use same transaction if Active
  • #53 - Query with parameter of wrong type
  • #54 - If an exception is thrown by IDbReader.Read() it should be wrapped and thrown inside a MicroLiteException
  • #55 - Transaction should not try and rollback if faulted
  • #56 - Calling Commit more than once should throw an InvalidOperationException
  • #57 - Calling RollBack more than once should throw an InvalidOperationException
  • #58 - Calling RollBack if Committed successfully should throw an InvalidOperationException
  • #59 - IDbReader is not closed on error

view code changes

MicroLite 1.2.0

19 May 21:10
Compare
Choose a tag to compare
  • #13 - Only load IListeners for Identifier Strategies when we actually use them (implemented this in a different way, see [Extensions](Extensions) for further details of how to specify which are used).
  • #26 - Add support for 'Insert' only properties
  • #28 - Add support for 3rd party extensions
  • #31 - Add support for 'Update' only properties
  • #35 - Existing Session Factory should be returned if already created
  • #38 - Reduce number of times ObjectInfo.For is called

view code changes

MicroLite 1.1.0

19 May 21:11
Compare
Choose a tag to compare
  • Breaking The attribute mapping has been changed, it's now strictly opt-in. Attributes must be applied to class, all properties and the identifier property.
  • #25 - Add a Timeout property to SqlQuery.
  • #32 - Paged - PagedResult properties include ResultsPerPage.

This version also enables custom mapping conventions to be built and used by implementing the IMappingConvention interface and supplying to Configure.Extensions.

view code changes

MicroLite 1.0.0

19 May 21:11
Compare
Choose a tag to compare

Initial build for .net 3.5 (Client) and .net 4.0 (Client)