2 overrides of OtherType
System.Data.Linq (2)
Mapping\AttributedMetaModel.cs (1)
1374public override MetaType OtherType {
Mapping\MappedMetaModel.cs (1)
1295public override MetaType OtherType {
16 references to OtherType
System.Data.Linq (15)
ChangeProcessor.cs (2)
175object cached = this.services.IdentityManager.Find(assoc.OtherType, keyValues); 512other = this.services.GetCachedObject(assoc.OtherType, foreignKeys);
ChangeTracker.cs (1)
614throw Error.CouldNotRemoveRelationshipBecauseOneSideCannotBeNull(assoc.OtherType.Name, this.Type.Name, keys);
DataContext.cs (2)
410if(!assoc.OtherType.IsEntity) { 411throw Error.NonEntityAssociationMapping(assoc.ThisMember.DeclaringType.Type, assoc.ThisMember.Name, assoc.OtherType.Type);
DataServices.cs (6)
69MetaType otherType = mm.Association.OtherType; 246Expression otherSource = Expression.Constant(context.GetTable(association.OtherType.InheritanceRoot.Type)); 247if (association.OtherType.Type!=association.OtherType.InheritanceRoot.Type) { 248otherSource = Expression.Call(typeof(Enumerable), "Cast", new Type[] { association.OtherType.Type }, otherSource); 402MetaType mt = this.member.IsAssociation ? this.member.Association.OtherType : this.member.DeclaringType;
Mapping\MappedMetaModel.cs (1)
1526return string.Format(Globalization.CultureInfo.InvariantCulture, "{0} ->{1} {2}", ThisMember.DeclaringType.Name, IsMany ? "*" : "", OtherType.Name);
SqlClient\Query\Translator.cs (2)
125MetaType otherType = member.Association.OtherType; 246MetaType otherType = mm.Association.OtherType;
SqlClient\SqlBuilder.cs (1)
162string otherTable = assoc.OtherType.Table.TableName;
System.Web.DynamicData (1)
DynamicData\ModelProviders\DLinqAssociationProvider.cs (1)
82ToTable = ((DLinqDataModelProvider)FromColumn.Table.DataModel).DLinqTables.Single(tp => tp.EntityType == association.OtherType.Type);