Regarding this note in the release notes:
"PK fetches of single entities now set the PK field(s) even if the entity isn't fetched because it's not found. So the returned entity object always has the PK fields set now, even if the state is 'New'. "
If I understand this correctly, and based on an NUnit test, the code below returns a non-existant object with it's IsNew property set to true. I'm just curious about why this was done?
MyEntity myEntity = new MyEntity();
myEntity.FetchUsingPK(-1); // returns false
int i = myEntity.primaryKey; //i is assigned -1;
Thanks,
-Ryan Casey