12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?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="Хранилище user1Model" 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">
- <!--Ошибки, обнаруженные при создании:
- предупреждение 6002: В таблице или представлении "user1.dbo.Service" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
- <EntityType Name="Service">
- <Key>
- <PropertyRef Name="Code" />
- <PropertyRef Name="Service" />
- <PropertyRef Name="Price" />
- </Key>
- <Property Name="Code" Type="int" Nullable="false" />
- <Property Name="Service" Type="varchar" MaxLength="100" Nullable="false" />
- <Property Name="Price" Type="float" Nullable="false" />
- </EntityType>
- <EntityContainer Name="Хранилище user1ModelContainer">
- <EntitySet Name="Service" EntityType="Self.Service" store:Type="Tables" store:Schema="dbo">
- <DefiningQuery>SELECT
- [Service].[Code] AS [Code],
- [Service].[Service] AS [Service],
- [Service].[Price] AS [Price]
- FROM [dbo].[Service] AS [Service]</DefiningQuery>
- </EntitySet>
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="user1Model" 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="Service">
- <Key>
- <PropertyRef Name="Code" />
- <PropertyRef Name="Service1" />
- <PropertyRef Name="Price" />
- </Key>
- <Property Name="Code" Type="Int32" Nullable="false" />
- <Property Name="Service1" Type="String" MaxLength="100" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="Price" Type="Double" Nullable="false" />
- </EntityType>
- <EntityContainer Name="user1Entities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Service" EntityType="Self.Service" />
- </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="Хранилище user1ModelContainer" CdmEntityContainer="user1Entities">
- <EntitySetMapping Name="Service">
- <EntityTypeMapping TypeName="user1Model.Service">
- <MappingFragment StoreEntitySet="Service">
- <ScalarProperty Name="Code" ColumnName="Code" />
- <ScalarProperty Name="Service1" ColumnName="Service" />
- <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="false" />
- <DesignerProperty Name="IncludeForeignKeysInModel" Value="false" />
- <DesignerProperty Name="UseLegacyProvider" Value="false" />
- <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
- </DesignerInfoPropertySet>
- </Options>
- <!-- Diagram content (shape and connector positions) -->
- <Diagrams></Diagrams>
- </Designer>
- </edmx:Edmx>
|