123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <?xml version="1.0" encoding="utf-8"?>
- <Schema Namespace="IS32_Shafrygin_BDModel" 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">
- <EntityType Name="sysdiagrams">
- <Key>
- <PropertyRef Name="diagram_id" />
- </Key>
- <Property Name="name" Type="String" MaxLength="128" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="principal_id" Type="Int32" Nullable="false" />
- <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="version" Type="Int32" />
- <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
- </EntityType>
- <EntityType Name="Люди">
- <Key>
- <PropertyRef Name="Код" />
- </Key>
- <Property Name="Код" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="ФИО" Type="String" MaxLength="100" FixedLength="true" Unicode="true" />
- <Property Name="Код_сферы" Type="Int32" />
- <Property Name="Код_вакансии" Type="Int32" />
- <NavigationProperty Name="Список_вакансий" Relationship="Self.FK_Люди_Список_вакансий" FromRole="Люди" ToRole="Список_вакансий" />
- <NavigationProperty Name="Сферы_деятельности" Relationship="Self.FK_Люди_Сферы_деятельности" FromRole="Люди" ToRole="Сферы_деятельности" />
- </EntityType>
- <EntityType Name="Список_вакансий">
- <Key>
- <PropertyRef Name="Код_вакансии" />
- </Key>
- <Property Name="Код_вакансии" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Код_сферы" Type="Int32" />
- <Property Name="Должность" Type="String" MaxLength="100" FixedLength="true" Unicode="true" />
- <Property Name="Оклад" Type="String" MaxLength="100" FixedLength="true" Unicode="true" />
- <Property Name="Требования_к_соискателю" Type="String" MaxLength="100" FixedLength="true" Unicode="true" />
- <Property Name="Работодатель" Type="String" MaxLength="100" FixedLength="true" Unicode="true" />
- <Property Name="Контактный_номер" Type="String" MaxLength="100" FixedLength="true" Unicode="true" />
- <NavigationProperty Name="Люди" Relationship="Self.FK_Люди_Список_вакансий" FromRole="Список_вакансий" ToRole="Люди" />
- <NavigationProperty Name="Сферы_деятельности" Relationship="Self.FK_Список_вакансий_Сферы_деятельности" FromRole="Список_вакансий" ToRole="Сферы_деятельности" />
- </EntityType>
- <EntityType Name="Сферы_деятельности">
- <Key>
- <PropertyRef Name="Код_сферы" />
- </Key>
- <Property Name="Код_сферы" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Сфера_деятельности" Type="String" MaxLength="50" FixedLength="true" Unicode="true" />
- <NavigationProperty Name="Люди" Relationship="Self.FK_Люди_Сферы_деятельности" FromRole="Сферы_деятельности" ToRole="Люди" />
- <NavigationProperty Name="Список_вакансий" Relationship="Self.FK_Список_вакансий_Сферы_деятельности" FromRole="Сферы_деятельности" ToRole="Список_вакансий" />
- </EntityType>
- <Association Name="FK_Люди_Список_вакансий">
- <End Role="Список_вакансий" Type="Self.Список_вакансий" Multiplicity="0..1" />
- <End Role="Люди" Type="Self.Люди" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Список_вакансий">
- <PropertyRef Name="Код_вакансии" />
- </Principal>
- <Dependent Role="Люди">
- <PropertyRef Name="Код_вакансии" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Люди_Сферы_деятельности">
- <End Role="Сферы_деятельности" Type="Self.Сферы_деятельности" Multiplicity="0..1" />
- <End Role="Люди" Type="Self.Люди" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Сферы_деятельности">
- <PropertyRef Name="Код_сферы" />
- </Principal>
- <Dependent Role="Люди">
- <PropertyRef Name="Код_сферы" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Список_вакансий_Сферы_деятельности">
- <End Role="Сферы_деятельности" Type="Self.Сферы_деятельности" Multiplicity="0..1" />
- <End Role="Список_вакансий" Type="Self.Список_вакансий" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Сферы_деятельности">
- <PropertyRef Name="Код_сферы" />
- </Principal>
- <Dependent Role="Список_вакансий">
- <PropertyRef Name="Код_сферы" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="IS32_Shafrygin_BDEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
- <EntitySet Name="Люди" EntityType="Self.Люди" />
- <EntitySet Name="Список_вакансий" EntityType="Self.Список_вакансий" />
- <EntitySet Name="Сферы_деятельности" EntityType="Self.Сферы_деятельности" />
- <AssociationSet Name="FK_Люди_Список_вакансий" Association="Self.FK_Люди_Список_вакансий">
- <End Role="Список_вакансий" EntitySet="Список_вакансий" />
- <End Role="Люди" EntitySet="Люди" />
- </AssociationSet>
- <AssociationSet Name="FK_Люди_Сферы_деятельности" Association="Self.FK_Люди_Сферы_деятельности">
- <End Role="Сферы_деятельности" EntitySet="Сферы_деятельности" />
- <End Role="Люди" EntitySet="Люди" />
- </AssociationSet>
- <AssociationSet Name="FK_Список_вакансий_Сферы_деятельности" Association="Self.FK_Список_вакансий_Сферы_деятельности">
- <End Role="Сферы_деятельности" EntitySet="Сферы_деятельности" />
- <End Role="Список_вакансий" EntitySet="Список_вакансий" />
- </AssociationSet>
- <FunctionImport Name="sp_alterdiagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- <Parameter Name="version" Mode="In" Type="Int32" />
- <Parameter Name="definition" Mode="In" Type="Binary" />
- </FunctionImport>
- <FunctionImport Name="sp_creatediagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- <Parameter Name="version" Mode="In" Type="Int32" />
- <Parameter Name="definition" Mode="In" Type="Binary" />
- </FunctionImport>
- <FunctionImport Name="sp_dropdiagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- </FunctionImport>
- <FunctionImport Name="sp_helpdiagramdefinition" ReturnType="Collection(IS32_Shafrygin_BDModel.sp_helpdiagramdefinition_Result)">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- </FunctionImport>
- <FunctionImport Name="sp_helpdiagrams" ReturnType="Collection(IS32_Shafrygin_BDModel.sp_helpdiagrams_Result)">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- </FunctionImport>
- <FunctionImport Name="sp_renamediagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- <Parameter Name="new_diagramname" Mode="In" Type="String" />
- </FunctionImport>
- <FunctionImport Name="sp_upgraddiagrams" />
- </EntityContainer>
- <ComplexType Name="sp_helpdiagramdefinition_Result">
- <Property Type="Int32" Name="version" Nullable="true" />
- <Property Type="Binary" Name="definition" Nullable="true" />
- </ComplexType>
- <ComplexType Name="sp_helpdiagrams_Result">
- <Property Type="String" Name="Database" Nullable="true" MaxLength="128" />
- <Property Type="String" Name="Name" Nullable="false" MaxLength="128" />
- <Property Type="Int32" Name="ID" Nullable="false" />
- <Property Type="String" Name="Owner" Nullable="true" MaxLength="128" />
- <Property Type="Int32" Name="OwnerID" Nullable="false" />
- </ComplexType>
- </Schema>
|