|
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
<edmx:Designer xmlns="http://schemas.microsoft.com/ado/2007/06/edmx">
<edmx:Connection>
<DesignerInfoPropertySet>
<DesignerProperty Name="MetadataArtifactProcessing" Value="CopyToOutputDirectory" />
</DesignerInfoPropertySet>
</edmx:Connection>
<edmx:Options>
<DesignerInfoPropertySet>
<DesignerProperty Name="ValidateOnBuild" Value="true" />
</DesignerInfoPropertySet>
</edmx:Options>
<edmx:ReverseEngineer />
<edmx:Diagrams >
<Diagram Name="MEST">
<EntityTypeShape EntityType="MESTDemoModel.CustomerEast" PointX="0.75" PointY="0.75" Width="1.5" Height="1.5095833333333331" IsExpanded="true" />
<EntityTypeShape EntityType="MESTDemoModel.CustomerWest" PointX="2.75" PointY="0.75" Width="1.5" Height="1.5095833333333331" IsExpanded="true" />
</Diagram>
</edmx:Diagrams>
</edmx:Designer>
<edmx:Runtime>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="MESTDemoModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2006/04/edm">
<EntityContainer Name="MESTDemoEntities">
<EntitySet Name="CustomerEast" EntityType="MESTDemoModel.Customer" />
<EntitySet Name="CustomerWest" EntityType="MESTDemoModel.Customer" />
</EntityContainer>
<EntityType Name="Customer">
<Key>
<PropertyRef Name="CustomerId" />
</Key>
<Property Name="CustomerId" Type="Int32" Nullable="false" />
<Property Name="Name" Type="String"
Nullable="false" MaxLength="50" />
</EntityType>
</Schema>
</edmx:ConceptualModels>
<!-- SSDL content -->
<edmx:StorageModels>
<Schema Namespace="MESTDemoModel.Store" Alias="Self" ProviderManifestToken="09.00.3042" xmlns="http://schemas.microsoft.com/ado/2006/04/edm/ssdl">
<EntityContainer Name="dbo">
<EntitySet Name="CustomerEast" EntityType="MESTDemoModel.Store.CustomerEast" />
<EntitySet Name="CustomerWest" EntityType="MESTDemoModel.Store.CustomerWest" />
</EntityContainer>
<EntityType Name="CustomerEast">
<Key>
<PropertyRef Name="CustomerId" />
</Key>
<Property Name="CustomerId" Type="int" Nullable="false" />
<Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="50" />
</EntityType>
<EntityType Name="CustomerWest">
<Key>
<PropertyRef Name="CustomerId" />
</Key>
<Property Name="CustomerId" Type="int" Nullable="false" />
<Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="50" />
</EntityType>
</Schema>
</edmx:StorageModels>
<!-- C-S mapping content -->
<edmx:Mappings>
<Mapping Space="C-S" xmlns="urn:schemas-microsoft-com:windows:storage:mapping:CS">
<EntityContainerMapping StorageEntityContainer="dbo" CdmEntityContainer="MESTDemoEntities">
<EntitySetMapping Name="CustomerEast">
<EntityTypeMapping TypeName="IsTypeOf(MESTDemoModel.Customer)">
<MappingFragment StoreEntitySet="CustomerEast">
<ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
<ScalarProperty Name="Name" ColumnName="Name" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="CustomerWest">
<EntityTypeMapping TypeName="IsTypeOf(MESTDemoModel.Customer)">
<MappingFragment StoreEntitySet="CustomerWest">
<ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
<ScalarProperty Name="Name" ColumnName="Name" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping>
</Mapping>
</edmx:Mappings>
</edmx:Runtime>
</edmx:Edmx>
|
|