Model1.edmx 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  3. <!-- EF Runtime content -->
  4. <edmx:Runtime>
  5. <!-- SSDL content -->
  6. <edmx:StorageModels>
  7. <Schema Namespace="Хранилище user3Model" 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">
  8. <!--Ошибки, обнаруженные при создании:
  9. предупреждение 6002: В таблице или представлении "user3.dbo.Dusya" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
  10. <EntityType Name="Dusya">
  11. <Key>
  12. <PropertyRef Name="a" />
  13. </Key>
  14. <Property Name="a" Type="int" Nullable="false" />
  15. <Property Name="b" Type="nvarchar" MaxLength="50" />
  16. <Property Name="c" Type="ntext" />
  17. </EntityType>
  18. <EntityContainer Name="Хранилище user3ModelContainer">
  19. <EntitySet Name="Dusya" EntityType="Self.Dusya" store:Type="Tables" store:Schema="dbo">
  20. <DefiningQuery>SELECT
  21. [Dusya].[a] AS [a],
  22. [Dusya].[b] AS [b],
  23. [Dusya].[c] AS [c]
  24. FROM [dbo].[Dusya] AS [Dusya]</DefiningQuery>
  25. </EntitySet>
  26. </EntityContainer>
  27. </Schema>
  28. </edmx:StorageModels>
  29. <!-- CSDL content -->
  30. <edmx:ConceptualModels>
  31. <Schema Namespace="user3Model" 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">
  32. <EntityType Name="Dusya">
  33. <Key>
  34. <PropertyRef Name="a" />
  35. </Key>
  36. <Property Name="a" Type="Int32" Nullable="false" />
  37. <Property Name="b" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  38. <Property Name="c" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  39. </EntityType>
  40. <EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true">
  41. <EntitySet Name="Dusya" EntityType="Self.Dusya" />
  42. </EntityContainer>
  43. </Schema>
  44. </edmx:ConceptualModels>
  45. <!-- C-S mapping content -->
  46. <edmx:Mappings>
  47. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  48. <EntityContainerMapping StorageEntityContainer="Хранилище user3ModelContainer" CdmEntityContainer="Entities">
  49. <EntitySetMapping Name="Dusya">
  50. <EntityTypeMapping TypeName="user3Model.Dusya">
  51. <MappingFragment StoreEntitySet="Dusya">
  52. <ScalarProperty Name="a" ColumnName="a" />
  53. <ScalarProperty Name="b" ColumnName="b" />
  54. <ScalarProperty Name="c" ColumnName="c" />
  55. </MappingFragment>
  56. </EntityTypeMapping>
  57. </EntitySetMapping>
  58. </EntityContainerMapping>
  59. </Mapping>
  60. </edmx:Mappings>
  61. </edmx:Runtime>
  62. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  63. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  64. <Connection>
  65. <DesignerInfoPropertySet>
  66. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  67. </DesignerInfoPropertySet>
  68. </Connection>
  69. <Options>
  70. <DesignerInfoPropertySet>
  71. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  72. <DesignerProperty Name="EnablePluralization" Value="false" />
  73. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  74. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  75. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  76. </DesignerInfoPropertySet>
  77. </Options>
  78. <!-- Diagram content (shape and connector positions) -->
  79. <Diagrams></Diagrams>
  80. </Designer>
  81. </edmx:Edmx>