2 types derived from MetaTable
System.Data.Linq (2)
Mapping\AttributedMetaModel.cs (1)
314
internal sealed class AttributedMetaTable :
MetaTable
{
Mapping\MappedMetaModel.cs (1)
347
internal sealed class MappedTable :
MetaTable
{
66 references to MetaTable
System.Data.Linq (60)
DataBindingList.cs (1)
14
MetaTable
metaTable = context.Services.Model.GetTable(typeof(T));
DataContext.cs (8)
70
Dictionary<
MetaTable
, ITable> tables;
190
this.tables = new Dictionary<
MetaTable
, ITable>();
358
MetaTable
metaTable = this.services.Model.GetTable(typeof(TEntity));
381
MetaTable
metaTable = this.services.Model.GetTable(type);
391
private ITable GetTable(
MetaTable
metaTable) {
403
private static void ValidateTable(
MetaTable
metaTable) {
1109
MetaTable
metaTable;
1111
internal Table(DataContext context,
MetaTable
metaTable) {
DataServices.cs (1)
511
MetaTable
metaTable = this.metaModel.GetTable(t.ElementType);
Mapping\AttributedMetaModel.cs (17)
41
var
metaTable = derivedType.Table;
65
Dictionary<Type,
MetaTable
> metaTables;
66
ReadOnlyCollection<
MetaTable
> staticTables;
76
this.metaTables = new Dictionary<Type,
MetaTable
>();
108
public override IEnumerable<
MetaTable
> GetTables() {
129
HashSet<
MetaTable
> tables = new HashSet<
MetaTable
>();
148
this.staticTables = new List<
MetaTable
>(tables).AsReadOnly();
205
public override
MetaTable
GetTable(Type rowType) {
209
MetaTable
table;
229
internal
MetaTable
GetTableNoLocks(Type rowType) {
230
MetaTable
table;
280
MetaTable
tab = this.GetTable(type);
528
MetaTable
table;
551
internal AttributedMetaType(MetaModel model,
MetaTable
table, Type type, MetaType inheritanceRoot) {
672
public override
MetaTable
Table {
933
MetaTable
tbl = model.GetTableNoLocks(type);
Mapping\MappedMetaModel.cs (11)
28
Dictionary<Type,
MetaTable
> metaTables;
41
this.metaTables = new Dictionary<Type,
MetaTable
>();
85
MetaTable
table = new MappedTable(this, tableMapping, rootType);
168
public override IEnumerable<
MetaTable
> GetTables() {
172
public override
MetaTable
GetTable(Type rowType) {
176
MetaTable
table = null;
565
MetaTable
table;
589
internal MappedType(MetaModel model,
MetaTable
table, TypeMapping typeMapping, Type type, MetaType inheritanceRoot) {
746
public override
MetaTable
Table {
1398
MetaTable
tbl = model.GetTable(elementType);
1550
public override
MetaTable
Table {
Mapping\MetaModel.cs (3)
38
public abstract
MetaTable
GetTable(Type rowType);
50
public abstract IEnumerable<
MetaTable
> GetTables();
112
public abstract
MetaTable
Table { get; }
SqlClient\Common\SqlFactory.cs (1)
316
internal SqlTable Table(
MetaTable
table, MetaType rowType, Expression sourceExpression) {
SqlClient\Common\SqlNode.cs (3)
379
private
MetaTable
table;
384
internal SqlTable(
MetaTable
table, MetaType rowType, ProviderType sqlRowType, Expression sourceExpression)
392
internal
MetaTable
MetaTable {
SqlClient\Query\QueryConverter.cs (5)
788
MetaTable
metaTable = this.services.Model.GetTable(table.ElementType);
970
MetaTable
table = this.services.Model.GetTable(selection.ClrType);
2395
MetaTable
metaTable = this.services.Model.GetTable(item.Type);
2560
MetaTable
metaTable = this.services.Model.GetTable(item.Type);
2644
MetaTable
metaTable = this.services.Model.GetTable(item.Type);
SqlClient\SqlBuilder.cs (5)
37
internal static string GetCreateSchemaForTableCommand(
MetaTable
table) {
57
internal static string GetCreateTableCommand(
MetaTable
table) {
77
internal static void BuildFieldDeclarations(
MetaTable
table, StringBuilder sb) {
125
private static void BuildPrimaryKey(
MetaTable
table, StringBuilder sb) {
145
internal static IEnumerable<String> GetCreateForeignKeyCommands(
MetaTable
table) {
SqlClient\SqlProvider.cs (5)
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()) {
System.Web.DynamicData (5)
DynamicData\DynamicDataExtensions.cs (1)
268
System.Data.Linq.Mapping.
MetaTable
metaTable = context.Mapping.GetTable(rowType);
DynamicData\ModelProviders\DLinqDataModelProvider.cs (4)
6
using LinqMetaTable = System.Data.Linq.Mapping.
MetaTable
;
27
LinqMetaTable
table = GetLinqTable(context, entityType);
37
private
LinqMetaTable
GetLinqTable(DataContext context, Type entityType) {
50
private void ProcessTable(
LinqMetaTable
table, LinqMetaType rowType, string name, PropertyInfo prop) {
System.Web.Extensions (1)
UI\WebControls\LinqDataSourceView.cs (1)
629
MetaTable
tableMetaData = contextMetaData.GetTable(dataObjectType);