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