Model1.edmx 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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="Хранилище gr692_pavModel" 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="auth">
  9. <Key>
  10. <PropertyRef Name="Id" />
  11. </Key>
  12. <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  13. <Property Name="auth_login" Type="nvarchar" MaxLength="50" />
  14. <Property Name="auth_password" Type="nvarchar" MaxLength="50" />
  15. </EntityType>
  16. <EntityType Name="inventory">
  17. <Key>
  18. <PropertyRef Name="id_inventory" />
  19. </Key>
  20. <Property Name="id_inventory" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  21. <Property Name="inventory_name" Type="nvarchar(max)" Nullable="false" />
  22. <Property Name="inventory_type" Type="nvarchar(max)" Nullable="false" />
  23. </EntityType>
  24. <Function Name="AddInventory" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  25. <Parameter Name="name" Type="nvarchar(max)" Mode="In" />
  26. <Parameter Name="type" Type="nvarchar(max)" Mode="In" />
  27. </Function>
  28. <EntityContainer Name="Хранилище gr692_pavModelContainer">
  29. <EntitySet Name="auth" EntityType="Self.auth" Schema="dbo" store:Type="Tables" />
  30. <EntitySet Name="inventory" EntityType="Self.inventory" Schema="dbo" store:Type="Tables" />
  31. </EntityContainer>
  32. </Schema>
  33. </edmx:StorageModels>
  34. <!-- CSDL content -->
  35. <edmx:ConceptualModels>
  36. <Schema Namespace="gr692_pavModel" 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">
  37. <EntityType Name="auth">
  38. <Key>
  39. <PropertyRef Name="Id" />
  40. </Key>
  41. <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  42. <Property Name="auth_login" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  43. <Property Name="auth_password" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  44. </EntityType>
  45. <EntityType Name="inventory">
  46. <Key>
  47. <PropertyRef Name="id_inventory" />
  48. </Key>
  49. <Property Name="id_inventory" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  50. <Property Name="inventory_name" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
  51. <Property Name="inventory_type" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
  52. </EntityType>
  53. <EntityContainer Name="gr692_pavEntities" annotation:LazyLoadingEnabled="true">
  54. <EntitySet Name="auth" EntityType="Self.auth" />
  55. <EntitySet Name="inventory" EntityType="Self.inventory" />
  56. <FunctionImport Name="AddInventory">
  57. <Parameter Name="name" Mode="In" Type="String" />
  58. <Parameter Name="type" Mode="In" Type="String" />
  59. </FunctionImport>
  60. </EntityContainer>
  61. </Schema>
  62. </edmx:ConceptualModels>
  63. <!-- C-S mapping content -->
  64. <edmx:Mappings>
  65. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  66. <EntityContainerMapping StorageEntityContainer="Хранилище gr692_pavModelContainer" CdmEntityContainer="gr692_pavEntities">
  67. <EntitySetMapping Name="auth">
  68. <EntityTypeMapping TypeName="gr692_pavModel.auth">
  69. <MappingFragment StoreEntitySet="auth">
  70. <ScalarProperty Name="Id" ColumnName="Id" />
  71. <ScalarProperty Name="auth_login" ColumnName="auth_login" />
  72. <ScalarProperty Name="auth_password" ColumnName="auth_password" />
  73. </MappingFragment>
  74. </EntityTypeMapping>
  75. </EntitySetMapping>
  76. <EntitySetMapping Name="inventory">
  77. <EntityTypeMapping TypeName="gr692_pavModel.inventory">
  78. <MappingFragment StoreEntitySet="inventory">
  79. <ScalarProperty Name="id_inventory" ColumnName="id_inventory" />
  80. <ScalarProperty Name="inventory_name" ColumnName="inventory_name" />
  81. <ScalarProperty Name="inventory_type" ColumnName="inventory_type" />
  82. </MappingFragment>
  83. </EntityTypeMapping>
  84. </EntitySetMapping>
  85. <FunctionImportMapping FunctionImportName="AddInventory" FunctionName="Хранилище gr692_pavModel.AddInventory" />
  86. </EntityContainerMapping>
  87. </Mapping>
  88. </edmx:Mappings>
  89. </edmx:Runtime>
  90. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  91. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  92. <Connection>
  93. <DesignerInfoPropertySet>
  94. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  95. </DesignerInfoPropertySet>
  96. </Connection>
  97. <Options>
  98. <DesignerInfoPropertySet>
  99. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  100. <DesignerProperty Name="EnablePluralization" Value="false" />
  101. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  102. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  103. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  104. </DesignerInfoPropertySet>
  105. </Options>
  106. <!-- Diagram content (shape and connector positions) -->
  107. <Diagrams></Diagrams>
  108. </Designer>
  109. </edmx:Edmx>