2 writes to _keyStrategy
System.Data.Entity (2)
System\Data\Objects\Internal\EntityWrapper.cs (2)
172
_keyStrategy
= keyStrategy(entity);
205
_keyStrategy
= keyStrategy(entity);
6 references to _keyStrategy
System.Data.Entity (6)
System\Data\Objects\Internal\EntityWrapper.cs (6)
174
Debug.Assert(
_keyStrategy
!= null, "Key strategy cannot be null.");
207
Debug.Assert(
_keyStrategy
!= null, "Key strategy cannot be null.");
208
_keyStrategy
.SetEntityKey(key);
230
return
_keyStrategy
.GetEntityKey();
234
_keyStrategy
.SetEntityKey(value);
240
return
_keyStrategy
.GetEntityKeyFromEntity();