|
|
@@ -5,48 +5,109 @@
|
|
|
<!-- SSDL content -->
|
|
|
<edmx:StorageModels>
|
|
|
<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">
|
|
|
- <EntityType Name="PARAM">
|
|
|
+ <EntityType Name="EXEMPLE_TYPE_VIKING">
|
|
|
<Key>
|
|
|
- <PropertyRef Name="PRM_CLE" />
|
|
|
+ <PropertyRef Name="ID" />
|
|
|
</Key>
|
|
|
- <Property Name="PRM_CLE" Type="varchar2" MaxLength="10" Nullable="false" />
|
|
|
- <Property Name="PRM_LIB1" Type="varchar2" MaxLength="100" />
|
|
|
- <Property Name="PRM_LIB2" Type="varchar2" MaxLength="100" />
|
|
|
+ <Property Name="ID" Type="number" Precision="38" Scale="0" Nullable="false" StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="TYPE" Type="varchar2" MaxLength="255" />
|
|
|
</EntityType>
|
|
|
+ <EntityType Name="EXEMPLE_VIKINGS">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="ID" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="ID" Type="number" Precision="38" Scale="0" Nullable="false" StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="NOM" Type="varchar2" MaxLength="255" Nullable="false" />
|
|
|
+ <Property Name="ID_TYPE" Type="number" Precision="38" Scale="0" Nullable="false" />
|
|
|
+ <Property Name="DESCRIPTION" Type="varchar2" MaxLength="255" />
|
|
|
+ </EntityType>
|
|
|
+ <Association Name="EXEMPLE_VIKINGS_FK">
|
|
|
+ <End Role="EXEMPLE_TYPE_VIKING" Type="Self.EXEMPLE_TYPE_VIKING" Multiplicity="1" />
|
|
|
+ <End Role="EXEMPLE_VIKINGS" Type="Self.EXEMPLE_VIKINGS" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="EXEMPLE_TYPE_VIKING">
|
|
|
+ <PropertyRef Name="ID" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="EXEMPLE_VIKINGS">
|
|
|
+ <PropertyRef Name="ID_TYPE" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
<EntityContainer Name="ModelStoreContainer">
|
|
|
- <EntitySet Name="PARAM" EntityType="Self.PARAM" Schema="FER" store:Type="Tables" />
|
|
|
- </EntityContainer>
|
|
|
+ <EntitySet Name="EXEMPLE_TYPE_VIKING" EntityType="Self.EXEMPLE_TYPE_VIKING" Schema="FER" store:Type="Tables" />
|
|
|
+ <EntitySet Name="EXEMPLE_VIKINGS" EntityType="Self.EXEMPLE_VIKINGS" Schema="FER" store:Type="Tables" />
|
|
|
+ <AssociationSet Name="EXEMPLE_VIKINGS_FK" Association="Self.EXEMPLE_VIKINGS_FK">
|
|
|
+ <End Role="EXEMPLE_TYPE_VIKING" EntitySet="EXEMPLE_TYPE_VIKING" />
|
|
|
+ <End Role="EXEMPLE_VIKINGS" EntitySet="EXEMPLE_VIKINGS" />
|
|
|
+ </AssociationSet>
|
|
|
+ </EntityContainer>
|
|
|
</Schema></edmx:StorageModels>
|
|
|
<!-- CSDL content -->
|
|
|
<edmx:ConceptualModels>
|
|
|
<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">
|
|
|
- <EntityType Name="PARAM">
|
|
|
+ <EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true">
|
|
|
+ <EntitySet Name="EXEMPLE_TYPE_VIKING" EntityType="Model.EXEMPLE_TYPE_VIKING" />
|
|
|
+ <EntitySet Name="EXEMPLE_VIKINGS" EntityType="Model.EXEMPLE_VIKINGS" />
|
|
|
+ <AssociationSet Name="EXEMPLE_VIKINGS_FK" Association="Model.EXEMPLE_VIKINGS_FK">
|
|
|
+ <End Role="EXEMPLE_TYPE_VIKING" EntitySet="EXEMPLE_TYPE_VIKING" />
|
|
|
+ <End Role="EXEMPLE_VIKINGS" EntitySet="EXEMPLE_VIKINGS" />
|
|
|
+ </AssociationSet>
|
|
|
+ </EntityContainer>
|
|
|
+ <EntityType Name="EXEMPLE_TYPE_VIKING">
|
|
|
<Key>
|
|
|
- <PropertyRef Name="PRM_CLE" />
|
|
|
+ <PropertyRef Name="ID" />
|
|
|
</Key>
|
|
|
- <Property Name="PRM_CLE" Type="String" MaxLength="10" FixedLength="false" Unicode="false" Nullable="false" />
|
|
|
- <Property Name="PRM_LIB1" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
|
|
|
- <Property Name="PRM_LIB2" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
|
|
|
+ <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="TYPE" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
|
|
+ <NavigationProperty Name="EXEMPLE_VIKINGS" Relationship="Model.EXEMPLE_VIKINGS_FK" FromRole="EXEMPLE_TYPE_VIKING" ToRole="EXEMPLE_VIKINGS" />
|
|
|
</EntityType>
|
|
|
- <EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true">
|
|
|
- <EntitySet Name="PARAM" EntityType="Self.PARAM" />
|
|
|
- </EntityContainer>
|
|
|
- </Schema>
|
|
|
+ <EntityType Name="EXEMPLE_VIKINGS">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="ID" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="NOM" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
|
|
|
+ <Property Name="ID_TYPE" Type="Int32" Nullable="false" />
|
|
|
+ <Property Name="DESCRIPTION" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
|
|
+ <NavigationProperty Name="EXEMPLE_TYPE_VIKING" Relationship="Model.EXEMPLE_VIKINGS_FK" FromRole="EXEMPLE_VIKINGS" ToRole="EXEMPLE_TYPE_VIKING" />
|
|
|
+ </EntityType>
|
|
|
+ <Association Name="EXEMPLE_VIKINGS_FK">
|
|
|
+ <End Type="Model.EXEMPLE_TYPE_VIKING" Role="EXEMPLE_TYPE_VIKING" Multiplicity="1" />
|
|
|
+ <End Type="Model.EXEMPLE_VIKINGS" Role="EXEMPLE_VIKINGS" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="EXEMPLE_TYPE_VIKING">
|
|
|
+ <PropertyRef Name="ID" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="EXEMPLE_VIKINGS">
|
|
|
+ <PropertyRef Name="ID_TYPE" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+ </Schema>
|
|
|
</edmx:ConceptualModels>
|
|
|
<!-- C-S mapping content -->
|
|
|
<edmx:Mappings>
|
|
|
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
|
|
|
<EntityContainerMapping StorageEntityContainer="ModelStoreContainer" CdmEntityContainer="Entities">
|
|
|
- <EntitySetMapping Name="PARAM">
|
|
|
- <EntityTypeMapping TypeName="Model.PARAM">
|
|
|
- <MappingFragment StoreEntitySet="PARAM">
|
|
|
- <ScalarProperty Name="PRM_CLE" ColumnName="PRM_CLE" />
|
|
|
- <ScalarProperty Name="PRM_LIB1" ColumnName="PRM_LIB1" />
|
|
|
- <ScalarProperty Name="PRM_LIB2" ColumnName="PRM_LIB2" />
|
|
|
+ <EntitySetMapping Name="EXEMPLE_TYPE_VIKING">
|
|
|
+ <EntityTypeMapping TypeName="Model.EXEMPLE_TYPE_VIKING">
|
|
|
+ <MappingFragment StoreEntitySet="EXEMPLE_TYPE_VIKING">
|
|
|
+ <ScalarProperty Name="TYPE" ColumnName="TYPE" />
|
|
|
+ <ScalarProperty Name="ID" ColumnName="ID" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="EXEMPLE_VIKINGS">
|
|
|
+ <EntityTypeMapping TypeName="Model.EXEMPLE_VIKINGS">
|
|
|
+ <MappingFragment StoreEntitySet="EXEMPLE_VIKINGS">
|
|
|
+ <ScalarProperty Name="DESCRIPTION" ColumnName="DESCRIPTION" />
|
|
|
+ <ScalarProperty Name="ID_TYPE" ColumnName="ID_TYPE" />
|
|
|
+ <ScalarProperty Name="NOM" ColumnName="NOM" />
|
|
|
+ <ScalarProperty Name="ID" ColumnName="ID" />
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
- </EntityContainerMapping>
|
|
|
+ </EntityContainerMapping>
|
|
|
</Mapping>
|
|
|
</edmx:Mappings>
|
|
|
</edmx:Runtime>
|