Model1.edmx 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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="Хранилище nabievBDModel" 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="sysdiagrams">
  9. <Key>
  10. <PropertyRef Name="diagram_id" />
  11. </Key>
  12. <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
  13. <Property Name="principal_id" Type="int" Nullable="false" />
  14. <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  15. <Property Name="version" Type="int" />
  16. <Property Name="definition" Type="varbinary(max)" />
  17. </EntityType>
  18. <!--Ошибки, обнаруженные при создании:
  19. предупреждение 6002: В таблице или представлении "KrymkovBD.dbo.Users" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
  20. <EntityType Name="Users">
  21. <Key>
  22. <PropertyRef Name="ID" />
  23. </Key>
  24. <Property Name="ID" Type="numeric" Precision="18" Scale="0" StoreGeneratedPattern="Identity" Nullable="false" />
  25. <Property Name="Login" Type="varchar(max)" />
  26. <Property Name="Password" Type="varchar(max)" />
  27. <Property Name="Fam" Type="varchar(max)" />
  28. <Property Name="Role" Type="varchar(max)" />
  29. </EntityType>
  30. <EntityType Name="Список вакансий">
  31. <Key>
  32. <PropertyRef Name="Код вакансии" />
  33. </Key>
  34. <Property Name="Код сферы" Type="numeric" Precision="18" Scale="0" Nullable="false" />
  35. <Property Name="Должность" Type="varchar(max)" Nullable="false" />
  36. <Property Name="Оклад" Type="varchar(max)" Nullable="false" />
  37. <Property Name="Требовния к соискателю" Type="varchar(max)" Nullable="false" />
  38. <Property Name="Работодатель" Type="varchar(max)" Nullable="false" />
  39. <Property Name="Контактный номер" Type="varchar(max)" Nullable="false" />
  40. <Property Name="Код вакансии" Type="numeric" Precision="18" Scale="0" Nullable="false" />
  41. </EntityType>
  42. <EntityType Name="Сфера деятельности">
  43. <Key>
  44. <PropertyRef Name="Код сферы" />
  45. </Key>
  46. <Property Name="Код сферы" Type="numeric" Precision="18" Scale="0" StoreGeneratedPattern="Identity" Nullable="false" />
  47. <Property Name="Сфера деятельности" Type="varchar(max)" Nullable="false" />
  48. </EntityType>
  49. <Association Name="FK_Список вакансий_Сфера деятельности">
  50. <End Role="Сфера деятельности" Type="Self.Сфера деятельности" Multiplicity="1" />
  51. <End Role="Список вакансий" Type="Self.Список вакансий" Multiplicity="*" />
  52. <ReferentialConstraint>
  53. <Principal Role="Сфера деятельности">
  54. <PropertyRef Name="Код сферы" />
  55. </Principal>
  56. <Dependent Role="Список вакансий">
  57. <PropertyRef Name="Код сферы" />
  58. </Dependent>
  59. </ReferentialConstraint>
  60. </Association>
  61. <Function Name="fn_diagramobjects" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" ReturnType="int" />
  62. <Function Name="sp_alterdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  63. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  64. <Parameter Name="owner_id" Type="int" Mode="In" />
  65. <Parameter Name="version" Type="int" Mode="In" />
  66. <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  67. </Function>
  68. <Function Name="sp_creatediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  69. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  70. <Parameter Name="owner_id" Type="int" Mode="In" />
  71. <Parameter Name="version" Type="int" Mode="In" />
  72. <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  73. </Function>
  74. <Function Name="sp_dropdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  75. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  76. <Parameter Name="owner_id" Type="int" Mode="In" />
  77. </Function>
  78. <Function Name="sp_helpdiagramdefinition" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  79. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  80. <Parameter Name="owner_id" Type="int" Mode="In" />
  81. </Function>
  82. <Function Name="sp_helpdiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  83. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  84. <Parameter Name="owner_id" Type="int" Mode="In" />
  85. </Function>
  86. <Function Name="sp_renamediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  87. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  88. <Parameter Name="owner_id" Type="int" Mode="In" />
  89. <Parameter Name="new_diagramname" Type="nvarchar" Mode="In" />
  90. </Function>
  91. <Function Name="sp_upgraddiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
  92. <EntityContainer Name="Хранилище nabievBDModelContainer">
  93. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
  94. <EntitySet Name="Список вакансий" EntityType="Self.Список вакансий" Schema="dbo" store:Type="Tables" />
  95. <EntitySet Name="Сфера деятельности" EntityType="Self.Сфера деятельности" Schema="dbo" store:Type="Tables" />
  96. <EntitySet Name="Users" EntityType="Self.Users" store:Type="Tables" store:Schema="dbo">
  97. <DefiningQuery>SELECT
  98. [Users].[ID] AS [ID],
  99. [Users].[Login] AS [Login],
  100. [Users].[Password] AS [Password],
  101. [Users].[Fam] AS [Fam],
  102. [Users].[Role] AS [Role]
  103. FROM [dbo].[Users] AS [Users]</DefiningQuery>
  104. </EntitySet>
  105. <AssociationSet Name="FK_Список вакансий_Сфера деятельности" Association="Self.FK_Список вакансий_Сфера деятельности">
  106. <End Role="Сфера деятельности" EntitySet="Сфера деятельности" />
  107. <End Role="Список вакансий" EntitySet="Список вакансий" />
  108. </AssociationSet>
  109. </EntityContainer>
  110. </Schema>
  111. </edmx:StorageModels>
  112. <!-- CSDL content -->
  113. <edmx:ConceptualModels>
  114. <Schema Namespace="nabievBDModel" 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">
  115. <EntityType Name="sysdiagrams">
  116. <Key>
  117. <PropertyRef Name="diagram_id" />
  118. </Key>
  119. <Property Name="name" Type="String" MaxLength="128" FixedLength="false" Unicode="true" Nullable="false" />
  120. <Property Name="principal_id" Type="Int32" Nullable="false" />
  121. <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  122. <Property Name="version" Type="Int32" />
  123. <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
  124. </EntityType>
  125. <EntityType Name="Список_вакансий">
  126. <Key>
  127. <PropertyRef Name="Код_вакансии" />
  128. </Key>
  129. <Property Name="Код_сферы" Type="Decimal" Precision="18" Scale="0" Nullable="false" />
  130. <Property Name="Должность" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  131. <Property Name="Оклад" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  132. <Property Name="Требовния_к_соискателю" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  133. <Property Name="Работодатель" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  134. <Property Name="Контактный_номер" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  135. <Property Name="Код_вакансии" Type="Decimal" Precision="18" Scale="0" Nullable="false" />
  136. <NavigationProperty Name="Сфера_деятельности" Relationship="Self.FK_Список_вакансий_Сфера_деятельности" FromRole="Список_вакансий" ToRole="Сфера_деятельности" />
  137. </EntityType>
  138. <EntityType Name="Сфера_деятельности">
  139. <Key>
  140. <PropertyRef Name="Код_сферы" />
  141. </Key>
  142. <Property Name="Код_сферы" Type="Decimal" Precision="18" Scale="0" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  143. <Property Name="Сфера_деятельности1" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  144. <NavigationProperty Name="Список_вакансий" Relationship="Self.FK_Список_вакансий_Сфера_деятельности" FromRole="Сфера_деятельности" ToRole="Список_вакансий" />
  145. </EntityType>
  146. <EntityType Name="Users">
  147. <Key>
  148. <PropertyRef Name="ID" />
  149. </Key>
  150. <Property Name="ID" Type="Decimal" Precision="18" Scale="0" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  151. <Property Name="Login" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  152. <Property Name="Password" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  153. <Property Name="Fam" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  154. <Property Name="Role" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  155. </EntityType>
  156. <Association Name="FK_Список_вакансий_Сфера_деятельности">
  157. <End Role="Сфера_деятельности" Type="Self.Сфера_деятельности" Multiplicity="1" />
  158. <End Role="Список_вакансий" Type="Self.Список_вакансий" Multiplicity="*" />
  159. <ReferentialConstraint>
  160. <Principal Role="Сфера_деятельности">
  161. <PropertyRef Name="Код_сферы" />
  162. </Principal>
  163. <Dependent Role="Список_вакансий">
  164. <PropertyRef Name="Код_сферы" />
  165. </Dependent>
  166. </ReferentialConstraint>
  167. </Association>
  168. <EntityContainer Name="nabievBDEntities" annotation:LazyLoadingEnabled="true">
  169. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
  170. <EntitySet Name="Список_вакансий" EntityType="Self.Список_вакансий" />
  171. <EntitySet Name="Сфера_деятельности" EntityType="Self.Сфера_деятельности" />
  172. <EntitySet Name="Users" EntityType="Self.Users" />
  173. <AssociationSet Name="FK_Список_вакансий_Сфера_деятельности" Association="Self.FK_Список_вакансий_Сфера_деятельности">
  174. <End Role="Сфера_деятельности" EntitySet="Сфера_деятельности" />
  175. <End Role="Список_вакансий" EntitySet="Список_вакансий" />
  176. </AssociationSet>
  177. <FunctionImport Name="sp_alterdiagram">
  178. <Parameter Name="diagramname" Mode="In" Type="String" />
  179. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  180. <Parameter Name="version" Mode="In" Type="Int32" />
  181. <Parameter Name="definition" Mode="In" Type="Binary" />
  182. </FunctionImport>
  183. <FunctionImport Name="sp_creatediagram">
  184. <Parameter Name="diagramname" Mode="In" Type="String" />
  185. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  186. <Parameter Name="version" Mode="In" Type="Int32" />
  187. <Parameter Name="definition" Mode="In" Type="Binary" />
  188. </FunctionImport>
  189. <FunctionImport Name="sp_dropdiagram">
  190. <Parameter Name="diagramname" Mode="In" Type="String" />
  191. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  192. </FunctionImport>
  193. <FunctionImport Name="sp_helpdiagramdefinition" ReturnType="Collection(nabievBDModel.sp_helpdiagramdefinition_Result)">
  194. <Parameter Name="diagramname" Mode="In" Type="String" />
  195. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  196. </FunctionImport>
  197. <FunctionImport Name="sp_helpdiagrams" ReturnType="Collection(nabievBDModel.sp_helpdiagrams_Result)">
  198. <Parameter Name="diagramname" Mode="In" Type="String" />
  199. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  200. </FunctionImport>
  201. <FunctionImport Name="sp_renamediagram">
  202. <Parameter Name="diagramname" Mode="In" Type="String" />
  203. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  204. <Parameter Name="new_diagramname" Mode="In" Type="String" />
  205. </FunctionImport>
  206. <FunctionImport Name="sp_upgraddiagrams" />
  207. </EntityContainer>
  208. <ComplexType Name="sp_helpdiagramdefinition_Result">
  209. <Property Type="Int32" Name="version" Nullable="true" />
  210. <Property Type="Binary" Name="definition" Nullable="true" />
  211. </ComplexType>
  212. <ComplexType Name="sp_helpdiagrams_Result">
  213. <Property Type="String" Name="Database" Nullable="true" MaxLength="128" />
  214. <Property Type="String" Name="Name" Nullable="false" MaxLength="128" />
  215. <Property Type="Int32" Name="ID" Nullable="false" />
  216. <Property Type="String" Name="Owner" Nullable="true" MaxLength="128" />
  217. <Property Type="Int32" Name="OwnerID" Nullable="false" />
  218. </ComplexType>
  219. </Schema>
  220. </edmx:ConceptualModels>
  221. <!-- C-S mapping content -->
  222. <edmx:Mappings>
  223. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  224. <EntityContainerMapping StorageEntityContainer="Хранилище nabievBDModelContainer" CdmEntityContainer="nabievBDEntities">
  225. <EntitySetMapping Name="sysdiagrams">
  226. <EntityTypeMapping TypeName="nabievBDModel.sysdiagrams">
  227. <MappingFragment StoreEntitySet="sysdiagrams">
  228. <ScalarProperty Name="name" ColumnName="name" />
  229. <ScalarProperty Name="principal_id" ColumnName="principal_id" />
  230. <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
  231. <ScalarProperty Name="version" ColumnName="version" />
  232. <ScalarProperty Name="definition" ColumnName="definition" />
  233. </MappingFragment>
  234. </EntityTypeMapping>
  235. </EntitySetMapping>
  236. <EntitySetMapping Name="Список_вакансий">
  237. <EntityTypeMapping TypeName="nabievBDModel.Список_вакансий">
  238. <MappingFragment StoreEntitySet="Список вакансий">
  239. <ScalarProperty Name="Код_сферы" ColumnName="Код сферы" />
  240. <ScalarProperty Name="Должность" ColumnName="Должность" />
  241. <ScalarProperty Name="Оклад" ColumnName="Оклад" />
  242. <ScalarProperty Name="Требовния_к_соискателю" ColumnName="Требовния к соискателю" />
  243. <ScalarProperty Name="Работодатель" ColumnName="Работодатель" />
  244. <ScalarProperty Name="Контактный_номер" ColumnName="Контактный номер" />
  245. <ScalarProperty Name="Код_вакансии" ColumnName="Код вакансии" />
  246. </MappingFragment>
  247. </EntityTypeMapping>
  248. </EntitySetMapping>
  249. <EntitySetMapping Name="Сфера_деятельности">
  250. <EntityTypeMapping TypeName="nabievBDModel.Сфера_деятельности">
  251. <MappingFragment StoreEntitySet="Сфера деятельности">
  252. <ScalarProperty Name="Код_сферы" ColumnName="Код сферы" />
  253. <ScalarProperty Name="Сфера_деятельности1" ColumnName="Сфера деятельности" />
  254. </MappingFragment>
  255. </EntityTypeMapping>
  256. </EntitySetMapping>
  257. <EntitySetMapping Name="Users">
  258. <EntityTypeMapping TypeName="nabievBDModel.Users">
  259. <MappingFragment StoreEntitySet="Users">
  260. <ScalarProperty Name="ID" ColumnName="ID" />
  261. <ScalarProperty Name="Login" ColumnName="Login" />
  262. <ScalarProperty Name="Password" ColumnName="Password" />
  263. <ScalarProperty Name="Fam" ColumnName="Fam" />
  264. <ScalarProperty Name="Role" ColumnName="Role" />
  265. </MappingFragment>
  266. </EntityTypeMapping>
  267. </EntitySetMapping>
  268. <FunctionImportMapping FunctionImportName="sp_alterdiagram" FunctionName="Хранилище nabievBDModel.sp_alterdiagram" />
  269. <FunctionImportMapping FunctionImportName="sp_creatediagram" FunctionName="Хранилище nabievBDModel.sp_creatediagram" />
  270. <FunctionImportMapping FunctionImportName="sp_dropdiagram" FunctionName="Хранилище nabievBDModel.sp_dropdiagram" />
  271. <FunctionImportMapping FunctionImportName="sp_helpdiagramdefinition" FunctionName="Хранилище nabievBDModel.sp_helpdiagramdefinition">
  272. <ResultMapping>
  273. <ComplexTypeMapping TypeName="nabievBDModel.sp_helpdiagramdefinition_Result">
  274. <ScalarProperty Name="version" ColumnName="version" />
  275. <ScalarProperty Name="definition" ColumnName="definition" />
  276. </ComplexTypeMapping>
  277. </ResultMapping>
  278. </FunctionImportMapping>
  279. <FunctionImportMapping FunctionImportName="sp_helpdiagrams" FunctionName="Хранилище nabievBDModel.sp_helpdiagrams">
  280. <ResultMapping>
  281. <ComplexTypeMapping TypeName="nabievBDModel.sp_helpdiagrams_Result">
  282. <ScalarProperty Name="Database" ColumnName="Database" />
  283. <ScalarProperty Name="Name" ColumnName="Name" />
  284. <ScalarProperty Name="ID" ColumnName="ID" />
  285. <ScalarProperty Name="Owner" ColumnName="Owner" />
  286. <ScalarProperty Name="OwnerID" ColumnName="OwnerID" />
  287. </ComplexTypeMapping>
  288. </ResultMapping>
  289. </FunctionImportMapping>
  290. <FunctionImportMapping FunctionImportName="sp_renamediagram" FunctionName="Хранилище nabievBDModel.sp_renamediagram" />
  291. <FunctionImportMapping FunctionImportName="sp_upgraddiagrams" FunctionName="Хранилище nabievBDModel.sp_upgraddiagrams" />
  292. </EntityContainerMapping>
  293. </Mapping>
  294. </edmx:Mappings>
  295. </edmx:Runtime>
  296. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  297. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  298. <Connection>
  299. <DesignerInfoPropertySet>
  300. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  301. </DesignerInfoPropertySet>
  302. </Connection>
  303. <Options>
  304. <DesignerInfoPropertySet>
  305. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  306. <DesignerProperty Name="EnablePluralization" Value="false" />
  307. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  308. <DesignerProperty Name="UseLegacyProvider" Value="true" />
  309. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  310. </DesignerInfoPropertySet>
  311. </Options>
  312. <!-- Diagram content (shape and connector positions) -->
  313. <Diagrams></Diagrams>
  314. </Designer>
  315. </edmx:Edmx>