ExecuteQuery<Entity> result is tracked?
Posted: Sat 13 Oct 2018 18:00
I would like to know if the results of following query will be tracked by the context.
I would need that it´s not tracked. I´m simply reading again from database a record which is already contained in context´s Table<Clerk> Clerks member.
TIA
Code: Select all
// argument is of type Clerk, database table is clerk
query = "SELECT * from clerk where id = {0}";
List<Clerk> result = context.ExecuteQuery<Clerk>(query, new object[] { argument.Id } ).ToList<Clerk>();
TIA