1 implementation of Context
System.Data.Linq (1)
DataServices.cs (1)
34
public DataContext
Context
{
22 references to Context
System.Data.Linq (22)
SqlClient\Query\QueryConverter.cs (8)
785
if (table.Context != this.services.
Context
) {
1851
if (dc != this.services.
Context
) {
1863
ITable table = this.services.
Context
.GetTable(rowType);
1909
ITable table = this.services.
Context
.GetTable(typeArgs[0]);
2396
Expression source = this.services.
Context
.GetTable(metaTable.RowType.Type).Expression;
2561
Expression source = this.services.
Context
.GetTable(metaTable.RowType.Type).Expression;
2595
ITable table = this.services.
Context
.GetTable(metaType.InheritanceRoot.Type);
2645
Expression source = this.services.
Context
.GetTable(metaTable.RowType.Type).Expression;
SqlClient\Query\Translator.cs (4)
82
if (this.services.
Context
.LoadOptions == null) {
85
return this.services.
Context
.LoadOptions.IsPreloaded(member);
248
ITable table = this.services.
Context
.GetTable(tableType);
260
Expression expr = TranslateAssociation(this.services.
Context
, mm.Association, source, keyExprs, lex);
SqlClient\Reader\ObjectReaderCompiler.cs (5)
184
object mapping = this.services.
Context
.Mapping.Identity;
185
DataLoadOptions options = this.services.
Context
.LoadOptions;
1059
(this.compiler.services.
Context
.LoadOptions == null ||
1060
!this.compiler.services.
Context
.LoadOptions.IsPreloaded(mm.Member))
2567
get { return this.services.
Context
.DeferredLoadingEnabled; }
SqlClient\SqlProvider.cs (5)
1118
new object[] { sequence, result, this.services.
Context
}, null
1456
SqlBinder binder = new SqlBinder(this.translator, this.sqlFactory, this.services.Model, this.services.
Context
.LoadOptions, columnizer, canUseOuterApply);
1693
this.originalShape = provider.services.
Context
.LoadOptions;
1711
if (!AreEquivalentShapes(this.originalShape, sqlProvider.services.
Context
.LoadOptions)) {
1998
return new SingleResult<T>(new OneTimeEnumerable<T>((IEnumerator<T>)objReader), this.executeResult, this.provider.services.
Context
);