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