|
@@ -4,20 +4,46 @@
|
|
|
<edmx:Runtime>
|
|
|
<!-- SSDL content -->
|
|
|
<edmx:StorageModels>
|
|
|
- <Schema Namespace="Хранилище Model" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
|
|
|
- <EntityContainer Name="Хранилище ModelContainer" />
|
|
|
- </Schema>
|
|
|
- </edmx:StorageModels>
|
|
|
+ <Schema Namespace="Хранилище Model" 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="r">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="r" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="r" Type="int" Nullable="false" />
|
|
|
+ <Property Name="4" Type="nchar" MaxLength="10" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityContainer Name="Хранилище ModelContainer">
|
|
|
+ <EntitySet Name="r" EntityType="Self.r" Schema="dbo" store:Type="Tables" />
|
|
|
+ </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">
|
|
|
- <EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true" />
|
|
|
+ <EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true" >
|
|
|
+ <EntitySet Name="r" EntityType="Model.r" />
|
|
|
+ </EntityContainer>
|
|
|
+ <EntityType Name="r">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="r1" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="r1" Type="Int32" Nullable="false" />
|
|
|
+ <Property Name="C4" Type="String" MaxLength="10" FixedLength="true" Unicode="true" />
|
|
|
+ </EntityType>
|
|
|
</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="Хранилище ModelContainer" CdmEntityContainer="Entities" />
|
|
|
+ <EntityContainerMapping StorageEntityContainer="Хранилище ModelContainer" CdmEntityContainer="Entities" >
|
|
|
+ <EntitySetMapping Name="r">
|
|
|
+ <EntityTypeMapping TypeName="Model.r">
|
|
|
+ <MappingFragment StoreEntitySet="r">
|
|
|
+ <ScalarProperty Name="C4" ColumnName="4" />
|
|
|
+ <ScalarProperty Name="r1" ColumnName="r" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
+ </EntityContainerMapping>
|
|
|
</Mapping>
|
|
|
</edmx:Mappings>
|
|
|
</edmx:Runtime>
|