3 instantiations of NavigationProperty
System.Data.Entity (3)
System\Data\Metadata\Converter.cs (1)
831NavigationProperty navigationProperty = new NavigationProperty(somNavigationProperty.Name, typeUsage);
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (1)
559NavigationProperty navigationProperty = new NavigationProperty(propertyInfo.Name, TypeUsage.Create(propertyType), propertyInfo);
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
541NavigationProperty navigationProperty = new NavigationProperty(cspaceProperty.Name, TypeUsage.Create(targetType), clrProperty);
124 references to NavigationProperty
System.Data.Entity (83)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1692public static DbPropertyExpression Property(this DbExpression instance, NavigationProperty navigationProperty)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (1)
234NavigationProperty navProp;
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (2)
306internal void Dump(NavigationProperty navProp, string name) 514Dump((NavigationProperty)e.Property, "Property");
System\Data\Common\Utils\MetadataHelper.cs (1)
913NavigationProperty navigationProperty;
System\Data\Mapping\BaseMetadataMappingVisitor.cs (2)
102foreach (var nproperty in entityType.NavigationProperties) 148protected virtual void Visit(NavigationProperty navigationProperty)
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (4)
651NavigationProperty navigationProperty = (NavigationProperty)edmMember; 652NavigationProperty objectNavigationProperty = (NavigationProperty)objectMember;
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
391protected override void Visit(NavigationProperty navigationProperty)
System\Data\Mapping\ObjectNavigationPropertyMapping.cs (2)
28internal ObjectNavigationPropertyMapping(NavigationProperty edmNavigationProperty, NavigationProperty clrNavigationProperty) :
System\Data\Metadata\Converter.cs (2)
782private static NavigationProperty ConvertToNavigationProperty(EntityType declaringEntityType, 831NavigationProperty navigationProperty = new NavigationProperty(somNavigationProperty.Name, typeUsage);
System\Data\Metadata\Edm\EntityType.cs (5)
140public ReadOnlyMetadataCollection<NavigationProperty> NavigationProperties 144return new FilteredReadOnlyMetadataCollection<NavigationProperty, EdmMember>( 207internal bool TryGetNavigationProperty(string relationshipType, string fromName, string toName, out NavigationProperty navigationProperty) 212foreach (NavigationProperty navProperty in NavigationProperties) 332foreach (var navProperty in NavigationProperties)
System\Data\Metadata\EdmValidator.cs (2)
186ValidateNavigationProperty((NavigationProperty)item, errors, validatedItems); 444private void ValidateNavigationProperty(NavigationProperty item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems)
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (1)
559NavigationProperty navigationProperty = new NavigationProperty(propertyInfo.Name, TypeUsage.Create(propertyType), propertyInfo);
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (8)
419List<KeyValuePair<NavigationProperty, PropertyInfo>> typeClosureToTrack = 420new List<KeyValuePair<NavigationProperty, PropertyInfo>>(); 421foreach (NavigationProperty cspaceProperty in cspaceType.GetDeclaredOnlyMembers<NavigationProperty>()) 430new KeyValuePair<NavigationProperty, PropertyInfo>( 450var cp = typeToTrack.Key; 506private void CreateAndAddNavigationProperty(StructuralType cspaceType, StructuralType ospaceType, NavigationProperty cspaceProperty, PropertyInfo clrProperty) 541NavigationProperty navigationProperty = new NavigationProperty(cspaceProperty.Name, TypeUsage.Create(targetType), clrProperty);
System\Data\Objects\DataClasses\RelatedEnd.cs (3)
2543private NavigationProperty navigationPropertyCache = null; 2545internal NavigationProperty NavigationProperty 2554NavigationProperty member;
System\Data\Objects\DataClasses\RelationshipManager.cs (3)
382!(member is NavigationProperty)) 387NavigationProperty navProp = (NavigationProperty)member;
System\Data\Objects\ELinq\InitializerFacet.cs (3)
86internal static InitializerMetadata CreateEntityCollectionInitializer(EdmItemCollection itemCollection, Type type, NavigationProperty navigationProperty) 443internal EntityCollectionInitializerMetadata(Type type, NavigationProperty navigationProperty) 450private readonly NavigationProperty _navigationProperty;
System\Data\Objects\ELinq\Translator.cs (3)
314NavigationProperty navProp = (NavigationProperty)member; 353private static DbExpression TranslateNavigationProperty(ExpressionConverter parent, MemberInfo clrMember, DbExpression instance, NavigationProperty navProp)
System\Data\Objects\EntityEntry.cs (5)
2132ReadOnlyMetadataCollection<NavigationProperty> navigationProperties = 2135foreach (NavigationProperty n in navigationProperties) 2169private void TakeSnapshotOfSingleRelationship(RelatedEnd relatedEnd, NavigationProperty n, object o) 2252ReadOnlyMetadataCollection<NavigationProperty> navigationProperties = 2255foreach (NavigationProperty n in navigationProperties)
System\Data\Objects\Internal\EntityProxyFactory.cs (13)
1044private List<KeyValuePair<NavigationProperty, PropertyInfo>> _referenceProperties; 1045private List<KeyValuePair<NavigationProperty, PropertyInfo>> _collectionProperties; 1069_referenceProperties = new List<KeyValuePair<NavigationProperty, PropertyInfo>>(); 1070_collectionProperties = new List<KeyValuePair<NavigationProperty, PropertyInfo>>(); 1101NavigationProperty navProperty = (NavigationProperty)member; 1172foreach (KeyValuePair<NavigationProperty, PropertyInfo> navProperty in _collectionProperties) 1209NavigationProperty navProperty = member as NavigationProperty; 1345private void EmitReferenceProperty(TypeBuilder typeBuilder, PropertyBuilder propertyBuilder, PropertyInfo baseProperty, NavigationProperty navProperty) 1366_referenceProperties.Add(new KeyValuePair<NavigationProperty,PropertyInfo>(navProperty, baseProperty)); 1369private void EmitCollectionProperty(TypeBuilder typeBuilder, PropertyBuilder propertyBuilder, PropertyInfo baseProperty, NavigationProperty navProperty) 1396_collectionProperties.Add(new KeyValuePair<NavigationProperty, PropertyInfo>(navProperty, baseProperty));
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (1)
56foreach (NavigationProperty navigationProperty in ospaceEntityType.NavigationProperties)
System\Data\Objects\Internal\LazyLoadBehavior.cs (4)
61NavigationProperty navProperty = (NavigationProperty)member; 123NavigationProperty navProperty = (NavigationProperty)member;
System\Data\Objects\Internal\ObjectFullSpanRewriter.cs (6)
43internal Dictionary<NavigationProperty, SpanPathInfo> Children; 104NavigationProperty nextNavProp = null; 116parentInfo.Children = new Dictionary<NavigationProperty, SpanPathInfo>(); 150private static EntityType EntityTypeFromResultType(NavigationProperty navProp) 198private AssociationEndMember GetNavigationPropertyTargetEnd(NavigationProperty property) 218foreach (KeyValuePair<NavigationProperty, SpanPathInfo> nextInfo in currentInfo.Children)
System\Data\Query\InternalTrees\Command.cs (2)
922NavigationProperty navProp = prop as NavigationProperty;
System\Data\Query\InternalTrees\ScalarOps.cs (1)
430Debug.Assert((property is EdmProperty) || (property is RelationshipEndMember) || (property is NavigationProperty), "Unexpected EdmMember type");
System\Data\Query\PlanCompiler\ITreeGenerator.cs (2)
1222NavigationProperty navigationProperty = (NavigationProperty)instanceExpression.Property;
System\Data\Query\PlanCompiler\PreProcessor.cs (5)
972private Node RewriteNavigationProperty(NavigationProperty navProperty, 1243NavigationProperty navProperty = (NavigationProperty)op.PropertyInfo; 1294NavigationProperty navProperty = (NavigationProperty)op.PropertyInfo;
System.Data.Entity.Design (8)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (2)
386foreach (NavigationProperty navigationProperty in entityType.NavigationProperties ) 413private void WriteNavigationPropertyElement(NavigationProperty member)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
1057NavigationProperty navigationProperty = new NavigationProperty(name, to.TypeUsage);
System\Data\EntityModel\Emitters\EntityTypeEmitter.cs (2)
45foreach ( NavigationProperty navigationProperty in Item.GetDeclaredOnlyMembers<NavigationProperty>() )
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (3)
36public NavigationPropertyEmitter(ClientApiGenerator generator, NavigationProperty navigationProperty, bool declaringTypeUsesStandardBaseType) 298private new NavigationProperty Item 302return base.Item as NavigationProperty;
System.Data.Services (9)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (9)
121NavigationProperty sourceNavigationProperty; 156foreach (NavigationProperty navProperty in targetEntityType.NavigationProperties) 1010foreach (NavigationProperty navigationProperty in type.NavigationProperties) 1479private static NavigationProperty PropertyForEnd(EntitySet set, RelationshipEndMember member) 1483foreach (NavigationProperty p in set.ElementType.NavigationProperties) 1741NavigationProperty navProperty = (NavigationProperty)member; 2400NavigationProperty navProperty = cspaceEntityType.NavigationProperties[propertyName]; 2595EdmType targetType = ((RefType)((NavigationProperty)member).ToEndMember.TypeUsage.EdmType).ElementType;
System.Data.Services.Design (6)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
826string name = eventArgs.PropertySource.BuiltInTypeKind == BuiltInTypeKind.EdmProperty ? ((EdmProperty)eventArgs.PropertySource).Name : ((NavigationProperty)eventArgs.PropertySource).Name;
System\Data\EntityModel\Emitters\EntityTypeEmitter.cs (2)
42NavigationProperty navigationProperty = (member as NavigationProperty);
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (3)
30public NavigationPropertyEmitter(ClientApiGenerator generator, NavigationProperty navigationProperty, bool declaringTypeUsesStandardBaseType) 299private new NavigationProperty Item 303return base.Item as NavigationProperty;
System.Web.DynamicData (8)
DynamicData\ModelProviders\EFAssociationProvider.cs (4)
10public EFAssociationProvider(EFColumnProvider column, NavigationProperty navigationProperty) { 81private static bool IsZeroOrOne(NavigationProperty navigationProperty) { 98internal static IEnumerable<string> GetDependentPropertyNames(NavigationProperty navigationProperty) { 102internal static IEnumerable<string> GetDependentPropertyNames(NavigationProperty navigationProperty, bool checkRelationshipType) {
DynamicData\ModelProviders\EFColumnProvider.cs (4)
35var navProp = m as NavigationProperty; 44var navigationProperties = property.DeclaringType.Members.OfType<NavigationProperty>(); 137_association = new EFAssociationProvider(this, (NavigationProperty)EdmMember);
System.Web.Entity (8)
System\Data\WebControls\EntityDataSourceColumn.cs (6)
262NavigationProperty navigationProperty; 334private readonly NavigationProperty navigationProperty; 336protected EntityDataSourceReferenceValueColumn(MetadataWorkspace ocWorkspace, NavigationProperty navigationProperty) 345internal static EntityDataSourceReferenceValueColumn Create(Type clrToType, MetadataWorkspace ocWorkspace, NavigationProperty navigationProperty) 368protected NavigationProperty NavigationProperty 403public EntityDataSourceReferenceValueColumn(MetadataWorkspace ocWorkspace, NavigationProperty navigationProperty)
System\Data\WebControls\EntityDataSourceUtil.cs (2)
805internal static bool TryGetCorrespondingNavigationProperty(AssociationEndMember end, out NavigationProperty navigationProperty) 1010NavigationProperty navigationProperty;
System.Web.Entity.Design (2)
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (2)
616NavigationProperty navProp = (NavigationProperty)member;