Example #1
0
 protected virtual void VisitComplexType(ComplexType item)
 {
     this.VisitMetadataItem((MetadataItem)item);
     if (item.Properties.Count <= 0)
     {
         return;
     }
     EdmModelVisitor.VisitCollection <EdmProperty>((IEnumerable <EdmProperty>)item.Properties, new Action <EdmProperty>(this.VisitEdmProperty));
 }
Example #2
0
 protected internal virtual void VisitRowType(RowType rowType)
 {
     this.VisitMetadataItem((MetadataItem)rowType);
     if (rowType.DeclaredProperties.Count <= 0)
     {
         return;
     }
     EdmModelVisitor.VisitCollection <EdmProperty>((IEnumerable <EdmProperty>)rowType.DeclaredProperties, new Action <EdmProperty>(this.VisitEdmProperty));
 }
Example #3
0
 protected virtual void VisitEdmAssociationConstraint(ReferentialConstraint item)
 {
     if (item == null)
     {
         return;
     }
     this.VisitMetadataItem((MetadataItem)item);
     if (item.ToRole != null)
     {
         this.VisitEdmAssociationEnd(item.ToRole);
     }
     EdmModelVisitor.VisitCollection <EdmProperty>((IEnumerable <EdmProperty>)item.ToProperties, new Action <EdmProperty>(this.VisitEdmProperty));
 }
Example #4
0
 protected virtual void VisitAssociationTypes(IEnumerable <AssociationType> associationTypes)
 {
     EdmModelVisitor.VisitCollection <AssociationType>(associationTypes, new Action <AssociationType>(this.VisitEdmAssociationType));
 }
Example #5
0
 protected virtual void VisitDeclaredNavigationProperties(
     EntityType entityType,
     IEnumerable <NavigationProperty> navigationProperties)
 {
     EdmModelVisitor.VisitCollection <NavigationProperty>(navigationProperties, new Action <NavigationProperty>(this.VisitEdmNavigationProperty));
 }
Example #6
0
 protected virtual void VisitDeclaredProperties(
     EntityType entityType,
     IList <EdmProperty> properties)
 {
     EdmModelVisitor.VisitCollection <EdmProperty>((IEnumerable <EdmProperty>)properties, new Action <EdmProperty>(this.VisitEdmProperty));
 }
Example #7
0
 protected virtual void VisitEnumMembers(EnumType enumType, IEnumerable <EnumMember> members)
 {
     EdmModelVisitor.VisitCollection <EnumMember>(members, new Action <EnumMember>(this.VisitEdmEnumTypeMember));
 }
Example #8
0
 protected virtual void VisitAssociationSets(
     EntityContainer container,
     IEnumerable <AssociationSet> associationSets)
 {
     EdmModelVisitor.VisitCollection <AssociationSet>(associationSets, new Action <AssociationSet>(this.VisitEdmAssociationSet));
 }
Example #9
0
 protected virtual void VisitFunctionParameters(IEnumerable <FunctionParameter> parameters)
 {
     EdmModelVisitor.VisitCollection <FunctionParameter>(parameters, new Action <FunctionParameter>(this.VisitFunctionParameter));
 }
Example #10
0
 protected internal virtual void VisitFunctions(IEnumerable <EdmFunction> functions)
 {
     EdmModelVisitor.VisitCollection <EdmFunction>(functions, new Action <EdmFunction>(this.VisitEdmFunction));
 }
Example #11
0
 protected virtual void VisitEnumTypes(IEnumerable <EnumType> enumTypes)
 {
     EdmModelVisitor.VisitCollection <EnumType>(enumTypes, new Action <EnumType>(this.VisitEdmEnumType));
 }
Example #12
0
 protected virtual void VisitDeclaredProperties(
     ComplexType complexType,
     IEnumerable <EdmProperty> properties)
 {
     EdmModelVisitor.VisitCollection <EdmProperty>(properties, new Action <EdmProperty>(this.VisitEdmProperty));
 }
Example #13
0
 protected virtual void VisitComplexTypes(IEnumerable <ComplexType> complexTypes)
 {
     EdmModelVisitor.VisitCollection <ComplexType>(complexTypes, new Action <ComplexType>(this.VisitComplexType));
 }
Example #14
0
 protected internal virtual void VisitFunctionImports(
     EntityContainer container,
     IEnumerable <EdmFunction> functionImports)
 {
     EdmModelVisitor.VisitCollection <EdmFunction>(functionImports, new Action <EdmFunction>(this.VisitFunctionImport));
 }
Example #15
0
 protected virtual void VisitAnnotations(
     MetadataItem item,
     IEnumerable <MetadataProperty> annotations)
 {
     EdmModelVisitor.VisitCollection <MetadataProperty>(annotations, new Action <MetadataProperty>(this.VisitAnnotation));
 }
Example #16
0
 protected internal virtual void VisitFunctionReturnParameters(
     IEnumerable <FunctionParameter> returnParameters)
 {
     EdmModelVisitor.VisitCollection <FunctionParameter>(returnParameters, new Action <FunctionParameter>(this.VisitFunctionReturnParameter));
 }
Example #17
0
 protected virtual void VisitEntityContainers(IEnumerable <EntityContainer> entityContainers)
 {
     EdmModelVisitor.VisitCollection <EntityContainer>(entityContainers, new Action <EntityContainer>(this.VisitEdmEntityContainer));
 }
Example #18
0
 protected virtual void VisitEntitySets(
     EntityContainer container,
     IEnumerable <EntitySet> entitySets)
 {
     EdmModelVisitor.VisitCollection <EntitySet>(entitySets, new Action <EntitySet>(this.VisitEdmEntitySet));
 }