Skip to content

Commit 4027ca6

Browse files
committed
Correct grammar in comments
1 parent 91916f5 commit 4027ca6

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

BuildTT/BuildTT.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ private static void CreateTT(string generatorRoot, string ttRoot)
408408
{
409409
/*if (table.HasPrimaryKey && table.PrimaryKeys.Count() == 1 && table.Columns.Any(x => x.PropertyType == ""string""))
410410
{
411-
// Example to choose tables with a certain naming conventions for enums. Please use your own conventions.
411+
// Example: choosing tables with certain naming conventions for enums. Please use your own conventions.
412412
if (table.NameHumanCase.StartsWith(""Enum"", StringComparison.InvariantCultureIgnoreCase) ||
413413
table.NameHumanCase.EndsWith(""Enum"", StringComparison.InvariantCultureIgnoreCase))
414414
{
@@ -422,7 +422,7 @@ private static void CreateTT(string generatorRoot, string ttRoot)
422422
ValueField = table.PrimaryKeys.Single().DbName // Or specify your own
423423
});
424424
425-
// This will cause this table to not be reverse engineered.
425+
// This will cause this table to not be reverse-engineered.
426426
// This means it was only required to generate an enum and can now be removed.
427427
table.RemoveTable = true; // Remove this line if you want to keep it in your dbContext.
428428
}

EntityFramework.Reverse.POCO.Generator/Database.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
{
393393
/*if (table.HasPrimaryKey && table.PrimaryKeys.Count() == 1 && table.Columns.Any(x => x.PropertyType == "string"))
394394
{
395-
// Example to choose tables with a certain naming conventions for enums. Please use your own conventions.
395+
// Example: choosing tables with certain naming conventions for enums. Please use your own conventions.
396396
if (table.NameHumanCase.StartsWith("Enum", StringComparison.InvariantCultureIgnoreCase) ||
397397
table.NameHumanCase.EndsWith("Enum", StringComparison.InvariantCultureIgnoreCase))
398398
{
@@ -406,7 +406,7 @@
406406
ValueField = table.PrimaryKeys.Single().DbName // Or specify your own
407407
});
408408

409-
// This will cause this table to not be reverse engineered.
409+
// This will cause this table to not be reverse-engineered.
410410
// This means it was only required to generate an enum and can now be removed.
411411
table.RemoveTable = true; // Remove this line if you want to keep it in your dbContext.
412412
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@
358358
{
359359
/*if (table.HasPrimaryKey && table.PrimaryKeys.Count() == 1 && table.Columns.Any(x => x.PropertyType == "string"))
360360
{
361-
// Example to choose tables with a certain naming conventions for enums. Please use your own conventions.
361+
// Example: choosing tables with certain naming conventions for enums. Please use your own conventions.
362362
if (table.NameHumanCase.StartsWith("Enum", StringComparison.InvariantCultureIgnoreCase) ||
363363
table.NameHumanCase.EndsWith ("Enum", StringComparison.InvariantCultureIgnoreCase))
364364
{
@@ -372,7 +372,7 @@
372372
ValueField = table.PrimaryKeys.Single().DbName // Or specify your own
373373
});
374374

375-
// This will cause this table to not be reverse engineered.
375+
// This will cause this table to not be reverse-engineered.
376376
// This means it was only required to generate an enum and can now be removed.
377377
table.RemoveTable = true; // Remove this line if you want to keep it in your dbContext.
378378
}

Generator/Settings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ c.NameHumanCase .Equals("SomeColumn", StringComparison.InvariantCultu
331331
{
332332
/*if (table.HasPrimaryKey && table.PrimaryKeys.Count() == 1 && table.Columns.Any(x => x.PropertyType == "string"))
333333
{
334-
// Example to choose tables with a certain naming conventions for enums. Please use your own conventions.
334+
// Example: choosing tables with certain naming conventions for enums. Please use your own conventions.
335335
if (table.NameHumanCase.StartsWith("Enum", StringComparison.InvariantCultureIgnoreCase) ||
336336
table.NameHumanCase.EndsWith ("Enum", StringComparison.InvariantCultureIgnoreCase))
337337
{
@@ -345,7 +345,7 @@ c.NameHumanCase .Equals("SomeColumn", StringComparison.InvariantCultu
345345
ValueField = table.PrimaryKeys.Single().DbName // Or specify your own
346346
});
347347
348-
// This will cause this table to not be reverse engineered.
348+
// This will cause this table to not be reverse-engineered.
349349
// This means it was only required to generate an enum and can now be removed.
350350
table.RemoveTable = true; // Remove this line if you want to keep it in your dbContext.
351351
}

Tester.Integration.EFCore6/EnumForeignKey.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
{
7272
/*if (table.HasPrimaryKey && table.PrimaryKeys.Count() == 1 && table.Columns.Any(x => x.PropertyType == "string"))
7373
{
74-
// Example to choose tables with a certain naming conventions for enums. Please use your own conventions.
74+
// Example: choosing tables with certain naming conventions for enums. Please use your own conventions.
7575
if (table.NameHumanCase.StartsWith("Enum", StringComparison.InvariantCultureIgnoreCase) ||
7676
table.NameHumanCase.EndsWith("Enum", StringComparison.InvariantCultureIgnoreCase))
7777
{
@@ -85,7 +85,7 @@
8585
ValueField = table.PrimaryKeys.Single().DbName // Or specify your own
8686
});
8787

88-
// This will cause this table to not be reverse engineered.
88+
// This will cause this table to not be reverse-engineered.
8989
// This means it was only required to generate an enum and can now be removed.
9090
table.RemoveTable = true; // Remove this line if you want to keep it in your dbContext.
9191
}

Tester.Integration.EFCore6/EnumViaTables.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
ValueField = table.PrimaryKeys.Single().DbName // Or specify your own
154154
});
155155

156-
// This will cause this table to not be reverse engineered.
156+
// This will cause this table to not be reverse-engineered.
157157
// This means it was only required to generate an enum and can now be removed.
158158
table.RemoveTable = true; // Remove this line if you want to keep it in your dbContext.
159159
}

0 commit comments

Comments
 (0)