Releases: Grinderofl/FluentModelBuilder
Releases · Grinderofl/FluentModelBuilder
1.5.1
1.4.1
- Adds support for netstandard 1.3
1.3.1
Minor update for important features
- Dependency Injection
ITypeSource
,IAutoModelBuilderAlteration
, andIModelBuilderConvention
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
toIModelBuilderConvention
to more appropriately categorize. Also renamed the method fromOverride
toApply
- Added more
ITypeSource
options to API
1.2.1
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 databasesPluralizingTableNameGeneratingConvention
- makes your table names plural (by default they are as-is), using Humanizer. You can use your ownITableNameGenerator
withTableNameGeneratingConvention
if you want to use something else.
- Contains two conventions that can be added, either on their own, or by including the assembly of one of them in the search:
1.1.1
Minor update
- Overrides ModelBuilder after adding entities but prior to applying individual overrides
1.1.0
Minor update
- IModelBuilderOverride is now applied after Entities and IEntityTypeOverride's
- Implements missing API methods
- Adds support for NET452
1.0.0
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:
Beta5
- Updated RC2 support (
.AddDbContext<>()
without.AddEntityFramework()
) - Added expression configuration (
.Where()
and.Setup()
)
Beta4
- Support for ThisAssembly() for .NET Framework (.NET Core needs StackTrace)
- Scope is now a property
Beta2
Second beta release
- Supports Entity Framework Core RC2
- Supports
net451
andnetstandard
TFM's