2 writes to KeyCount
System.Data.Services.Client (2)
System\Data\Services\Client\ClientType.cs (2)
175
this.
KeyCount
++;
250
this.
KeyCount
++;
4 references to KeyCount
System.Data.Services.Client (4)
System\Data\Services\Client\ClientType.cs (3)
248
Debug.Assert(0 == this.
KeyCount
, "shouldn't have a key yet");
253
else if (this.
KeyCount
!= dska.KeyNames.Count)
265
Debug.Assert(this.
KeyCount
== this.Properties.Where(k => k.KeyProperty).Count(), "KeyCount mismatch");
System\Data\Services\Client\DataServiceContext.cs (1)
2537
if (ClientType.Create(entity.GetType()).
KeyCount
<= 0)