Entity Framework Classic Community
Description
Like Entity Framework 6, the EF Classic community version is 100% free, can be used in commercial application, and is royalty free. The enterprise version has additional features.
When using EF Classic community, it's recommended (optional) to specify it to make sure an error is thrown when an enterprise feature is used.
Setup IsCommunity from config file
The community version can be forced directly in the app.config or web.config file in the appSettings section.
<appSettings> <add key="Z_EntityFramework_Classic_IsCommunity" value="true"/> </appSettings>
Setup IsCommunity from appsettings.json file
The community version can be forced directly in the appsettings.json.
{ "Z.EntityFramework.Classic": { "IsCommunity": "true", } }
Setup IsCommunity from code
The community version can be forced directly in the code of your application. Make sure to follow recommendations about where to add this code.
Z.EntityFramework.Classic.EntityFrameworkManager.IsCommunity = true;