EntityModel.edmx 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  3. <!-- EF Runtime content -->
  4. <edmx:Runtime>
  5. <!-- SSDL content -->
  6. <edmx:StorageModels>
  7. <Schema Namespace="Model.Store" Provider="Oracle.ManagedDataAccess.Client" ProviderManifestToken="11.2" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
  8. <EntityType Name="EXEMPLE_TYPE_VIKING">
  9. <Key>
  10. <PropertyRef Name="ID" />
  11. </Key>
  12. <Property Name="ID" Type="number" Precision="38" Scale="0" Nullable="false" StoreGeneratedPattern="Identity" />
  13. <Property Name="TYPE" Type="varchar2" MaxLength="255" />
  14. </EntityType>
  15. <EntityType Name="EXEMPLE_VIKINGS">
  16. <Key>
  17. <PropertyRef Name="ID" />
  18. </Key>
  19. <Property Name="ID" Type="number" Precision="38" Scale="0" Nullable="false" StoreGeneratedPattern="Identity" />
  20. <Property Name="NOM" Type="varchar2" MaxLength="255" Nullable="false" />
  21. <Property Name="ID_TYPE" Type="number" Precision="38" Scale="0" Nullable="false" />
  22. <Property Name="DESCRIPTION" Type="varchar2" MaxLength="255" />
  23. </EntityType>
  24. <Association Name="EXEMPLE_VIKINGS_FK">
  25. <End Role="EXEMPLE_TYPE_VIKING" Type="Self.EXEMPLE_TYPE_VIKING" Multiplicity="1" />
  26. <End Role="EXEMPLE_VIKINGS" Type="Self.EXEMPLE_VIKINGS" Multiplicity="*" />
  27. <ReferentialConstraint>
  28. <Principal Role="EXEMPLE_TYPE_VIKING">
  29. <PropertyRef Name="ID" />
  30. </Principal>
  31. <Dependent Role="EXEMPLE_VIKINGS">
  32. <PropertyRef Name="ID_TYPE" />
  33. </Dependent>
  34. </ReferentialConstraint>
  35. </Association>
  36. <EntityContainer Name="ModelStoreContainer">
  37. <EntitySet Name="EXEMPLE_TYPE_VIKING" EntityType="Self.EXEMPLE_TYPE_VIKING" Schema="FER" store:Type="Tables" />
  38. <EntitySet Name="EXEMPLE_VIKINGS" EntityType="Self.EXEMPLE_VIKINGS" Schema="FER" store:Type="Tables" />
  39. <AssociationSet Name="EXEMPLE_VIKINGS_FK" Association="Self.EXEMPLE_VIKINGS_FK">
  40. <End Role="EXEMPLE_TYPE_VIKING" EntitySet="EXEMPLE_TYPE_VIKING" />
  41. <End Role="EXEMPLE_VIKINGS" EntitySet="EXEMPLE_VIKINGS" />
  42. </AssociationSet>
  43. </EntityContainer>
  44. </Schema></edmx:StorageModels>
  45. <!-- CSDL content -->
  46. <edmx:ConceptualModels>
  47. <Schema Namespace="Model" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
  48. <EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true">
  49. <EntitySet Name="EXEMPLE_TYPE_VIKING" EntityType="Model.EXEMPLE_TYPE_VIKING" />
  50. <EntitySet Name="EXEMPLE_VIKINGS" EntityType="Model.EXEMPLE_VIKINGS" />
  51. <AssociationSet Name="EXEMPLE_VIKINGS_FK" Association="Model.EXEMPLE_VIKINGS_FK">
  52. <End Role="EXEMPLE_TYPE_VIKING" EntitySet="EXEMPLE_TYPE_VIKING" />
  53. <End Role="EXEMPLE_VIKINGS" EntitySet="EXEMPLE_VIKINGS" />
  54. </AssociationSet>
  55. </EntityContainer>
  56. <EntityType Name="EXEMPLE_TYPE_VIKING">
  57. <Key>
  58. <PropertyRef Name="ID" />
  59. </Key>
  60. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  61. <Property Name="TYPE" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
  62. <NavigationProperty Name="EXEMPLE_VIKINGS" Relationship="Model.EXEMPLE_VIKINGS_FK" FromRole="EXEMPLE_TYPE_VIKING" ToRole="EXEMPLE_VIKINGS" />
  63. </EntityType>
  64. <EntityType Name="EXEMPLE_VIKINGS">
  65. <Key>
  66. <PropertyRef Name="ID" />
  67. </Key>
  68. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  69. <Property Name="NOM" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
  70. <Property Name="ID_TYPE" Type="Int32" Nullable="false" />
  71. <Property Name="DESCRIPTION" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
  72. <NavigationProperty Name="EXEMPLE_TYPE_VIKING" Relationship="Model.EXEMPLE_VIKINGS_FK" FromRole="EXEMPLE_VIKINGS" ToRole="EXEMPLE_TYPE_VIKING" />
  73. </EntityType>
  74. <Association Name="EXEMPLE_VIKINGS_FK">
  75. <End Type="Model.EXEMPLE_TYPE_VIKING" Role="EXEMPLE_TYPE_VIKING" Multiplicity="1" />
  76. <End Type="Model.EXEMPLE_VIKINGS" Role="EXEMPLE_VIKINGS" Multiplicity="*" />
  77. <ReferentialConstraint>
  78. <Principal Role="EXEMPLE_TYPE_VIKING">
  79. <PropertyRef Name="ID" />
  80. </Principal>
  81. <Dependent Role="EXEMPLE_VIKINGS">
  82. <PropertyRef Name="ID_TYPE" />
  83. </Dependent>
  84. </ReferentialConstraint>
  85. </Association>
  86. </Schema>
  87. </edmx:ConceptualModels>
  88. <!-- C-S mapping content -->
  89. <edmx:Mappings>
  90. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  91. <EntityContainerMapping StorageEntityContainer="ModelStoreContainer" CdmEntityContainer="Entities">
  92. <EntitySetMapping Name="EXEMPLE_TYPE_VIKING">
  93. <EntityTypeMapping TypeName="Model.EXEMPLE_TYPE_VIKING">
  94. <MappingFragment StoreEntitySet="EXEMPLE_TYPE_VIKING">
  95. <ScalarProperty Name="TYPE" ColumnName="TYPE" />
  96. <ScalarProperty Name="ID" ColumnName="ID" />
  97. </MappingFragment>
  98. </EntityTypeMapping>
  99. </EntitySetMapping>
  100. <EntitySetMapping Name="EXEMPLE_VIKINGS">
  101. <EntityTypeMapping TypeName="Model.EXEMPLE_VIKINGS">
  102. <MappingFragment StoreEntitySet="EXEMPLE_VIKINGS">
  103. <ScalarProperty Name="DESCRIPTION" ColumnName="DESCRIPTION" />
  104. <ScalarProperty Name="ID_TYPE" ColumnName="ID_TYPE" />
  105. <ScalarProperty Name="NOM" ColumnName="NOM" />
  106. <ScalarProperty Name="ID" ColumnName="ID" />
  107. </MappingFragment>
  108. </EntityTypeMapping>
  109. </EntitySetMapping>
  110. </EntityContainerMapping>
  111. </Mapping>
  112. </edmx:Mappings>
  113. </edmx:Runtime>
  114. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  115. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  116. <Connection>
  117. <DesignerInfoPropertySet>
  118. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  119. </DesignerInfoPropertySet>
  120. </Connection>
  121. <Options>
  122. <DesignerInfoPropertySet>
  123. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  124. <DesignerProperty Name="EnablePluralization" Value="false" />
  125. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  126. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  127. <DesignerProperty Name="CodeGenerationStrategy" Value="Aucun" />
  128. </DesignerInfoPropertySet>
  129. </Options>
  130. <!-- Diagram content (shape and connector positions) -->
  131. <Diagrams></Diagrams>
  132. </Designer>
  133. </edmx:Edmx>