Skip to content

Commit 625efc9

Browse files
committed
Add static keyword back in
1 parent fad1128 commit 625efc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EntityFramework.Reverse.POCO.Generator/EF.Reverse.POCO.Core.ttinclude

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
bool MakeDbContextInterfacePartial = false;
5656
bool GenerateSeparateFiles = false;
5757
bool UseMappingTables = true;
58-
bool UsePropertyInitializers = false;
58+
static bool UsePropertyInitializers = false;
5959
bool IsSqlCe = false;
6060
string FileExtension = ".cs";
6161
bool UsePascalCase = true;
@@ -745,7 +745,7 @@
745745

746746
// childTable FK columns are exactly the primary key (they are part of primary key, and no other columns are primary keys) //TODO: we could also check if they are an unique index
747747
bool childTableColumnsAllPrimaryKeys = (childTableCols.Count() == childTableCols.Count(x => x.IsPrimaryKey)) && (childTableCols.Count() == childTable.PrimaryKeys.Count());
748-
748+
749749
// parentTable columns are exactly the primary key (they are part of primary key, and no other columns are primary keys) //TODO: we could also check if they are an unique index
750750
bool parentTableColumnsAllPrimaryKeys = (parentTableCols.Count() == parentTableCols.Count(x => x.IsPrimaryKey)) && (parentTableCols.Count() == parentTable.PrimaryKeys.Count());
751751

0 commit comments

Comments
 (0)