mqryClientByID = Function(ctx As FGLMainDataEntities, pID As Integer) Return (ctx.Clients. Include("EMails"). Where("it.ID = " + pID.ToString() ).Execute(MergeOption.OverwriteChanges).SingleOrDefault()) End FunctionThis basically get a client's data and his related email addresses.
Dim currentClient = mqryClientByID.Invoke(mobjContext, pID)
But if I delete email addresses related to a client and I reload the client, the row is still shown in the grid.