I wantto remove an entity which is removed to RemovedEntitiesTracker of an EntityCollection.
I tried following code, howeer it throws exception: "[i]Object reference not set to an instance of an object.[/i]"
long pkValdel2 = Convert.ToInt64(entry.Value);
List<int> x = MakbuzHizmetCollection.RemovedEntitiesTracker.FindMatches(MakbuzHizmetFields.HizmetId == pkValdel2);
if (x.Count > 0)
MakbuzHizmetCollection.RemovedEntitiesTracker.RemoveAt(x[0]);
How can i handle that? Thanks...