EDM.edmx 4.5 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="Хранилище MyTestsModel" 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. <EntityType Name="Users">
  9. <Key>
  10. <PropertyRef Name="IdUsers" />
  11. </Key>
  12. <Property Name="IdUsers" Type="int" Nullable="false" />
  13. <Property Name="Login" Type="nvarchar" MaxLength="50" Nullable="false" />
  14. <Property Name="Password" Type="nvarchar" MaxLength="50" Nullable="false" />
  15. <Property Name="Email" Type="nvarchar" MaxLength="50" Nullable="false" />
  16. <Property Name="Info" Type="nvarchar" MaxLength="50" />
  17. <Property Name="Image" Type="varbinary(max)" />
  18. </EntityType>
  19. <EntityContainer Name="Хранилище MyTestsModelContainer">
  20. <EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" />
  21. </EntityContainer>
  22. </Schema></edmx:StorageModels>
  23. <!-- CSDL content -->
  24. <edmx:ConceptualModels>
  25. <Schema Namespace="MyTestsModel" 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">
  26. <EntityContainer Name="MyTestsEntities" annotation:LazyLoadingEnabled="true">
  27. <EntitySet Name="Users" EntityType="MyTestsModel.Users" />
  28. </EntityContainer>
  29. <EntityType Name="Users">
  30. <Key>
  31. <PropertyRef Name="IdUsers" />
  32. </Key>
  33. <Property Name="IdUsers" Type="Int32" Nullable="false" />
  34. <Property Name="Login" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
  35. <Property Name="Password" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
  36. <Property Name="Email" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
  37. <Property Name="Info" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  38. <Property Name="Image" Type="Binary" MaxLength="Max" FixedLength="false" />
  39. </EntityType>
  40. </Schema>
  41. </edmx:ConceptualModels>
  42. <!-- C-S mapping content -->
  43. <edmx:Mappings>
  44. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  45. <EntityContainerMapping StorageEntityContainer="Хранилище MyTestsModelContainer" CdmEntityContainer="MyTestsEntities">
  46. <EntitySetMapping Name="Users">
  47. <EntityTypeMapping TypeName="MyTestsModel.Users">
  48. <MappingFragment StoreEntitySet="Users">
  49. <ScalarProperty Name="Image" ColumnName="Image" />
  50. <ScalarProperty Name="Info" ColumnName="Info" />
  51. <ScalarProperty Name="Email" ColumnName="Email" />
  52. <ScalarProperty Name="Password" ColumnName="Password" />
  53. <ScalarProperty Name="Login" ColumnName="Login" />
  54. <ScalarProperty Name="IdUsers" ColumnName="IdUsers" />
  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>