ef-enum-to-lookup 1.0.0

Enum Lookup Table Generator for Entity Framework 6

Entity Framework 6.1 Enum Lookup Table Generator
Makes up for a missing feature in Entity Framework 6.1

Creates lookup tables and foreign key constraints based on the enums used in your model.

Use the properties exposed to control behaviour.

Run EnumToLookup.Apply from your Seed method in either your database initializer or your EF Migrations.

It is safe to run repeatedly, and will ensure enum values are kept in line with your current code.

Source code: https://github.com/timabell/ef-enum-to-lookup

License: MIT

There is a newer version of this package available.
See the version list below for details.
Install-Package ef-enum-to-lookup -Version 1.0.0
dotnet add package ef-enum-to-lookup --version 1.0.0
<PackageReference Include="ef-enum-to-lookup" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ef-enum-to-lookup --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

First release

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.9.0 57,116 8/18/2015
1.8.0 9,175 6/12/2015
1.7.1 4,239 4/1/2015
1.7.0 297 4/1/2015
1.6.0 481 3/23/2015
1.5.0 803 3/2/2015
1.5.0-beta 261 2/21/2015
1.4.0 505 2/15/2015
1.3.0 619 12/16/2014
1.2.2 646 11/24/2014
1.2.1 399 10/11/2014
1.2.0 329 10/9/2014
1.1.1 330 9/29/2014
1.1.0 321 9/29/2014
1.0.0 337 9/28/2014
Show less