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