1 implementation of Model
System.Data.Linq (1)
DataServices.cs (1)
38public MetaModel Model {
33 references to Model
System.Data.Linq (33)
SqlClient\Query\QueryConverter.cs (11)
788MetaTable metaTable = this.services.Model.GetTable(table.ElementType); 830MetaType mt = this.services.Model.GetMetaType(qn.Type); 850MetaType mt = this.services.Model.GetMetaType(init.Type); 970MetaTable table = this.services.Model.GetTable(selection.ClrType); 1248MetaType mType = this.services.Model.GetMetaType(elementType); 1988MetaFunction function = services.Model.GetFunction(mc.Method); 1994MetaFunction function = services.Model.GetFunction(mc.Method); 2395MetaTable metaTable = this.services.Model.GetTable(item.Type); 2560MetaTable metaTable = this.services.Model.GetTable(item.Type); 2594MetaType metaType = this.services.Model.GetMetaType(entityType); 2644MetaTable metaTable = this.services.Model.GetTable(item.Type);
SqlClient\Query\Translator.cs (2)
309MetaType mtLeft = TypeSource.GetSourceMetaType(eLeft, this.services.Model); 310MetaType mtRight = TypeSource.GetSourceMetaType(eRight, this.services.Model);
SqlClient\SqlProvider.cs (20)
141this.sqlFactory = new SqlFactory(this.typeProvider, this.services.Model); 498builder.Add("Database", this.services.Model.DatabaseName); 523return this.services.Model.DatabaseName; 615if (this.services.Model.GetTables().FirstOrDefault() == null) { 617throw Error.CreateDatabaseFailedBecauseOfContextWithNoTables(this.services.Model.DatabaseName); 626foreach (MetaTable table in this.services.Model.GetTables()) { 633foreach (MetaTable table in this.services.Model.GetTables()) { 651foreach (MetaTable table in this.services.Model.GetTables()) { 666foreach (MetaTable table in this.services.Model.GetTables()) { 674foreach (MetaTable table in this.services.Model.GetTables()) { 1147return this.services.Model.GetFunction(mc.Method); 1176writer.WriteLine("-- Context: {0}({1}) Model: {2} Build: {3}", this.GetType().Name, this.Mode, this.services.Model.GetType().Name, ThisAssembly.InformationalVersion); 1223MetaType rowType = services.Model.GetMetaType(elementType); 1456SqlBinder binder = new SqlBinder(this.translator, this.sqlFactory, this.services.Model, this.services.Context.LoadOptions, columnizer, canUseOuterApply); 1461return PreBindDotNetConverter.Convert(n, this.sqlFactory, this.services.Model); 1473SqlRetyper retyper = new SqlRetyper(this.typeProvider, this.services.Model); 1522node = SqlBooleanizer.Rationalize(node, this.typeProvider, this.services.Model); 1543node = SqlLiftWhereClauses.Lift(node, this.typeProvider, this.services.Model); 1656return this.GetDefaultFactory(services.Model.GetMetaType(elemType)); 1990metaType = this.provider.services.Model.GetMetaType(typeof(T));