Model1.edmx 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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="Хранилище VeloprokatModel" 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="Bikes">
  9. <Key>
  10. <PropertyRef Name="ID" />
  11. </Key>
  12. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  13. <Property Name="Company" Type="nvarchar" MaxLength="50" Nullable="false" />
  14. <Property Name="Model" Type="nvarchar" MaxLength="50" Nullable="false" />
  15. </EntityType>
  16. <EntityType Name="InfoAdm">
  17. <Key>
  18. <PropertyRef Name="ID" />
  19. </Key>
  20. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  21. <Property Name="Login" Type="nvarchar" MaxLength="50" Nullable="false" />
  22. <Property Name="Password" Type="nvarchar" MaxLength="25" Nullable="false" />
  23. <Property Name="FName" Type="nvarchar" MaxLength="50" Nullable="false" />
  24. <Property Name="MName" Type="nvarchar" MaxLength="50" Nullable="false" />
  25. <Property Name="LName" Type="nvarchar" MaxLength="50" Nullable="false" />
  26. <Property Name="Email" Type="nvarchar" MaxLength="50" />
  27. <Property Name="Phone" Type="nvarchar" MaxLength="15" />
  28. <Property Name="Dr" Type="date" />
  29. </EntityType>
  30. <EntityType Name="InfoRab">
  31. <Key>
  32. <PropertyRef Name="ID" />
  33. </Key>
  34. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  35. <Property Name="Login" Type="nvarchar" MaxLength="50" Nullable="false" />
  36. <Property Name="Password" Type="nvarchar" MaxLength="50" Nullable="false" />
  37. <Property Name="Email" Type="nvarchar" MaxLength="50" />
  38. </EntityType>
  39. <EntityType Name="sysdiagrams">
  40. <Key>
  41. <PropertyRef Name="diagram_id" />
  42. </Key>
  43. <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
  44. <Property Name="principal_id" Type="int" Nullable="false" />
  45. <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  46. <Property Name="version" Type="int" />
  47. <Property Name="definition" Type="varbinary(max)" />
  48. </EntityType>
  49. <EntityContainer Name="Хранилище VeloprokatModelContainer">
  50. <EntitySet Name="Bikes" EntityType="Self.Bikes" Schema="dbo" store:Type="Tables" />
  51. <EntitySet Name="InfoAdm" EntityType="Self.InfoAdm" Schema="dbo" store:Type="Tables" />
  52. <EntitySet Name="InfoRab" EntityType="Self.InfoRab" Schema="dbo" store:Type="Tables" />
  53. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
  54. </EntityContainer>
  55. </Schema>
  56. </edmx:StorageModels>
  57. <!-- CSDL content -->
  58. <edmx:ConceptualModels>
  59. <Schema Namespace="VeloprokatModel" 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">
  60. <EntityType Name="Bikes">
  61. <Key>
  62. <PropertyRef Name="ID" />
  63. </Key>
  64. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  65. <Property Name="Company" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  66. <Property Name="Model" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  67. </EntityType>
  68. <EntityType Name="InfoAdm">
  69. <Key>
  70. <PropertyRef Name="ID" />
  71. </Key>
  72. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  73. <Property Name="Login" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  74. <Property Name="Password" Type="String" MaxLength="25" FixedLength="false" Unicode="true" Nullable="false" />
  75. <Property Name="FName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  76. <Property Name="MName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  77. <Property Name="LName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  78. <Property Name="Email" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  79. <Property Name="Phone" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
  80. <Property Name="Dr" Type="DateTime" Precision="0" />
  81. </EntityType>
  82. <EntityType Name="InfoRab">
  83. <Key>
  84. <PropertyRef Name="ID" />
  85. </Key>
  86. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  87. <Property Name="Login" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  88. <Property Name="Password" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  89. <Property Name="Email" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  90. </EntityType>
  91. <EntityType Name="sysdiagrams">
  92. <Key>
  93. <PropertyRef Name="diagram_id" />
  94. </Key>
  95. <Property Name="name" Type="String" MaxLength="128" FixedLength="false" Unicode="true" Nullable="false" />
  96. <Property Name="principal_id" Type="Int32" Nullable="false" />
  97. <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  98. <Property Name="version" Type="Int32" />
  99. <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
  100. </EntityType>
  101. <EntityContainer Name="VeloprokatEntities" annotation:LazyLoadingEnabled="true">
  102. <EntitySet Name="Bikes" EntityType="Self.Bikes" />
  103. <EntitySet Name="InfoAdm" EntityType="Self.InfoAdm" />
  104. <EntitySet Name="InfoRab" EntityType="Self.InfoRab" />
  105. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
  106. </EntityContainer>
  107. </Schema>
  108. </edmx:ConceptualModels>
  109. <!-- C-S mapping content -->
  110. <edmx:Mappings>
  111. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  112. <EntityContainerMapping StorageEntityContainer="Хранилище VeloprokatModelContainer" CdmEntityContainer="VeloprokatEntities">
  113. <EntitySetMapping Name="Bikes">
  114. <EntityTypeMapping TypeName="VeloprokatModel.Bikes">
  115. <MappingFragment StoreEntitySet="Bikes">
  116. <ScalarProperty Name="ID" ColumnName="ID" />
  117. <ScalarProperty Name="Company" ColumnName="Company" />
  118. <ScalarProperty Name="Model" ColumnName="Model" />
  119. </MappingFragment>
  120. </EntityTypeMapping>
  121. </EntitySetMapping>
  122. <EntitySetMapping Name="InfoAdm">
  123. <EntityTypeMapping TypeName="VeloprokatModel.InfoAdm">
  124. <MappingFragment StoreEntitySet="InfoAdm">
  125. <ScalarProperty Name="ID" ColumnName="ID" />
  126. <ScalarProperty Name="Login" ColumnName="Login" />
  127. <ScalarProperty Name="Password" ColumnName="Password" />
  128. <ScalarProperty Name="FName" ColumnName="FName" />
  129. <ScalarProperty Name="MName" ColumnName="MName" />
  130. <ScalarProperty Name="LName" ColumnName="LName" />
  131. <ScalarProperty Name="Email" ColumnName="Email" />
  132. <ScalarProperty Name="Phone" ColumnName="Phone" />
  133. <ScalarProperty Name="Dr" ColumnName="Dr" />
  134. </MappingFragment>
  135. </EntityTypeMapping>
  136. </EntitySetMapping>
  137. <EntitySetMapping Name="InfoRab">
  138. <EntityTypeMapping TypeName="VeloprokatModel.InfoRab">
  139. <MappingFragment StoreEntitySet="InfoRab">
  140. <ScalarProperty Name="ID" ColumnName="ID" />
  141. <ScalarProperty Name="Login" ColumnName="Login" />
  142. <ScalarProperty Name="Password" ColumnName="Password" />
  143. <ScalarProperty Name="Email" ColumnName="Email" />
  144. </MappingFragment>
  145. </EntityTypeMapping>
  146. </EntitySetMapping>
  147. <EntitySetMapping Name="sysdiagrams">
  148. <EntityTypeMapping TypeName="VeloprokatModel.sysdiagrams">
  149. <MappingFragment StoreEntitySet="sysdiagrams">
  150. <ScalarProperty Name="name" ColumnName="name" />
  151. <ScalarProperty Name="principal_id" ColumnName="principal_id" />
  152. <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
  153. <ScalarProperty Name="version" ColumnName="version" />
  154. <ScalarProperty Name="definition" ColumnName="definition" />
  155. </MappingFragment>
  156. </EntityTypeMapping>
  157. </EntitySetMapping>
  158. </EntityContainerMapping>
  159. </Mapping>
  160. </edmx:Mappings>
  161. </edmx:Runtime>
  162. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  163. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  164. <Connection>
  165. <DesignerInfoPropertySet>
  166. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  167. </DesignerInfoPropertySet>
  168. </Connection>
  169. <Options>
  170. <DesignerInfoPropertySet>
  171. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  172. <DesignerProperty Name="EnablePluralization" Value="false" />
  173. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  174. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  175. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  176. </DesignerInfoPropertySet>
  177. </Options>
  178. <!-- Diagram content (shape and connector positions) -->
  179. <Diagrams></Diagrams>
  180. </Designer>
  181. </edmx:Edmx>