Model1.edmx 17 KB

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