|
@@ -120,7 +120,7 @@
|
|
|
<PropertyRef Name="IdEncouragement" />
|
|
|
</Key>
|
|
|
<Property Name="IdEncouragement" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
- <Property Name="TypeEncouragementId" Type="int" Nullable="false" />
|
|
|
+ <Property Name="NameTypeEncouragement" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
<Property Name="Amount" Type="money" Nullable="false" />
|
|
|
</EntityType>
|
|
|
<EntityType Name="Experience">
|
|
@@ -280,13 +280,6 @@
|
|
|
<Property Name="IdTariffGrid" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
<Property Name="NameTariffgrid" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
</EntityType>
|
|
|
- <EntityType Name="TypeEncouragement">
|
|
|
- <Key>
|
|
|
- <PropertyRef Name="IdTypeEncouragement" />
|
|
|
- </Key>
|
|
|
- <Property Name="IdTypeEncouragement" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
- <Property Name="NameTypeEncouragement" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
- </EntityType>
|
|
|
<EntityType Name="TypeExperience">
|
|
|
<Key>
|
|
|
<PropertyRef Name="IdTypeExperience" />
|
|
@@ -332,7 +325,7 @@
|
|
|
<Property Name="DateStart" Type="datetime" Nullable="false" />
|
|
|
<Property Name="DateExperation" Type="datetime" />
|
|
|
</EntityType>
|
|
|
- <Association Name="FK__AccrualsS__Encou__3F9B6DFF">
|
|
|
+ <Association Name="FK__AccrualsS__Encou__08162EEB">
|
|
|
<End Role="Encouragement" Type="Self.Encouragement" Multiplicity="0..1" />
|
|
|
<End Role="AccrualsScholarship" Type="Self.AccrualsScholarship" Multiplicity="*" />
|
|
|
<ReferentialConstraint>
|
|
@@ -344,7 +337,7 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
- <Association Name="FK__AccrualsS__Schol__3EA749C6">
|
|
|
+ <Association Name="FK__AccrualsS__Schol__07220AB2">
|
|
|
<End Role="Scholarship" Type="Self.Scholarship" Multiplicity="0..1" />
|
|
|
<End Role="AccrualsScholarship" Type="Self.AccrualsScholarship" Multiplicity="*" />
|
|
|
<ReferentialConstraint>
|
|
@@ -356,7 +349,7 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
- <Association Name="FK__AccrualsS__Stude__3CBF0154">
|
|
|
+ <Association Name="FK__AccrualsS__Stude__0539C240">
|
|
|
<End Role="Student" Type="Self.Student" Multiplicity="1" />
|
|
|
<End Role="AccrualsScholarship" Type="Self.AccrualsScholarship" Multiplicity="*" />
|
|
|
<ReferentialConstraint>
|
|
@@ -368,7 +361,7 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
- <Association Name="FK__AccrualsS__UserI__3DB3258D">
|
|
|
+ <Association Name="FK__AccrualsS__UserI__062DE679">
|
|
|
<End Role="User" Type="Self.User" Multiplicity="1" />
|
|
|
<End Role="AccrualsScholarship" Type="Self.AccrualsScholarship" Multiplicity="*" />
|
|
|
<ReferentialConstraint>
|
|
@@ -536,18 +529,6 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
- <Association Name="FK__Encourage__TypeE__39E294A9">
|
|
|
- <End Role="TypeEncouragement" Type="Self.TypeEncouragement" Multiplicity="1" />
|
|
|
- <End Role="Encouragement" Type="Self.Encouragement" Multiplicity="*" />
|
|
|
- <ReferentialConstraint>
|
|
|
- <Principal Role="TypeEncouragement">
|
|
|
- <PropertyRef Name="IdTypeEncouragement" />
|
|
|
- </Principal>
|
|
|
- <Dependent Role="Encouragement">
|
|
|
- <PropertyRef Name="TypeEncouragementId" />
|
|
|
- </Dependent>
|
|
|
- </ReferentialConstraint>
|
|
|
- </Association>
|
|
|
<Association Name="FK__Experienc__Compo__46486B8E">
|
|
|
<End Role="Employee" Type="Self.Employee" Multiplicity="1" />
|
|
|
<End Role="Experience" Type="Self.Experience" Multiplicity="*" />
|
|
@@ -830,25 +811,24 @@
|
|
|
<EntitySet Name="Student" EntityType="Self.Student" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="Subdivision" EntityType="Self.Subdivision" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="TariffGrid" EntityType="Self.TariffGrid" Schema="dbo" store:Type="Tables" />
|
|
|
- <EntitySet Name="TypeEncouragement" EntityType="Self.TypeEncouragement" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="TypeExperience" EntityType="Self.TypeExperience" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="TypePA" EntityType="Self.TypePA" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="TypeWorked" EntityType="Self.TypeWorked" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="User" EntityType="Self.User" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="WageFund" EntityType="Self.WageFund" Schema="dbo" store:Type="Tables" />
|
|
|
- <AssociationSet Name="FK__AccrualsS__Encou__3F9B6DFF" Association="Self.FK__AccrualsS__Encou__3F9B6DFF">
|
|
|
+ <AssociationSet Name="FK__AccrualsS__Encou__08162EEB" Association="Self.FK__AccrualsS__Encou__08162EEB">
|
|
|
<End Role="Encouragement" EntitySet="Encouragement" />
|
|
|
<End Role="AccrualsScholarship" EntitySet="AccrualsScholarship" />
|
|
|
</AssociationSet>
|
|
|
- <AssociationSet Name="FK__AccrualsS__Schol__3EA749C6" Association="Self.FK__AccrualsS__Schol__3EA749C6">
|
|
|
+ <AssociationSet Name="FK__AccrualsS__Schol__07220AB2" Association="Self.FK__AccrualsS__Schol__07220AB2">
|
|
|
<End Role="Scholarship" EntitySet="Scholarship" />
|
|
|
<End Role="AccrualsScholarship" EntitySet="AccrualsScholarship" />
|
|
|
</AssociationSet>
|
|
|
- <AssociationSet Name="FK__AccrualsS__Stude__3CBF0154" Association="Self.FK__AccrualsS__Stude__3CBF0154">
|
|
|
+ <AssociationSet Name="FK__AccrualsS__Stude__0539C240" Association="Self.FK__AccrualsS__Stude__0539C240">
|
|
|
<End Role="Student" EntitySet="Student" />
|
|
|
<End Role="AccrualsScholarship" EntitySet="AccrualsScholarship" />
|
|
|
</AssociationSet>
|
|
|
- <AssociationSet Name="FK__AccrualsS__UserI__3DB3258D" Association="Self.FK__AccrualsS__UserI__3DB3258D">
|
|
|
+ <AssociationSet Name="FK__AccrualsS__UserI__062DE679" Association="Self.FK__AccrualsS__UserI__062DE679">
|
|
|
<End Role="User" EntitySet="User" />
|
|
|
<End Role="AccrualsScholarship" EntitySet="AccrualsScholarship" />
|
|
|
</AssociationSet>
|
|
@@ -904,10 +884,6 @@
|
|
|
<End Role="Subdivision" EntitySet="Subdivision" />
|
|
|
<End Role="Employee" EntitySet="Employee" />
|
|
|
</AssociationSet>
|
|
|
- <AssociationSet Name="FK__Encourage__TypeE__39E294A9" Association="Self.FK__Encourage__TypeE__39E294A9">
|
|
|
- <End Role="TypeEncouragement" EntitySet="TypeEncouragement" />
|
|
|
- <End Role="Encouragement" EntitySet="Encouragement" />
|
|
|
- </AssociationSet>
|
|
|
<AssociationSet Name="FK__Experienc__Compo__46486B8E" Association="Self.FK__Experienc__Compo__46486B8E">
|
|
|
<End Role="Employee" EntitySet="Employee" />
|
|
|
<End Role="Experience" EntitySet="Experience" />
|
|
@@ -1132,10 +1108,9 @@
|
|
|
<PropertyRef Name="IdEncouragement" />
|
|
|
</Key>
|
|
|
<Property Name="IdEncouragement" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
- <Property Name="TypeEncouragementId" Type="Int32" Nullable="false" />
|
|
|
<Property Name="Amount" Type="Decimal" Precision="19" Scale="4" Nullable="false" />
|
|
|
<NavigationProperty Name="AccrualsScholarship" Relationship="Self.FK__AccrualsS__Encou__3F9B6DFF" FromRole="Encouragement" ToRole="AccrualsScholarship" />
|
|
|
- <NavigationProperty Name="TypeEncouragement" Relationship="Self.FK__Encourage__TypeE__39E294A9" FromRole="Encouragement" ToRole="TypeEncouragement" />
|
|
|
+ <Property Name="NameTypeEncouragement" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
|
</EntityType>
|
|
|
<EntityType Name="Experience">
|
|
|
<Key>
|
|
@@ -1332,14 +1307,6 @@
|
|
|
<Property Name="NameTariffgrid" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
|
<NavigationProperty Name="Parametrs" Relationship="Self.FK__Parametrs__Tarif__6A85CC04" FromRole="TariffGrid" ToRole="Parametrs" />
|
|
|
</EntityType>
|
|
|
- <EntityType Name="TypeEncouragement">
|
|
|
- <Key>
|
|
|
- <PropertyRef Name="IdTypeEncouragement" />
|
|
|
- </Key>
|
|
|
- <Property Name="IdTypeEncouragement" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
- <Property Name="NameTypeEncouragement" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
|
- <NavigationProperty Name="Encouragement" Relationship="Self.FK__Encourage__TypeE__39E294A9" FromRole="TypeEncouragement" ToRole="Encouragement" />
|
|
|
- </EntityType>
|
|
|
<EntityType Name="TypeExperience">
|
|
|
<Key>
|
|
|
<PropertyRef Name="IdTypeExperience" />
|
|
@@ -1681,18 +1648,6 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
- <Association Name="FK__Encourage__TypeE__39E294A9">
|
|
|
- <End Role="TypeEncouragement" Type="Self.TypeEncouragement" Multiplicity="1" />
|
|
|
- <End Role="Encouragement" Type="Self.Encouragement" Multiplicity="*" />
|
|
|
- <ReferentialConstraint>
|
|
|
- <Principal Role="TypeEncouragement">
|
|
|
- <PropertyRef Name="IdTypeEncouragement" />
|
|
|
- </Principal>
|
|
|
- <Dependent Role="Encouragement">
|
|
|
- <PropertyRef Name="TypeEncouragementId" />
|
|
|
- </Dependent>
|
|
|
- </ReferentialConstraint>
|
|
|
- </Association>
|
|
|
<Association Name="FK__Experienc__Hirer__473C8FC7">
|
|
|
<End Role="Hirer" Type="Self.Hirer" Multiplicity="1" />
|
|
|
<End Role="Experience" Type="Self.Experience" Multiplicity="*" />
|
|
@@ -1878,7 +1833,6 @@
|
|
|
<EntitySet Name="Student" EntityType="Self.Student" />
|
|
|
<EntitySet Name="Subdivision" EntityType="Self.Subdivision" />
|
|
|
<EntitySet Name="TariffGrid" EntityType="Self.TariffGrid" />
|
|
|
- <EntitySet Name="TypeEncouragement" EntityType="Self.TypeEncouragement" />
|
|
|
<EntitySet Name="TypeExperience" EntityType="Self.TypeExperience" />
|
|
|
<EntitySet Name="TypePA" EntityType="Self.TypePA" />
|
|
|
<EntitySet Name="TypeWorked" EntityType="Self.TypeWorked" />
|
|
@@ -1980,10 +1934,6 @@
|
|
|
<End Role="Employee" EntitySet="Employee" />
|
|
|
<End Role="WageFund" EntitySet="WageFund" />
|
|
|
</AssociationSet>
|
|
|
- <AssociationSet Name="FK__Encourage__TypeE__39E294A9" Association="Self.FK__Encourage__TypeE__39E294A9">
|
|
|
- <End Role="TypeEncouragement" EntitySet="TypeEncouragement" />
|
|
|
- <End Role="Encouragement" EntitySet="Encouragement" />
|
|
|
- </AssociationSet>
|
|
|
<AssociationSet Name="FK__Experienc__Hirer__473C8FC7" Association="Self.FK__Experienc__Hirer__473C8FC7">
|
|
|
<End Role="Hirer" EntitySet="Hirer" />
|
|
|
<End Role="Experience" EntitySet="Experience" />
|
|
@@ -2184,8 +2134,8 @@
|
|
|
<EntitySetMapping Name="Encouragement">
|
|
|
<EntityTypeMapping TypeName="gr672_bdaModel.Encouragement">
|
|
|
<MappingFragment StoreEntitySet="Encouragement">
|
|
|
+ <ScalarProperty Name="NameTypeEncouragement" ColumnName="NameTypeEncouragement" />
|
|
|
<ScalarProperty Name="IdEncouragement" ColumnName="IdEncouragement" />
|
|
|
- <ScalarProperty Name="TypeEncouragementId" ColumnName="TypeEncouragementId" />
|
|
|
<ScalarProperty Name="Amount" ColumnName="Amount" />
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
@@ -2364,14 +2314,6 @@
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
- <EntitySetMapping Name="TypeEncouragement">
|
|
|
- <EntityTypeMapping TypeName="gr672_bdaModel.TypeEncouragement">
|
|
|
- <MappingFragment StoreEntitySet="TypeEncouragement">
|
|
|
- <ScalarProperty Name="IdTypeEncouragement" ColumnName="IdTypeEncouragement" />
|
|
|
- <ScalarProperty Name="NameTypeEncouragement" ColumnName="NameTypeEncouragement" />
|
|
|
- </MappingFragment>
|
|
|
- </EntityTypeMapping>
|
|
|
- </EntitySetMapping>
|
|
|
<EntitySetMapping Name="TypeExperience">
|
|
|
<EntityTypeMapping TypeName="gr672_bdaModel.TypeExperience">
|
|
|
<MappingFragment StoreEntitySet="TypeExperience">
|