Skip to content

Commit d0de803

Browse files
committed
#302 Sync with SQL CE tt file.
1 parent 047e09a commit d0de803

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

EntityFramework.Reverse.POCO.Generator/Database NorthwindSqlCe40.tt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
IncludeConnectionSettingComments = true; // Add comments describing connection settings used to generate file
3636
IncludeViews = true;
3737
DisableGeographyTypes = false; // Turns off use of System.Data.Entity.Spatial.DbGeography and System.Data.Entity.Spatial.DbGeometry as OData doesn't support entities with geometry/geography types.
38+
//CollectionInterfaceType = "System.Collections.Generic.List"; // Determines the declaration type of collections for the Navigation Properties. ICollection is used if not set.
3839
CollectionType = "System.Collections.Generic.List"; // Determines the type of collection for the Navigation Properties. "ObservableCollection" for example. Add "System.Collections.ObjectModel" to AdditionalNamespaces if setting the CollectionType = "ObservableCollection".
3940
NullableShortHand = true; //true => T?, false => Nullable<T>
4041
AddUnitTestingDbContext = true; // Will add a FakeDbContext and FakeDbSet for easy unit testing

EntityFramework.Reverse.POCO.Generator/Database.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
IncludeStoredProcedures = true;
3939
IncludeTableValuedFunctions = false; // If true, you must set IncludeStoredProcedures = true, and install the "EntityFramework.CodeFirstStoreFunctions" Nuget Package.
4040
DisableGeographyTypes = false; // Turns off use of System.Data.Entity.Spatial.DbGeography and System.Data.Entity.Spatial.DbGeometry as OData doesn't support entities with geometry/geography types.
41-
//CollectionInterfaceType = "System.Collections.Generic.List"; // Determines the declaration type of collections for the Navigation Properties. ICollection is used if empty.
41+
//CollectionInterfaceType = "System.Collections.Generic.List"; // Determines the declaration type of collections for the Navigation Properties. ICollection is used if not set.
4242
CollectionType = "System.Collections.Generic.List"; // Determines the type of collection for the Navigation Properties. "ObservableCollection" for example. Add "System.Collections.ObjectModel" to AdditionalNamespaces if setting the CollectionType = "ObservableCollection".
4343
NullableShortHand = true; //true => T?, false => Nullable<T>
4444
AddUnitTestingDbContext = true; // Will add a FakeDbContext and FakeDbSet for easy unit testing

0 commit comments

Comments
 (0)