1 implementation of Model
System.Data.Linq (1)
DataServices.cs (1)
38
public MetaModel
Model
{
33 references to Model
System.Data.Linq (33)
SqlClient\Query\QueryConverter.cs (11)
788
MetaTable metaTable = this.services.
Model
.GetTable(table.ElementType);
830
MetaType mt = this.services.
Model
.GetMetaType(qn.Type);
850
MetaType mt = this.services.
Model
.GetMetaType(init.Type);
970
MetaTable table = this.services.
Model
.GetTable(selection.ClrType);
1248
MetaType mType = this.services.
Model
.GetMetaType(elementType);
1988
MetaFunction function = services.
Model
.GetFunction(mc.Method);
1994
MetaFunction function = services.
Model
.GetFunction(mc.Method);
2395
MetaTable metaTable = this.services.
Model
.GetTable(item.Type);
2560
MetaTable metaTable = this.services.
Model
.GetTable(item.Type);
2594
MetaType metaType = this.services.
Model
.GetMetaType(entityType);
2644
MetaTable metaTable = this.services.
Model
.GetTable(item.Type);
SqlClient\Query\Translator.cs (2)
309
MetaType mtLeft = TypeSource.GetSourceMetaType(eLeft, this.services.
Model
);
310
MetaType mtRight = TypeSource.GetSourceMetaType(eRight, this.services.
Model
);
SqlClient\SqlProvider.cs (20)
141
this.sqlFactory = new SqlFactory(this.typeProvider, this.services.
Model
);
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()) {
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);
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));
1990
metaType = this.provider.services.
Model
.GetMetaType(typeof(T));