3 overrides of InheritanceRoot
System.Data.Linq (3)
Mapping\AttributedMetaModel.cs (1)
720public override MetaType InheritanceRoot {
Mapping\MappedMetaModel.cs (2)
805public override MetaType InheritanceRoot { 1609public override MetaType InheritanceRoot {
29 references to InheritanceRoot
System.Data.Linq (29)
ChangeDirector.cs (5)
239return Expression.Call(typeof(DataManipulation), "Insert", new Type[] { item.Type.InheritanceRoot.Type, resultSelector.Body.Type }, Expression.Constant(item.Current), resultSelector); 242return Expression.Call(typeof(DataManipulation), "Insert", new Type[] { item.Type.InheritanceRoot.Type }, Expression.Constant(item.Current)); 317MetaType rowTypeRoot = rowType.InheritanceRoot; 381MetaType rowTypeRoot = rowType.InheritanceRoot; 399ITable table = this.context.GetTable(tracked.Type.InheritanceRoot.Type);
ChangeTracker.cs (1)
528MetaType rootMetaType = this.tracker.services.Model.GetTable(instanceType).RowType.InheritanceRoot;
DataContext.cs (1)
608MetaType inheritanceRoot = services.Model.GetMetaType(o.GetType()).InheritanceRoot;
DataServices.cs (4)
213ITable table = this.context.GetTable(type.InheritanceRoot.Type); 238Type rootType = association.ThisMember.DeclaringType.InheritanceRoot.Type; 246Expression otherSource = Expression.Constant(context.GetTable(association.OtherType.InheritanceRoot.Type)); 247if (association.OtherType.Type!=association.OtherType.InheritanceRoot.Type) {
IdentityManager.cs (1)
60type = type.InheritanceRoot;
Mapping\AttributedMetaModel.cs (2)
40var rootClrType = derivedType.InheritanceRoot.Type; // end 50metaType = derivedType.InheritanceRoot.GetInheritanceType(clrType);
SqlClient\Query\MethodCallConverter.cs (1)
333Type originalType = model.GetMetaType(t.Operand.ClrType).InheritanceRoot.Type;
SqlClient\Query\QueryConverter.cs (5)
1163SqlTableValuedFunctionCall functionCall = sql.TableValuedFunctionCall(function.ResultRowTypes[0].InheritanceRoot, mce.Method.ReturnType, function.MappedName, sqlParams, mce); 1169SqlExpression projection = this.translator.BuildProjection(aref, function.ResultRowTypes[0].InheritanceRoot, this.allowDeferred, null, mce); 1195MetaType rowType = function.ResultRowTypes[0].InheritanceRoot; 1259SqlUserRow rowExp = new SqlUserRow(mType.InheritanceRoot, this.typeProvider.GetApplicationType((int)ConverterSpecialTypes.Row), suq, this.dominatingExpression); 2595ITable table = this.services.Context.GetTable(metaType.InheritanceRoot.Type);
SqlClient\Query\SqlBinder.cs (3)
440var mt = this.model.GetMetaType(obj.ClrType).InheritanceRoot; 676MetaType otherType = mm.DeclaringType.InheritanceRoot; 1046MetaType otherType = mdm.DeclaringType.InheritanceRoot;
SqlClient\Query\Translator.cs (5)
29if (rowType.HasInheritance && rowType.InheritanceRoot != rowType) { 51MetaType root = rowType.InheritanceRoot; 247Type tableType = otherType.InheritanceRoot.Type; 334if ((mtLeft != mtRight) && (mtLeft.InheritanceRoot != mtRight.InheritanceRoot)) {
SqlClient\SqlProvider.cs (1)
1677SqlUserRow rowExp = new SqlUserRow(rowType.InheritanceRoot, this.typeProvider.GetApplicationType((int)ConverterSpecialTypes.Row), suq, tmp);