Model1.csdl 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <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">
  3. <EntityType Name="sysdiagrams">
  4. <Key>
  5. <PropertyRef Name="diagram_id" />
  6. </Key>
  7. <Property Name="name" Type="String" MaxLength="128" FixedLength="false" Unicode="true" Nullable="false" />
  8. <Property Name="principal_id" Type="Int32" Nullable="false" />
  9. <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  10. <Property Name="version" Type="Int32" />
  11. <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
  12. </EntityType>
  13. <EntityType Name="Список_вакансий">
  14. <Key>
  15. <PropertyRef Name="Код_вакансии" />
  16. </Key>
  17. <Property Name="Код_сферы" Type="Decimal" Precision="18" Scale="0" Nullable="false" />
  18. <Property Name="Должность" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  19. <Property Name="Оклад" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  20. <Property Name="Требовния_к_соискателю" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  21. <Property Name="Работодатель" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  22. <Property Name="Контактный_номер" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  23. <Property Name="Код_вакансии" Type="Decimal" Precision="18" Scale="0" Nullable="false" />
  24. <NavigationProperty Name="Сфера_деятельности" Relationship="Self.FK_Список_вакансий_Сфера_деятельности" FromRole="Список_вакансий" ToRole="Сфера_деятельности" />
  25. </EntityType>
  26. <EntityType Name="Сфера_деятельности">
  27. <Key>
  28. <PropertyRef Name="Код_сферы" />
  29. </Key>
  30. <Property Name="Код_сферы" Type="Decimal" Precision="18" Scale="0" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  31. <Property Name="Сфера_деятельности1" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
  32. <NavigationProperty Name="Список_вакансий" Relationship="Self.FK_Список_вакансий_Сфера_деятельности" FromRole="Сфера_деятельности" ToRole="Список_вакансий" />
  33. </EntityType>
  34. <EntityType Name="Users">
  35. <Key>
  36. <PropertyRef Name="ID" />
  37. </Key>
  38. <Property Name="ID" Type="Decimal" Precision="18" Scale="0" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  39. <Property Name="Login" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  40. <Property Name="Password" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  41. <Property Name="Fam" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  42. <Property Name="Role" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  43. </EntityType>
  44. <Association Name="FK_Список_вакансий_Сфера_деятельности">
  45. <End Role="Сфера_деятельности" Type="Self.Сфера_деятельности" Multiplicity="1" />
  46. <End Role="Список_вакансий" Type="Self.Список_вакансий" Multiplicity="*" />
  47. <ReferentialConstraint>
  48. <Principal Role="Сфера_деятельности">
  49. <PropertyRef Name="Код_сферы" />
  50. </Principal>
  51. <Dependent Role="Список_вакансий">
  52. <PropertyRef Name="Код_сферы" />
  53. </Dependent>
  54. </ReferentialConstraint>
  55. </Association>
  56. <EntityContainer Name="nabievBDEntities" annotation:LazyLoadingEnabled="true">
  57. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
  58. <EntitySet Name="Список_вакансий" EntityType="Self.Список_вакансий" />
  59. <EntitySet Name="Сфера_деятельности" EntityType="Self.Сфера_деятельности" />
  60. <EntitySet Name="Users" EntityType="Self.Users" />
  61. <AssociationSet Name="FK_Список_вакансий_Сфера_деятельности" Association="Self.FK_Список_вакансий_Сфера_деятельности">
  62. <End Role="Сфера_деятельности" EntitySet="Сфера_деятельности" />
  63. <End Role="Список_вакансий" EntitySet="Список_вакансий" />
  64. </AssociationSet>
  65. <FunctionImport Name="sp_alterdiagram">
  66. <Parameter Name="diagramname" Mode="In" Type="String" />
  67. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  68. <Parameter Name="version" Mode="In" Type="Int32" />
  69. <Parameter Name="definition" Mode="In" Type="Binary" />
  70. </FunctionImport>
  71. <FunctionImport Name="sp_creatediagram">
  72. <Parameter Name="diagramname" Mode="In" Type="String" />
  73. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  74. <Parameter Name="version" Mode="In" Type="Int32" />
  75. <Parameter Name="definition" Mode="In" Type="Binary" />
  76. </FunctionImport>
  77. <FunctionImport Name="sp_dropdiagram">
  78. <Parameter Name="diagramname" Mode="In" Type="String" />
  79. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  80. </FunctionImport>
  81. <FunctionImport Name="sp_helpdiagramdefinition" ReturnType="Collection(nabievBDModel.sp_helpdiagramdefinition_Result)">
  82. <Parameter Name="diagramname" Mode="In" Type="String" />
  83. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  84. </FunctionImport>
  85. <FunctionImport Name="sp_helpdiagrams" ReturnType="Collection(nabievBDModel.sp_helpdiagrams_Result)">
  86. <Parameter Name="diagramname" Mode="In" Type="String" />
  87. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  88. </FunctionImport>
  89. <FunctionImport Name="sp_renamediagram">
  90. <Parameter Name="diagramname" Mode="In" Type="String" />
  91. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  92. <Parameter Name="new_diagramname" Mode="In" Type="String" />
  93. </FunctionImport>
  94. <FunctionImport Name="sp_upgraddiagrams" />
  95. </EntityContainer>
  96. <ComplexType Name="sp_helpdiagramdefinition_Result">
  97. <Property Type="Int32" Name="version" Nullable="true" />
  98. <Property Type="Binary" Name="definition" Nullable="true" />
  99. </ComplexType>
  100. <ComplexType Name="sp_helpdiagrams_Result">
  101. <Property Type="String" Name="Database" Nullable="true" MaxLength="128" />
  102. <Property Type="String" Name="Name" Nullable="false" MaxLength="128" />
  103. <Property Type="Int32" Name="ID" Nullable="false" />
  104. <Property Type="String" Name="Owner" Nullable="true" MaxLength="128" />
  105. <Property Type="Int32" Name="OwnerID" Nullable="false" />
  106. </ComplexType>
  107. </Schema>