Model1.edmx 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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="Хранилище Ляхов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">
  8. <EntityType Name="Пользователи">
  9. <Key>
  10. <PropertyRef Name="Id" />
  11. </Key>
  12. <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  13. <Property Name="login" Type="nvarchar" MaxLength="50" Nullable="false" />
  14. <Property Name="password" Type="nvarchar" MaxLength="50" Nullable="false" />
  15. </EntityType>
  16. <EntityContainer Name="Хранилище ЛяховModelContainer">
  17. <EntitySet Name="Пользователи" EntityType="Self.Пользователи" Schema="dbo" store:Type="Tables" />
  18. </EntityContainer>
  19. </Schema>
  20. </edmx:StorageModels>
  21. <!-- CSDL content -->
  22. <edmx:ConceptualModels>
  23. <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">
  24. <EntityType Name="Пользователи">
  25. <Key>
  26. <PropertyRef Name="Id" />
  27. </Key>
  28. <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  29. <Property Name="login" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  30. <Property Name="password" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  31. </EntityType>
  32. <EntityContainer Name="ЛяховEntities" annotation:LazyLoadingEnabled="true">
  33. <EntitySet Name="Пользователи" EntityType="Self.Пользователи" />
  34. </EntityContainer>
  35. </Schema>
  36. </edmx:ConceptualModels>
  37. <!-- C-S mapping content -->
  38. <edmx:Mappings>
  39. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  40. <EntityContainerMapping StorageEntityContainer="Хранилище ЛяховModelContainer" CdmEntityContainer="ЛяховEntities">
  41. <EntitySetMapping Name="Пользователи">
  42. <EntityTypeMapping TypeName="ЛяховModel.Пользователи">
  43. <MappingFragment StoreEntitySet="Пользователи">
  44. <ScalarProperty Name="Id" ColumnName="Id" />
  45. <ScalarProperty Name="login" ColumnName="login" />
  46. <ScalarProperty Name="password" ColumnName="password" />
  47. </MappingFragment>
  48. </EntityTypeMapping>
  49. </EntitySetMapping>
  50. </EntityContainerMapping>
  51. </Mapping>
  52. </edmx:Mappings>
  53. </edmx:Runtime>
  54. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  55. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  56. <Connection>
  57. <DesignerInfoPropertySet>
  58. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  59. </DesignerInfoPropertySet>
  60. </Connection>
  61. <Options>
  62. <DesignerInfoPropertySet>
  63. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  64. <DesignerProperty Name="EnablePluralization" Value="false" />
  65. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  66. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  67. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  68. </DesignerInfoPropertySet>
  69. </Options>
  70. <!-- Diagram content (shape and connector positions) -->
  71. <Diagrams></Diagrams>
  72. </Designer>
  73. </edmx:Edmx>