You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modelBuilder.SharedTypeEntity<ProxyableSharedType>("PST", b =>{b.IndexerProperty<int>("Id").ValueGeneratedNever();b.IndexerProperty<string>("Payload");});
But it doesn't because initially "Id" is not in the dictionary, so null is returned by the indexer, but the property doesn't support nulls.
Should property getter for indexer property account for the fact that object is returned from indexer (which could be null) and convert it to appropriate CLR default?
Look for
IDictionary<string, object>
implementation or just look for an indexer andContainsKey()
method.Add Fluent API to configure an ET as a Property bag or not.
The text was updated successfully, but these errors were encountered: