Model1.ssdl 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <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">
  3. <EntityType Name="sysdiagrams">
  4. <Key>
  5. <PropertyRef Name="diagram_id" />
  6. </Key>
  7. <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
  8. <Property Name="principal_id" Type="int" Nullable="false" />
  9. <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  10. <Property Name="version" Type="int" />
  11. <Property Name="definition" Type="varbinary(max)" />
  12. </EntityType>
  13. <!--Ошибки, обнаруженные при создании:
  14. предупреждение 6002: В таблице или представлении "KrymkovBD.dbo.Users" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
  15. <EntityType Name="Users">
  16. <Key>
  17. <PropertyRef Name="ID" />
  18. </Key>
  19. <Property Name="ID" Type="numeric" Precision="18" Scale="0" StoreGeneratedPattern="Identity" Nullable="false" />
  20. <Property Name="Login" Type="varchar(max)" />
  21. <Property Name="Password" Type="varchar(max)" />
  22. <Property Name="Fam" Type="varchar(max)" />
  23. <Property Name="Role" Type="varchar(max)" />
  24. </EntityType>
  25. <EntityType Name="Список вакансий">
  26. <Key>
  27. <PropertyRef Name="Код вакансии" />
  28. </Key>
  29. <Property Name="Код сферы" Type="numeric" Precision="18" Scale="0" Nullable="false" />
  30. <Property Name="Должность" Type="varchar(max)" Nullable="false" />
  31. <Property Name="Оклад" Type="varchar(max)" Nullable="false" />
  32. <Property Name="Требовния к соискателю" Type="varchar(max)" Nullable="false" />
  33. <Property Name="Работодатель" Type="varchar(max)" Nullable="false" />
  34. <Property Name="Контактный номер" Type="varchar(max)" Nullable="false" />
  35. <Property Name="Код вакансии" Type="numeric" Precision="18" Scale="0" Nullable="false" />
  36. </EntityType>
  37. <EntityType Name="Сфера деятельности">
  38. <Key>
  39. <PropertyRef Name="Код сферы" />
  40. </Key>
  41. <Property Name="Код сферы" Type="numeric" Precision="18" Scale="0" StoreGeneratedPattern="Identity" Nullable="false" />
  42. <Property Name="Сфера деятельности" Type="varchar(max)" Nullable="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. <Function Name="fn_diagramobjects" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" ReturnType="int" />
  57. <Function Name="sp_alterdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  58. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  59. <Parameter Name="owner_id" Type="int" Mode="In" />
  60. <Parameter Name="version" Type="int" Mode="In" />
  61. <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  62. </Function>
  63. <Function Name="sp_creatediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  64. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  65. <Parameter Name="owner_id" Type="int" Mode="In" />
  66. <Parameter Name="version" Type="int" Mode="In" />
  67. <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  68. </Function>
  69. <Function Name="sp_dropdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  70. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  71. <Parameter Name="owner_id" Type="int" Mode="In" />
  72. </Function>
  73. <Function Name="sp_helpdiagramdefinition" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  74. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  75. <Parameter Name="owner_id" Type="int" Mode="In" />
  76. </Function>
  77. <Function Name="sp_helpdiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  78. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  79. <Parameter Name="owner_id" Type="int" Mode="In" />
  80. </Function>
  81. <Function Name="sp_renamediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  82. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  83. <Parameter Name="owner_id" Type="int" Mode="In" />
  84. <Parameter Name="new_diagramname" Type="nvarchar" Mode="In" />
  85. </Function>
  86. <Function Name="sp_upgraddiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
  87. <EntityContainer Name="Хранилище nabievBDModelContainer">
  88. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
  89. <EntitySet Name="Список вакансий" EntityType="Self.Список вакансий" Schema="dbo" store:Type="Tables" />
  90. <EntitySet Name="Сфера деятельности" EntityType="Self.Сфера деятельности" Schema="dbo" store:Type="Tables" />
  91. <EntitySet Name="Users" EntityType="Self.Users" store:Type="Tables" store:Schema="dbo">
  92. <DefiningQuery>SELECT
  93. [Users].[ID] AS [ID],
  94. [Users].[Login] AS [Login],
  95. [Users].[Password] AS [Password],
  96. [Users].[Fam] AS [Fam],
  97. [Users].[Role] AS [Role]
  98. FROM [dbo].[Users] AS [Users]</DefiningQuery>
  99. </EntitySet>
  100. <AssociationSet Name="FK_Список вакансий_Сфера деятельности" Association="Self.FK_Список вакансий_Сфера деятельности">
  101. <End Role="Сфера деятельности" EntitySet="Сфера деятельности" />
  102. <End Role="Список вакансий" EntitySet="Список вакансий" />
  103. </AssociationSet>
  104. </EntityContainer>
  105. </Schema>