|
@@ -4,7 +4,7 @@
|
|
|
<edmx:Runtime>
|
|
|
<!-- SSDL content -->
|
|
|
<edmx:StorageModels>
|
|
|
- <Schema Namespace="Хранилище gr672_bdaModel" 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">
|
|
|
+ <Schema Namespace="Хранилище gr672_bdaModel" 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">
|
|
|
<EntityType Name="Access">
|
|
|
<Key>
|
|
|
<PropertyRef Name="IdAccess" />
|
|
@@ -72,6 +72,14 @@
|
|
|
<Property Name="AdditionalParametr" Type="nvarchar" MaxLength="50" />
|
|
|
<Property Name="AdditionalInformation" Type="nvarchar" MaxLength="50" />
|
|
|
</EntityType>
|
|
|
+ <EntityType Name="DetailsStudent">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="IdDetailsStudent" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="IdDetailsStudent" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="StudentId" Type="int" Nullable="false" />
|
|
|
+ <Property Name="NumberBankCard" Type="nvarchar" MaxLength="16" Nullable="false" />
|
|
|
+ </EntityType>
|
|
|
<EntityType Name="DimensionCoefficient">
|
|
|
<Key>
|
|
|
<PropertyRef Name="IdDimensionCoefficient" />
|
|
@@ -456,6 +464,18 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
+ <Association Name="FK__DetailsSt__Stude__00750D23">
|
|
|
+ <End Role="Student" Type="Self.Student" Multiplicity="1" />
|
|
|
+ <End Role="DetailsStudent" Type="Self.DetailsStudent" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="Student">
|
|
|
+ <PropertyRef Name="IdStudent" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="DetailsStudent">
|
|
|
+ <PropertyRef Name="StudentId" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
<Association Name="FK__Employee__Catego__2C88998B">
|
|
|
<End Role="CategoryPayer" Type="Self.CategoryPayer" Multiplicity="1" />
|
|
|
<End Role="Employee" Type="Self.Employee" Multiplicity="*" />
|
|
@@ -788,6 +808,7 @@
|
|
|
<EntitySet Name="Base" EntityType="Self.Base" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="CategoryPayer" EntityType="Self.CategoryPayer" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="CompositionExperience" EntityType="Self.CompositionExperience" Schema="dbo" store:Type="Tables" />
|
|
|
+ <EntitySet Name="DetailsStudent" EntityType="Self.DetailsStudent" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="DimensionCoefficient" EntityType="Self.DimensionCoefficient" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="DocumentBase" EntityType="Self.DocumentBase" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="Employee" EntityType="Self.Employee" Schema="dbo" store:Type="Tables" />
|
|
@@ -859,6 +880,10 @@
|
|
|
<End Role="Requisites" EntitySet="Requisites" />
|
|
|
<End Role="Base" EntitySet="Base" />
|
|
|
</AssociationSet>
|
|
|
+ <AssociationSet Name="FK__DetailsSt__Stude__00750D23" Association="Self.FK__DetailsSt__Stude__00750D23">
|
|
|
+ <End Role="Student" EntitySet="Student" />
|
|
|
+ <End Role="DetailsStudent" EntitySet="DetailsStudent" />
|
|
|
+ </AssociationSet>
|
|
|
<AssociationSet Name="FK__Employee__Catego__2C88998B" Association="Self.FK__Employee__Catego__2C88998B">
|
|
|
<End Role="CategoryPayer" EntitySet="CategoryPayer" />
|
|
|
<End Role="Employee" EntitySet="Employee" />
|
|
@@ -968,8 +993,7 @@
|
|
|
<End Role="WageFund" EntitySet="WageFund" />
|
|
|
</AssociationSet>
|
|
|
</EntityContainer>
|
|
|
- </Schema>
|
|
|
- </edmx:StorageModels>
|
|
|
+ </Schema></edmx:StorageModels>
|
|
|
<!-- CSDL content -->
|
|
|
<edmx:ConceptualModels>
|
|
|
<Schema Namespace="gr672_bdaModel" 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">
|
|
@@ -1290,6 +1314,7 @@
|
|
|
<NavigationProperty Name="AccrualsScholarship" Relationship="Self.FK__AccrualsS__Stude__3CBF0154" FromRole="Student" ToRole="AccrualsScholarship" />
|
|
|
<NavigationProperty Name="GeneralCharges" Relationship="Self.FK__GeneralCh__Stude__3335971A" FromRole="Student" ToRole="GeneralCharges" />
|
|
|
<NavigationProperty Name="Group" Relationship="Self.FK__Student__GroupId__1F2E9E6D" FromRole="Student" ToRole="Group" />
|
|
|
+ <NavigationProperty Name="DetailsStudent" Relationship="gr672_bdaModel.FK__DetailsSt__Stude__00750D23" FromRole="Student" ToRole="DetailsStudent" />
|
|
|
</EntityType>
|
|
|
<EntityType Name="Subdivision">
|
|
|
<Key>
|
|
@@ -2011,7 +2036,33 @@
|
|
|
<End Role="TypeWorked" EntitySet="TypeWorked" />
|
|
|
<End Role="Schedule" EntitySet="Schedule" />
|
|
|
</AssociationSet>
|
|
|
+ <EntitySet Name="DetailsStudent" EntityType="gr672_bdaModel.DetailsStudent" />
|
|
|
+ <AssociationSet Name="FK__DetailsSt__Stude__00750D23" Association="gr672_bdaModel.FK__DetailsSt__Stude__00750D23">
|
|
|
+ <End Role="Student" EntitySet="Student" />
|
|
|
+ <End Role="DetailsStudent" EntitySet="DetailsStudent" />
|
|
|
+ </AssociationSet>
|
|
|
</EntityContainer>
|
|
|
+ <EntityType Name="DetailsStudent">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="IdDetailsStudent" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="IdDetailsStudent" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="StudentId" Type="Int32" Nullable="false" />
|
|
|
+ <Property Name="NumberBankCard" Type="String" Nullable="false" MaxLength="16" FixedLength="false" Unicode="true" />
|
|
|
+ <NavigationProperty Name="Student" Relationship="gr672_bdaModel.FK__DetailsSt__Stude__00750D23" FromRole="DetailsStudent" ToRole="Student" />
|
|
|
+ </EntityType>
|
|
|
+ <Association Name="FK__DetailsSt__Stude__00750D23">
|
|
|
+ <End Type="gr672_bdaModel.Student" Role="Student" Multiplicity="1" />
|
|
|
+ <End Type="gr672_bdaModel.DetailsStudent" Role="DetailsStudent" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="Student">
|
|
|
+ <PropertyRef Name="IdStudent" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="DetailsStudent">
|
|
|
+ <PropertyRef Name="StudentId" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
</Schema>
|
|
|
</edmx:ConceptualModels>
|
|
|
<!-- C-S mapping content -->
|
|
@@ -2371,6 +2422,15 @@
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="DetailsStudent">
|
|
|
+ <EntityTypeMapping TypeName="gr672_bdaModel.DetailsStudent">
|
|
|
+ <MappingFragment StoreEntitySet="DetailsStudent">
|
|
|
+ <ScalarProperty Name="NumberBankCard" ColumnName="NumberBankCard" />
|
|
|
+ <ScalarProperty Name="StudentId" ColumnName="StudentId" />
|
|
|
+ <ScalarProperty Name="IdDetailsStudent" ColumnName="IdDetailsStudent" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
</EntityContainerMapping>
|
|
|
</Mapping>
|
|
|
</edmx:Mappings>
|