Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@TwentyFourMinutes TwentyFourMinutes released this 25 Sep 21:23
· 60 commits to dev since this release
2024342

Minor

Change logs

  • Builds are now deterministic
  • Refactored underlying EntityBuilder which now behaves more predictable
  • Added option to specify the NpgqlDbType inside Expression queries:
    long id = 1;
    var blog = await db.Blogs.QuerySingle(blogs => $"SELECT * FROM {blogs} WHERE {blogs.Id} = {id, VenflowDbType.Integer}").QueryAsync();
  • PostgreSQL enums will from now on be registered inside the Configure method on the Database
  • Column names and column types will from now on be set through the Property fluent API
    entityBuilder.Column(x => x.Id).WithName("id").WithType(NpgsqlDbType.Integer);
  • #13, #11 The new property fluent API will also allow you to mark a column as HasDefault which will tell Venflow that the column will be set by the datbase. Thanks to @Neoz-JourneyLab for requesting this.

Bug fixes

  • Expression queries no longer skip the first element
  • #12

If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.