What is a efpt.config.json file and should it be checked into source control?

asp.net-core entity-framework entity-framework-core version-control

Question

I am using Visual Studio and EF Core Power Tools to reverse engineer some models from my database. This creates a efpt.config.json in my directory and I am wondering whether or not this is something that should be checked into source control for my project.

{
    "ContextClassName": "MyContext",
    "DefaultDacpacSchema": null,
    "IdReplace": false,
    "IncludeConnectionString": false,
    "OutputPath": "",
    "ProjectRootNamespace": "My.Name.Space",
    "SelectedToBeGenerated": 0,
    "Tables": [
        ...
    ],
    "UseDatabaseNames": true,
    "UseFluentApiOnly": true,
    "UseHandleBars": false,
    "UseInflector": false
}
1
0
8/22/2018 8:40:41 PM

Accepted Answer

I am the creator of EF Core Power Tools, and I recommend that you check in this file with your project, doing that ensures that all developers use the same option when running the Reverse Engineer wizard

7
8/23/2018 6:12:52 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow