79 lines
4.5 KiB
Plaintext
79 lines
4.5 KiB
Plaintext
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
|
||
|
<!-- EF Runtime content -->
|
||
|
<edmx:Runtime>
|
||
|
<!-- SSDL content -->
|
||
|
<edmx:StorageModels>
|
||
|
<Schema Namespace="SportsStoreModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2012" 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="Products">
|
||
|
<Key>
|
||
|
<PropertyRef Name="ProductID" />
|
||
|
</Key>
|
||
|
<Property Name="ProductID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
<Property Name="Name" Type="nvarchar" MaxLength="100" Nullable="false" />
|
||
|
<Property Name="Description" Type="nvarchar" MaxLength="500" Nullable="false" />
|
||
|
<Property Name="Category" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||
|
<Property Name="Price" Type="decimal" Precision="16" Scale="2" Nullable="false" />
|
||
|
</EntityType>
|
||
|
<EntityContainer Name="SportsStoreModelStoreContainer">
|
||
|
<EntitySet Name="Products" EntityType="Self.Products" Schema="dbo" store:Type="Tables" />
|
||
|
</EntityContainer>
|
||
|
</Schema>
|
||
|
</edmx:StorageModels>
|
||
|
<!-- CSDL content -->
|
||
|
<edmx:ConceptualModels>
|
||
|
<Schema Namespace="SportsStoreModel" 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="Product">
|
||
|
<Key>
|
||
|
<PropertyRef Name="ProductID" />
|
||
|
</Key>
|
||
|
<Property Name="ProductID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
<Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
|
||
|
<Property Name="Description" Type="String" MaxLength="500" FixedLength="false" Unicode="true" Nullable="false" />
|
||
|
<Property Name="Category" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
||
|
<Property Name="Price" Type="Decimal" Precision="16" Scale="2" Nullable="false" />
|
||
|
</EntityType>
|
||
|
<EntityContainer Name="EFDbContext" annotation:LazyLoadingEnabled="true">
|
||
|
<EntitySet Name="Products" EntityType="Self.Product" />
|
||
|
</EntityContainer>
|
||
|
</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="SportsStoreModelStoreContainer" CdmEntityContainer="EFDbContext">
|
||
|
<EntitySetMapping Name="Products">
|
||
|
<EntityTypeMapping TypeName="SportsStoreModel.Product">
|
||
|
<MappingFragment StoreEntitySet="Products">
|
||
|
<ScalarProperty Name="ProductID" ColumnName="ProductID" />
|
||
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
||
|
<ScalarProperty Name="Description" ColumnName="Description" />
|
||
|
<ScalarProperty Name="Category" ColumnName="Category" />
|
||
|
<ScalarProperty Name="Price" ColumnName="Price" />
|
||
|
</MappingFragment>
|
||
|
</EntityTypeMapping>
|
||
|
</EntitySetMapping>
|
||
|
</EntityContainerMapping>
|
||
|
</Mapping>
|
||
|
</edmx:Mappings>
|
||
|
</edmx:Runtime>
|
||
|
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
|
||
|
<Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
|
||
|
<Connection>
|
||
|
<DesignerInfoPropertySet>
|
||
|
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
|
||
|
</DesignerInfoPropertySet>
|
||
|
</Connection>
|
||
|
<Options>
|
||
|
<DesignerInfoPropertySet>
|
||
|
<DesignerProperty Name="ValidateOnBuild" Value="true" />
|
||
|
<DesignerProperty Name="EnablePluralization" Value="true" />
|
||
|
<DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
|
||
|
<DesignerProperty Name="UseLegacyProvider" Value="false" />
|
||
|
<DesignerProperty Name="CodeGenerationStrategy" Value="None" />
|
||
|
</DesignerInfoPropertySet>
|
||
|
</Options>
|
||
|
<!-- Diagram content (shape and connector positions) -->
|
||
|
<Diagrams></Diagrams>
|
||
|
</Designer>
|
||
|
</edmx:Edmx>
|