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