System\Data\Metadata\Edm\LightweightCodeGenerator.cs (6)
94internal static RelatedEnd GetRelatedEnd(RelationshipManager sourceRelationshipManager, AssociationEndMember sourceMember, AssociationEndMember targetMember, RelatedEnd existingRelatedEnd)
96Func<RelationshipManager, RelatedEnd, RelatedEnd> getRelatedEnd = sourceMember.GetRelatedEnd;
466private static Func<RelationshipManager, RelatedEnd, RelatedEnd> CreateGetRelatedEndMethod(AssociationEndMember sourceMember, AssociationEndMember targetMember)
481return (Func<RelationshipManager, RelatedEnd, RelatedEnd>)getRelatedEndDelegate;
484private static Func<RelationshipManager, RelatedEnd, RelatedEnd> CreateGetRelatedEndMethod<TSource, TTarget>(AssociationEndMember sourceMember, AssociationEndMember targetMember, NavigationPropertyAccessor sourceAccessor, NavigationPropertyAccessor targetAccessor)
488Func<RelationshipManager, RelatedEnd, RelatedEnd> getRelatedEnd;
System\Data\Objects\Internal\EntityProxyFactory.cs (8)
1053static readonly MethodInfo s_CreateRelationshipManager = typeof(RelationshipManager).GetMethod("Create", new Type[] { typeof(IEntityWithRelationships) });
1055static readonly MethodInfo s_GetRelatedReference = typeof(RelationshipManager).GetMethod("GetRelatedReference", new Type[] { typeof(string), typeof(string) });
1056static readonly MethodInfo s_GetRelatedCollection = typeof(RelationshipManager).GetMethod("GetRelatedCollection", new Type[] { typeof(string), typeof(string) });
1057static readonly MethodInfo s_GetRelatedEnd = typeof(RelationshipManager).GetMethod("GetRelatedEnd", new Type[] { typeof(string), typeof(string) });
1163generator.DeclareLocal(typeof(RelationshipManager));
1446_relationshipManagerField = typeBuilder.DefineField("_relationshipManager", typeof(RelationshipManager), FieldAttributes.Private);
1449PropertyBuilder relationshipManagerProperty = typeBuilder.DefineProperty("RelationshipManager", System.Reflection.PropertyAttributes.None, typeof(RelationshipManager), Type.EmptyTypes);
1453typeof(RelationshipManager), Type.EmptyTypes);
System\Data\Objects\Internal\EntityWrapper.cs (4)
43: base(entity, RelationshipManager.Create(), key, entitySet, context, mergeOption, identityType,
57: base(entity, RelationshipManager.Create(), propertyStrategy, changeTrackingStrategy, keyStrategy)
161protected EntityWrapper(TEntity entity, RelationshipManager relationshipManager,
194protected EntityWrapper(TEntity entity, RelationshipManager relationshipManager, EntityKey key, EntitySet set, ObjectContext context, MergeOption mergeOption, Type identityType,