File tree Expand file tree Collapse file tree
connection-string-sqlite/EntityFrameworkCoreProject
custom-renaming/EntityFrameworkCoreProject
msbuild-sdk-sql-proj-generation/EntityFrameworkCoreProject
simple-generation/EntityFrameworkCoreProject
split-data-and-models-between-multiple-projects/src/SampleApp.Models
src/JD.Efcpt.Build.Templates/templates/efcptbuild Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2+ "$schema" : " https://raw.githubusercontent.com/ErikEJ/EFCorePowerTools/master/samples/efcpt-config.schema.json" ,
23 "names" : {
34 "root-namespace" : " EntityFrameworkCoreProject" ,
45 "dbcontext-name" : " SampleDbContext" ,
56 "dbcontext-namespace" : null ,
6- "entity -namespace" : " EntityFrameworkCoreProject.Models"
7+ "model -namespace" : " EntityFrameworkCoreProject.Models"
78 },
89 "code-generation" : {
910 "use-t4" : true ,
1213 },
1314 "file-layout" : {
1415 "output-path" : " Models" ,
15- "output-dbcontext-path" : " ." ,
16- "use-schema-folders-preview" : true ,
17- "use-schema-namespaces-preview" : false
16+ "output-dbcontext-path" : " ."
1817 }
1918}
Original file line number Diff line number Diff line change 1111 "use-t4" : false
1212 },
1313 "file-layout" : {
14- "output-path" : " Models" ,
15- "use-schema-folders-preview" : false
14+ "output-path" : " Models"
1615 },
1716 "tables" : [
1817 { "name" : " [dbo].[tblCustomers]" },
Original file line number Diff line number Diff line change 11{
2+ "$schema" : " https://raw.githubusercontent.com/ErikEJ/EFCorePowerTools/master/samples/efcpt-config.schema.json" ,
23 "names" : {
34 "root-namespace" : " EntityFrameworkCoreProject" ,
45 "dbcontext-name" : " SampleDbContext" ,
56 "dbcontext-namespace" : null ,
6- "entity -namespace" : " EntityFrameworkCoreProject.Models"
7+ "model -namespace" : " EntityFrameworkCoreProject.Models"
78 },
89 "code-generation" : {
910 "use-t4" : true ,
1011 "t4-template-path" : " ." ,
1112 "enable-on-configuring" : false
12-
1313 },
1414 "file-layout" : {
1515 "output-path" : " Models" ,
16- "output-dbcontext-path" : " ." ,
17- "use-schema-folders-preview" : true ,
18- "use-schema-namespaces-preview" : false
16+ "output-dbcontext-path" : " ."
1917 }
2018}
Original file line number Diff line number Diff line change 11{
2+ "$schema" : " https://raw.githubusercontent.com/ErikEJ/EFCorePowerTools/master/samples/efcpt-config.schema.json" ,
23 "names" : {
34 "root-namespace" : " EntityFrameworkCoreProject" ,
45 "dbcontext-name" : " SampleDbContext" ,
56 "dbcontext-namespace" : null ,
6- "entity -namespace" : " EntityFrameworkCoreProject.Models"
7+ "model -namespace" : " EntityFrameworkCoreProject.Models"
78 },
89 "code-generation" : {
910 "use-t4" : true ,
1011 "t4-template-path" : " ." ,
1112 "enable-on-configuring" : false
12-
1313 },
1414 "file-layout" : {
1515 "output-path" : " Models" ,
16- "output-dbcontext-path" : " ." ,
17- "use-schema-folders-preview" : true ,
18- "use-schema-namespaces-preview" : false
16+ "output-dbcontext-path" : " ."
1917 }
2018}
Original file line number Diff line number Diff line change 11{
2+ "$schema" : " https://raw.githubusercontent.com/ErikEJ/EFCorePowerTools/master/samples/efcpt-config.schema.json" ,
23 "names" : {
34 "root-namespace" : " SampleApp" ,
45 "dbcontext-name" : " SampleDbContext" ,
1213 },
1314 "file-layout" : {
1415 "output-path" : " Models" ,
15- "output-dbcontext-path" : " ." ,
16- "use-schema-folders-preview" : false ,
17- "use-schema-namespaces-preview" : false
16+ "output-dbcontext-path" : " ."
1817 }
1918}
Original file line number Diff line number Diff line change 11{
2+ "$schema" : " https://raw.githubusercontent.com/ErikEJ/EFCorePowerTools/master/samples/efcpt-config.schema.json" ,
23 "names" : {
34 "root-namespace" : " EfcptProject" ,
45 "dbcontext-name" : " ApplicationDbContext" ,
56 "dbcontext-namespace" : " EfcptProject.Data" ,
6- "entity-namespace" : " EfcptProject.Data.Entities"
7- },
8- "code-generation" : {
9- "use-nullable-reference-types" : true ,
10- "use-date-only-time-only" : true ,
11- "enable-on-configuring" : false ,
12- "use-t4" : false
13- },
14- "file-layout" : {
15- "output-path" : " Models" ,
16- "output-dbcontext-path" : " ." ,
17- "use-schema-folders-preview" : true ,
18- "use-schema-namespaces-preview" : true
19- },
20- "table-selection" : [
21- {
22- "schema" : " dbo" ,
23- "include" : true
24- }
25- ]
7+ "model-namespace" : " EfcptProject.Data.Entities"
8+ }
269}
You can’t perform that action at this time.
0 commit comments