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
SimpleEntityKeyFactory objects are created dynamically and are generic on the type of the key property such that the ReadValue method uses the correct type of the key property. This avoids some boxing and also means that, when used with a DataReader, will call the typed reader method. We know that using the typed reader method can be important for some ADO.NET providers that do dynamic conversion based on the expected type.
CompositeEntityKeyFactory objects currently do none of this and just use ReadValue.
The text was updated successfully, but these errors were encountered:
SimpleEntityKeyFactory objects are created dynamically and are generic on the type of the key property such that the ReadValue method uses the correct type of the key property. This avoids some boxing and also means that, when used with a DataReader, will call the typed reader method. We know that using the typed reader method can be important for some ADO.NET providers that do dynamic conversion based on the expected type.
CompositeEntityKeyFactory objects currently do none of this and just use ReadValue.
The text was updated successfully, but these errors were encountered: