Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Commented Issue: Filtering modelBuilder.Properties fails [692]

$
0
0
On model building we get an InvalidOperationException with the message:<br />"The type 'LightweightConventionsR3.IntEnum' cannot be used used to filter properties. Only scalar types, string, and byte[] are supported."<br />We need to support filtering by the type of an enum so that we can apply conventions specifically to them. <br /><br />repro convention:<br />modelBuilder.Properties<IntEnum>()<br /> .Configure(c => c.HasColumnOrder(12));
Comments: Fixed in changeset 93d00be5b7a0

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>