3 overrides of InheritanceCode
System.Data.Linq (3)
Mapping\AttributedMetaModel.cs (1)
717public override object InheritanceCode {
Mapping\MappedMetaModel.cs (2)
789public override object InheritanceCode { 1606public override object InheritanceCode {
14 references to InheritanceCode
System.Data.Linq (14)
ChangeTracker.cs (2)
65if (IsSameDiscriminator(discriminator, type.InheritanceCode)) 638object code = currentType.InheritanceCode;
Mapping\AttributedMetaModel.cs (2)
774if (string.Compare((string)mt.InheritanceCode, skey, StringComparison.OrdinalIgnoreCase) == 0) 780if (object.Equals(mt.InheritanceCode, key))
Mapping\MappedMetaModel.cs (2)
854if (string.Compare((string)mt.InheritanceCode, skey, StringComparison.OrdinalIgnoreCase) == 0) 860if (object.Equals(mt.InheritanceCode, key))
SqlClient\Common\SqlFactory.cs (3)
302if(typeOf.InheritanceCode==null) { 307Type type = typeOf.InheritanceCode.GetType(); 308SqlValue match = new SqlValue(type, this.typeProvider.From(type), typeOf.InheritanceCode, true, sourceExpression);
SqlClient\Query\SqlBinder.cs (2)
426object discriminator = defaultType.InheritanceCode; 430SqlExpression @default = sql.Value(discriminator.GetType(), tc.Whens[0].Match.SqlType, defaultType.InheritanceCode, true, tc.SourceExpression);
SqlClient\Query\Translator.cs (1)
64object code = InheritanceRules.InheritanceCodeForClientCompare(type.InheritanceCode, dm.SqlType);
SqlClient\Reader\ObjectReaderCompiler.cs (2)
1992if (imt.InheritanceCode != null) { 1998object code = InheritanceRules.InheritanceCodeForClientCompare(imt.InheritanceCode, discriminatorType);