1 instantiation of EntityReference
System.Data.Entity (1)
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
949
relatedEnd = new
EntityReference
<TTargetEntity>(wrappedOwner, navigation, relationshipFixer);
22 references to EntityReference
System.Data.Entity (16)
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (1)
725
type.GetGenericTypeDefinition() == typeof(System.Data.Objects.DataClasses.
EntityReference
<>) ||
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
467
type.GetGenericTypeDefinition() == typeof(System.Data.Objects.DataClasses.
EntityReference
<>) ||
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (2)
695
EntityReference
<TEntity> reference = relatedEnd as
EntityReference
<TEntity>;
System\Data\Objects\DataClasses\RelationshipManager.cs (10)
339
internal
EntityReference
<TTargetEntity> GetRelatedReference<TSourceEntity, TTargetEntity>(string relationshipName,
345
EntityReference
<TTargetEntity> entityRef;
350
entityRef = relatedEnd as
EntityReference
<TTargetEntity>;
361
return CreateRelatedEnd<TSourceEntity, TTargetEntity>(navigation, sourceRoleMultiplicity, RelationshipMultiplicity.One, existingRelatedEnd) as
EntityReference
<TTargetEntity>;
522
public void InitializeRelatedReference<TTargetEntity>(string relationshipName, string targetRoleName,
EntityReference
<TTargetEntity> entityReference)
558
EntityReference
<TTargetEntity> reference = GetRelatedEndInternal(relationshipName, targetRoleName, entityReference, relationship) as
EntityReference
<TTargetEntity>;
881
public
EntityReference
<TTargetEntity> GetRelatedReference<TTargetEntity>(string relationshipName, string targetRoleName)
884
EntityReference
<TTargetEntity> reference = GetRelatedEndInternal(PrependNamespaceToRelationshipName(relationshipName), targetRoleName) as
EntityReference
<TTargetEntity>;
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1352
MethodInfo specificEntityReferenceSetValue = typeof(
EntityReference
<>).MakeGenericType(baseProperty.PropertyType).GetMethod("set_Value"); ;
System\Data\Objects\ObjectContext.cs (1)
93
/// If this flag is set to false then setting the Value property of the <see cref="
EntityReference
{T}"/> for an
System.Web.Entity (6)
System\Data\WebControls\EntityDataSourceColumn.cs (3)
411
EntityReference
<T> reference = GetRelatedReference(entity);
431
private
EntityReference
<T> GetRelatedReference(EntityDataSourceWrapper entity)
435
EntityReference
<T> reference = relationshipManager.GetRelatedReference<T>(
System\Data\WebControls\EntityDataSourceReferenceGroup.cs (3)
70
EntityReference
<T> reference = GetRelatedReference(wrapper);
131
private
EntityReference
<T> GetRelatedReference(EntityDataSourceWrapper entity)
135
EntityReference
<T> reference = relationshipManager.GetRelatedReference<T>(