Model.edmx 5.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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="Хранилище Harina_LessonsModel" Provider="System.Data.SqlClient" ProviderManifestToken="2008" 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: В таблице или представлении "Harina_Lessons.dbo.User" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
  10. <EntityType Name="User">
  11. <Key>
  12. <PropertyRef Name="Login" />
  13. <PropertyRef Name="Password" />
  14. <PropertyRef Name="Role" />
  15. <PropertyRef Name="FIO" />
  16. <PropertyRef Name="Photo" />
  17. </Key>
  18. <Property Name="Login" Type="nchar" MaxLength="10" Nullable="false" />
  19. <Property Name="Password" Type="nchar" MaxLength="10" Nullable="false" />
  20. <Property Name="Role" Type="nchar" MaxLength="10" Nullable="false" />
  21. <Property Name="FIO" Type="nchar" MaxLength="10" Nullable="false" />
  22. <Property Name="Photo" Type="varchar(max)" Nullable="false" />
  23. </EntityType>
  24. <EntityContainer Name="Хранилище Harina_LessonsModelContainer">
  25. <EntitySet Name="User" EntityType="Self.User" store:Type="Tables" store:Schema="dbo">
  26. <DefiningQuery>SELECT
  27. [User].[Login] AS [Login],
  28. [User].[Password] AS [Password],
  29. [User].[Role] AS [Role],
  30. [User].[FIO] AS [FIO],
  31. [User].[Photo] AS [Photo]
  32. FROM [dbo].[User] AS [User]</DefiningQuery>
  33. </EntitySet>
  34. </EntityContainer>
  35. </Schema>
  36. </edmx:StorageModels>
  37. <!-- CSDL content -->
  38. <edmx:ConceptualModels>
  39. <Schema Namespace="Harina_LessonsModel" 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">
  40. <EntityType Name="User">
  41. <Key>
  42. <PropertyRef Name="Login" />
  43. <PropertyRef Name="Password" />
  44. <PropertyRef Name="Role" />
  45. <PropertyRef Name="FIO" />
  46. <PropertyRef Name="Photo" />
  47. </Key>
  48. <Property Name="Login" Type="String" MaxLength="10" FixedLength="true" Unicode="true" Nullable="false" />
  49. <Property Name="Password" Type="String" MaxLength="10" FixedLength="true" Unicode="true" Nullable="false" />
  50. <Property Name="Role" Type="String" MaxLength="10" FixedLength="true" Unicode="true" Nullable="false" />
  51. <Property Name="FIO" Type="String" MaxLength="10" FixedLength="true" Unicode="true" Nullable="false" />
  52. <Property Name="Photo" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  53. </EntityType>
  54. <EntityContainer Name="Harina_LessonsEntities" annotation:LazyLoadingEnabled="true">
  55. <EntitySet Name="User" EntityType="Self.User" />
  56. </EntityContainer>
  57. </Schema>
  58. </edmx:ConceptualModels>
  59. <!-- C-S mapping content -->
  60. <edmx:Mappings>
  61. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  62. <EntityContainerMapping StorageEntityContainer="Хранилище Harina_LessonsModelContainer" CdmEntityContainer="Harina_LessonsEntities">
  63. <EntitySetMapping Name="User">
  64. <EntityTypeMapping TypeName="Harina_LessonsModel.User">
  65. <MappingFragment StoreEntitySet="User">
  66. <ScalarProperty Name="Login" ColumnName="Login" />
  67. <ScalarProperty Name="Password" ColumnName="Password" />
  68. <ScalarProperty Name="Role" ColumnName="Role" />
  69. <ScalarProperty Name="FIO" ColumnName="FIO" />
  70. <ScalarProperty Name="Photo" ColumnName="Photo" />
  71. </MappingFragment>
  72. </EntityTypeMapping>
  73. </EntitySetMapping>
  74. </EntityContainerMapping>
  75. </Mapping>
  76. </edmx:Mappings>
  77. </edmx:Runtime>
  78. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  79. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  80. <Connection>
  81. <DesignerInfoPropertySet>
  82. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  83. </DesignerInfoPropertySet>
  84. </Connection>
  85. <Options>
  86. <DesignerInfoPropertySet>
  87. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  88. <DesignerProperty Name="EnablePluralization" Value="false" />
  89. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  90. <DesignerProperty Name="UseLegacyProvider" Value="true" />
  91. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  92. </DesignerInfoPropertySet>
  93. </Options>
  94. <!-- Diagram content (shape and connector positions) -->
  95. <Diagrams></Diagrams>
  96. </Designer>
  97. </edmx:Edmx>