File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -232,13 +232,13 @@ public static StoreSchema GetStoreSchema(Type type)
232232 schema . PrimaryKeyAuto = compoundKey . AutoIncrement ; // AutoIncrement only applies to single primary keys
233233
234234 // Extract Unique Indexes
235- schema . UniqueIndexes = type . GetProperties ( )
235+ schema . UniqueIndexes = type . GetProperties ( BindingFlags . Public | BindingFlags . NonPublic | BindingFlags . Instance | BindingFlags . FlattenHierarchy )
236236 . Where ( prop => PropertyMappingCache . GetPropertyEntry ( prop , type ) . UniqueIndex )
237237 . Select ( prop => PropertyMappingCache . GetJsPropertyName ( prop , type ) )
238238 . ToList ( ) ;
239239
240240 // ✅ Extract Standard Indexes
241- schema . Indexes = type . GetProperties ( )
241+ schema . Indexes = type . GetProperties ( BindingFlags . Public | BindingFlags . NonPublic | BindingFlags . Instance | BindingFlags . FlattenHierarchy )
242242 . Where ( prop => PropertyMappingCache . GetPropertyEntry ( prop , type ) . Indexed )
243243 . Select ( prop => PropertyMappingCache . GetJsPropertyName ( prop , type ) )
244244 . ToList ( ) ;
Original file line number Diff line number Diff line change 1717 <PackageReadmeFile >README.md</PackageReadmeFile >
1818 <PackageLicenseFile >LICENSE.txt</PackageLicenseFile >
1919 <FileVersion >1.01</FileVersion >
20- <Version >2.0.0-alpha1 </Version >
20+ <Version >2.0.0-alpha2 </Version >
2121 </PropertyGroup >
2222
2323 <ItemGroup >
Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ public sealed class DbSets
6767 [ MagicNotMapped ]
6868 public string DoNotMapTest { get ; set ; }
6969
70+ [ MagicNotMapped ]
71+ public static string DoNotMapTest2 { get ; set ; }
72+
7073 [ MagicNotMapped ]
7174 public string SecretDecrypted { get ; set ; }
7275
You can’t perform that action at this time.
0 commit comments