Model.edmx 4.1 KB

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