2 writes to services
System.Data.Linq (2)
SqlClient\SqlProvider.cs (2)
340
this.
services
= dataServices;
458
this.
services
= null;
31 references to services
System.Data.Linq (31)
SqlClient\SqlProvider.cs (31)
141
this.sqlFactory = new SqlFactory(this.typeProvider, this.
services
.Model);
142
this.translator = new Translator(this.
services
, this.sqlFactory, this.typeProvider);
309
get { return this.
services
; }
325
if (this.
services
== null) {
423
this.readerCompiler = new ObjectReaderCompiler(readerType, this.
services
);
498
builder.Add("Database", this.
services
.Model.DatabaseName);
523
return this.
services
.Model.DatabaseName;
615
if (this.
services
.Model.GetTables().FirstOrDefault() == null) {
617
throw Error.CreateDatabaseFailedBecauseOfContextWithNoTables(this.
services
.Model.DatabaseName);
626
foreach (MetaTable table in this.
services
.Model.GetTables()) {
633
foreach (MetaTable table in this.
services
.Model.GetTables()) {
651
foreach (MetaTable table in this.
services
.Model.GetTables()) {
666
foreach (MetaTable table in this.
services
.Model.GetTables()) {
674
foreach (MetaTable table in this.
services
.Model.GetTables()) {
1010
object obj = this.
services
.GetCachedObject(query);
1118
new object[] { sequence, result, this.
services
.Context }, null
1147
return this.
services
.Model.GetFunction(mc.Method);
1176
writer.WriteLine("-- Context: {0}({1}) Model: {2} Build: {3}", this.GetType().Name, this.Mode, this.
services
.Model.GetType().Name, ThisAssembly.InformationalVersion);
1223
MetaType rowType =
services
.Model.GetMetaType(elementType);
1408
QueryConverter converter = new QueryConverter(this.
services
, this.typeProvider, this.translator, this.sqlFactory);
1456
SqlBinder binder = new SqlBinder(this.translator, this.sqlFactory, this.
services
.Model, this.
services
.Context.LoadOptions, columnizer, canUseOuterApply);
1461
return PreBindDotNetConverter.Convert(n, this.sqlFactory, this.
services
.Model);
1473
SqlRetyper retyper = new SqlRetyper(this.typeProvider, this.
services
.Model);
1522
node = SqlBooleanizer.Rationalize(node, this.typeProvider, this.
services
.Model);
1543
node = SqlLiftWhereClauses.Lift(node, this.typeProvider, this.
services
.Model);
1656
return this.GetDefaultFactory(
services
.Model.GetMetaType(elemType));
1693
this.originalShape = provider.
services
.Context.LoadOptions;
1711
if (!AreEquivalentShapes(this.originalShape, sqlProvider.
services
.Context.LoadOptions)) {
1990
metaType = this.provider.
services
.Model.GetMetaType(typeof(T));
1998
return new SingleResult<T>(new OneTimeEnumerable<T>((IEnumerator<T>)objReader), this.executeResult, this.provider.
services
.Context);