Skip to content

Releases: Grinderofl/FluentModelBuilder

1.5.1

28 Dec 00:47
Compare
Choose a tag to compare
  • Adds support for Entity Framework Core 1.1
  • Adds support for .NET Core 1.1
  • Adds Ignore Read Only Properties Convention
  • Adds property accessor configuration extension

1.4.1

22 Sep 16:41
Compare
Choose a tag to compare
  • Adds support for netstandard 1.3

1.3.1

03 Jul 19:39
Compare
Choose a tag to compare

Minor update for important features

  • Dependency Injection
    • ITypeSource, IAutoModelBuilderAlteration, and IModelBuilderConvention all support dependency injection.
    • Entity Framework needs to be configured to use Internal Service Provider, and FluentModelBuilder needs to be configured using ConfigureEntityFramework() IServiceCollection extension method.
  • Renamed IModelBuilderOverride to IModelBuilderConvention to more appropriately categorize. Also renamed the method from Override to Apply
  • Added more ITypeSource options to API

1.2.1

02 Jul 12:03
Compare
Choose a tag to compare

API updates/corrections

  • AutoModelBuilder functions now in clearly divided domains and order:
    • Alterations (modify the AutoModelBuilder instance prior to model building)
    • Entities (discovered by conventions and added singularly)
    • Conventions (alter ModelBuilder after entities have been added)
    • Overrides (alter individual entities after conventions have been applied)
  • API syntax has been updated as well:
    • AddAlterations
    • AddEntities*
    • UseConventions*
    • UseOverrides*
  • New API function
    • AddFromAssembly(Assembly) - which is a shorthand for adding all alterations, entities, conventions, and overrides, using a single command.
    • AddFromAssemblyOf(Type), AddFromAssemblyOf<T>(), AddFromAssemblies(IEnumerable<Assembly>) - as above
  • New package: FluentModelBuilder.Relational
    • Contains two conventions that can be added, either on their own, or by including the assembly of one of them in the search:
      • DecimalPropertyConvention - allows you to specify the length of decimal types for relational databases
      • PluralizingTableNameGeneratingConvention - makes your table names plural (by default they are as-is), using Humanizer. You can use your own ITableNameGenerator with TableNameGeneratingConvention if you want to use something else.

1.1.1

01 Jul 13:42
Compare
Choose a tag to compare

Minor update

  • Overrides ModelBuilder after adding entities but prior to applying individual overrides

1.1.0

01 Jul 13:26
Compare
Choose a tag to compare

Minor update

  • IModelBuilderOverride is now applied after Entities and IEntityTypeOverride's
  • Implements missing API methods
  • Adds support for NET452

1.0.0

30 Jun 15:31
Compare
Choose a tag to compare

This is the official first release of FluentModelBuilder.

  • Provides several ways of configuring DbContext's backing model with very featured fluent API syntax.
  • Supports Identity
  • Supports convention-based entity pickup
  • Supports anonymous DbContext (no implementation of DbContext needed)
  • Familiar Fluent syntax for ORM developers

NuGet:

https://www.nuget.org/packages/FluentModelBuilder/

Beta5

21 Mar 21:38
Compare
Choose a tag to compare
Beta5 Pre-release
Pre-release
  • Updated RC2 support (.AddDbContext<>() without .AddEntityFramework())
  • Added expression configuration (.Where() and .Setup())

Beta4

09 Mar 12:10
Compare
Choose a tag to compare
Beta4 Pre-release
Pre-release
  • Support for ThisAssembly() for .NET Framework (.NET Core needs StackTrace)
  • Scope is now a property

Beta2

08 Mar 21:59
Compare
Choose a tag to compare
Beta2 Pre-release
Pre-release

Second beta release

  • Supports Entity Framework Core RC2
  • Supports net451 and netstandard TFM's