In EntityMetamodel class (lines 177-180) there is the following code:
if ("id".Equals(prop.Name))
{
foundNonIdentifierPropertyNamedId = true;
}
Here we are trying if there is a property "id" that is not identifier.
Wouldn't it be safer to have case-insensitive comparison? For cases like "Id" and "ID".
It does not look like that values that are assigned to Property.Name are always lowercased.