1 write to context
System.Data.Linq (1)
DataContext.cs (1)
1113this.context = context;
35 references to context
System.Data.Linq (35)
DataContext.cs (35)
1121get { return this.context; } 1156return (IQueryable)Activator.CreateInstance(dqType, new object[] { this.context, expression }); 1167return new DataQuery<TResult>(this.context, expression); 1171return this.context.Provider.Execute(expression).ReturnValue; 1176return (TResult)this.context.Provider.Execute(expression).ReturnValue; 1188return ((IEnumerable<TEntity>)this.context.Provider.Execute(Expression.Constant(this)).ReturnValue).GetEnumerator(); 1206return BindingList.Create<TEntity>(this.context, this); 1220context.CheckNotInSubmitChanges(); 1221context.VerifyTrackingEnabled(); 1226TrackedObject tracked = this.context.Services.ChangeTracker.GetTrackedObject(entity); 1228tracked = this.context.Services.ChangeTracker.Track(entity); 1263context.CheckNotInSubmitChanges(); 1264context.VerifyTrackingEnabled(); 1276context.CheckNotInSubmitChanges(); 1277context.VerifyTrackingEnabled(); 1312context.CheckNotInSubmitChanges(); 1313context.VerifyTrackingEnabled(); 1314TrackedObject tracked = this.context.Services.ChangeTracker.GetTrackedObject(entity); 1349context.CheckNotInSubmitChanges(); 1350context.VerifyTrackingEnabled(); 1362context.CheckNotInSubmitChanges(); 1363context.VerifyTrackingEnabled(); 1407context.CheckNotInSubmitChanges(); 1408context.VerifyTrackingEnabled(); 1422tracked = this.context.Services.ChangeTracker.Track(entity, true); 1468context.CheckNotInSubmitChanges(); 1469context.VerifyTrackingEnabled(); 1474TrackedObject tracked = this.context.Services.ChangeTracker.GetTrackedObject(entity); 1477tracked = this.context.Services.ChangeTracker.Track(entity, true); 1498context.CheckNotInSubmitChanges(); 1499context.VerifyTrackingEnabled(); 1542context.CheckNotInSubmitChanges(); 1543context.VerifyTrackingEnabled(); 1555context.CheckNotInSubmitChanges(); 1556context.VerifyTrackingEnabled();