|
@@ -4,17 +4,16 @@
|
|
<edmx:Runtime>
|
|
<edmx:Runtime>
|
|
<!-- SSDL content -->
|
|
<!-- SSDL content -->
|
|
<edmx:StorageModels>
|
|
<edmx:StorageModels>
|
|
- <Schema Namespace="Хранилище gr672_pgvModel" 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="Хранилище SchoolDBModel" 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="Briefing">
|
|
<EntityType Name="Briefing">
|
|
<Key>
|
|
<Key>
|
|
<PropertyRef Name="BriefingID" />
|
|
<PropertyRef Name="BriefingID" />
|
|
</Key>
|
|
</Key>
|
|
<Property Name="BriefingID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="BriefingID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
- <Property Name="Date" Type="date" Nullable="false" />
|
|
|
|
|
|
+ <Property Name="Date" Type="datetime" Nullable="false" />
|
|
<Property Name="IDInstructor" Type="int" Nullable="false" />
|
|
<Property Name="IDInstructor" Type="int" Nullable="false" />
|
|
<Property Name="Reason" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Reason" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Note" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="Note" Type="nvarchar(max)" Nullable="false" />
|
|
- <Property Name="IDEmployee" Type="int" Nullable="false" />
|
|
|
|
<Property Name="IDType" Type="int" Nullable="false" />
|
|
<Property Name="IDType" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
</EntityType>
|
|
<EntityType Name="Employee">
|
|
<EntityType Name="Employee">
|
|
@@ -27,7 +26,7 @@
|
|
<Property Name="MiddleName" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="MiddleName" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="IsWorking" Type="bit" Nullable="false" />
|
|
<Property Name="IsWorking" Type="bit" Nullable="false" />
|
|
<Property Name="IDPosition" Type="int" Nullable="false" />
|
|
<Property Name="IDPosition" Type="int" Nullable="false" />
|
|
- <Property Name="BirthDate" Type="date" Nullable="false" />
|
|
|
|
|
|
+ <Property Name="BirthDate" Type="datetime" Nullable="false" />
|
|
<Property Name="IDSubdivision" Type="int" Nullable="false" />
|
|
<Property Name="IDSubdivision" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
</EntityType>
|
|
<EntityType Name="EmployeeInBriefing">
|
|
<EntityType Name="EmployeeInBriefing">
|
|
@@ -112,7 +111,7 @@
|
|
</Dependent>
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
</Association>
|
|
- <EntityContainer Name="Хранилище gr672_pgvModelContainer">
|
|
|
|
|
|
+ <EntityContainer Name="Хранилище SchoolDBModelContainer">
|
|
<EntitySet Name="Briefing" EntityType="Self.Briefing" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Briefing" EntityType="Self.Briefing" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Employee" EntityType="Self.Employee" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Employee" EntityType="Self.Employee" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="EmployeeInBriefing" EntityType="Self.EmployeeInBriefing" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="EmployeeInBriefing" EntityType="Self.EmployeeInBriefing" Schema="dbo" store:Type="Tables" />
|
|
@@ -143,17 +142,16 @@
|
|
</edmx:StorageModels>
|
|
</edmx:StorageModels>
|
|
<!-- CSDL content -->
|
|
<!-- CSDL content -->
|
|
<edmx:ConceptualModels>
|
|
<edmx:ConceptualModels>
|
|
- <Schema Namespace="gr672_pgvModel" 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">
|
|
|
|
|
|
+ <Schema Namespace="SchoolDBModel" 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="Briefing">
|
|
<EntityType Name="Briefing">
|
|
<Key>
|
|
<Key>
|
|
<PropertyRef Name="BriefingID" />
|
|
<PropertyRef Name="BriefingID" />
|
|
</Key>
|
|
</Key>
|
|
<Property Name="BriefingID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="BriefingID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
- <Property Name="Date" Type="DateTime" Nullable="false" Precision="0" />
|
|
|
|
|
|
+ <Property Name="Date" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="IDInstructor" Type="Int32" Nullable="false" />
|
|
<Property Name="IDInstructor" Type="Int32" Nullable="false" />
|
|
<Property Name="Reason" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Reason" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Note" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Note" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
|
|
- <Property Name="IDEmployee" Type="Int32" Nullable="false" />
|
|
|
|
<Property Name="IDType" Type="Int32" Nullable="false" />
|
|
<Property Name="IDType" Type="Int32" Nullable="false" />
|
|
<NavigationProperty Name="Employee" Relationship="Self.FK_Briefing_Employee" FromRole="Briefing" ToRole="Employee" />
|
|
<NavigationProperty Name="Employee" Relationship="Self.FK_Briefing_Employee" FromRole="Briefing" ToRole="Employee" />
|
|
<NavigationProperty Name="EmployeeInBriefing" Relationship="Self.FK_EmployeeInBriefing_Briefing" FromRole="Briefing" ToRole="EmployeeInBriefing" />
|
|
<NavigationProperty Name="EmployeeInBriefing" Relationship="Self.FK_EmployeeInBriefing_Briefing" FromRole="Briefing" ToRole="EmployeeInBriefing" />
|
|
@@ -168,7 +166,7 @@
|
|
<Property Name="MiddleName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="MiddleName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="IsWorking" Type="Boolean" Nullable="false" />
|
|
<Property Name="IsWorking" Type="Boolean" Nullable="false" />
|
|
<Property Name="IDPosition" Type="Int32" Nullable="false" />
|
|
<Property Name="IDPosition" Type="Int32" Nullable="false" />
|
|
- <Property Name="BirthDate" Type="DateTime" Nullable="false" Precision="0" />
|
|
|
|
|
|
+ <Property Name="BirthDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="IDSubdivision" Type="Int32" Nullable="false" />
|
|
<Property Name="IDSubdivision" Type="Int32" Nullable="false" />
|
|
<NavigationProperty Name="Briefing" Relationship="Self.FK_Briefing_Employee" FromRole="Employee" ToRole="Briefing" />
|
|
<NavigationProperty Name="Briefing" Relationship="Self.FK_Briefing_Employee" FromRole="Employee" ToRole="Briefing" />
|
|
<NavigationProperty Name="Position" Relationship="Self.FK_Employee_Position" FromRole="Employee" ToRole="Position" />
|
|
<NavigationProperty Name="Position" Relationship="Self.FK_Employee_Position" FromRole="Employee" ToRole="Position" />
|
|
@@ -261,7 +259,7 @@
|
|
</Dependent>
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
</Association>
|
|
- <EntityContainer Name="gr672_pgvEntities" annotation:LazyLoadingEnabled="true">
|
|
|
|
|
|
+ <EntityContainer Name="SchoolDBEntities" annotation:LazyLoadingEnabled="true">
|
|
<EntitySet Name="Briefing" EntityType="Self.Briefing" />
|
|
<EntitySet Name="Briefing" EntityType="Self.Briefing" />
|
|
<EntitySet Name="Employee" EntityType="Self.Employee" />
|
|
<EntitySet Name="Employee" EntityType="Self.Employee" />
|
|
<EntitySet Name="EmployeeInBriefing" EntityType="Self.EmployeeInBriefing" />
|
|
<EntitySet Name="EmployeeInBriefing" EntityType="Self.EmployeeInBriefing" />
|
|
@@ -293,22 +291,21 @@
|
|
<!-- C-S mapping content -->
|
|
<!-- C-S mapping content -->
|
|
<edmx:Mappings>
|
|
<edmx:Mappings>
|
|
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
|
|
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
|
|
- <EntityContainerMapping StorageEntityContainer="Хранилище gr672_pgvModelContainer" CdmEntityContainer="gr672_pgvEntities">
|
|
|
|
|
|
+ <EntityContainerMapping StorageEntityContainer="Хранилище SchoolDBModelContainer" CdmEntityContainer="SchoolDBEntities">
|
|
<EntitySetMapping Name="Briefing">
|
|
<EntitySetMapping Name="Briefing">
|
|
- <EntityTypeMapping TypeName="gr672_pgvModel.Briefing">
|
|
|
|
|
|
+ <EntityTypeMapping TypeName="SchoolDBModel.Briefing">
|
|
<MappingFragment StoreEntitySet="Briefing">
|
|
<MappingFragment StoreEntitySet="Briefing">
|
|
<ScalarProperty Name="BriefingID" ColumnName="BriefingID" />
|
|
<ScalarProperty Name="BriefingID" ColumnName="BriefingID" />
|
|
<ScalarProperty Name="Date" ColumnName="Date" />
|
|
<ScalarProperty Name="Date" ColumnName="Date" />
|
|
<ScalarProperty Name="IDInstructor" ColumnName="IDInstructor" />
|
|
<ScalarProperty Name="IDInstructor" ColumnName="IDInstructor" />
|
|
<ScalarProperty Name="Reason" ColumnName="Reason" />
|
|
<ScalarProperty Name="Reason" ColumnName="Reason" />
|
|
<ScalarProperty Name="Note" ColumnName="Note" />
|
|
<ScalarProperty Name="Note" ColumnName="Note" />
|
|
- <ScalarProperty Name="IDEmployee" ColumnName="IDEmployee" />
|
|
|
|
<ScalarProperty Name="IDType" ColumnName="IDType" />
|
|
<ScalarProperty Name="IDType" ColumnName="IDType" />
|
|
</MappingFragment>
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Employee">
|
|
<EntitySetMapping Name="Employee">
|
|
- <EntityTypeMapping TypeName="gr672_pgvModel.Employee">
|
|
|
|
|
|
+ <EntityTypeMapping TypeName="SchoolDBModel.Employee">
|
|
<MappingFragment StoreEntitySet="Employee">
|
|
<MappingFragment StoreEntitySet="Employee">
|
|
<ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" />
|
|
<ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" />
|
|
<ScalarProperty Name="LastName" ColumnName="LastName" />
|
|
<ScalarProperty Name="LastName" ColumnName="LastName" />
|
|
@@ -322,7 +319,7 @@
|
|
</EntityTypeMapping>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="EmployeeInBriefing">
|
|
<EntitySetMapping Name="EmployeeInBriefing">
|
|
- <EntityTypeMapping TypeName="gr672_pgvModel.EmployeeInBriefing">
|
|
|
|
|
|
+ <EntityTypeMapping TypeName="SchoolDBModel.EmployeeInBriefing">
|
|
<MappingFragment StoreEntitySet="EmployeeInBriefing">
|
|
<MappingFragment StoreEntitySet="EmployeeInBriefing">
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
|
<ScalarProperty Name="IDEmployee" ColumnName="IDEmployee" />
|
|
<ScalarProperty Name="IDEmployee" ColumnName="IDEmployee" />
|
|
@@ -331,7 +328,7 @@
|
|
</EntityTypeMapping>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Position">
|
|
<EntitySetMapping Name="Position">
|
|
- <EntityTypeMapping TypeName="gr672_pgvModel.Position">
|
|
|
|
|
|
+ <EntityTypeMapping TypeName="SchoolDBModel.Position">
|
|
<MappingFragment StoreEntitySet="Position">
|
|
<MappingFragment StoreEntitySet="Position">
|
|
<ScalarProperty Name="PositionID" ColumnName="PositionID" />
|
|
<ScalarProperty Name="PositionID" ColumnName="PositionID" />
|
|
<ScalarProperty Name="PositionName" ColumnName="PositionName" />
|
|
<ScalarProperty Name="PositionName" ColumnName="PositionName" />
|
|
@@ -339,7 +336,7 @@
|
|
</EntityTypeMapping>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Subdivision">
|
|
<EntitySetMapping Name="Subdivision">
|
|
- <EntityTypeMapping TypeName="gr672_pgvModel.Subdivision">
|
|
|
|
|
|
+ <EntityTypeMapping TypeName="SchoolDBModel.Subdivision">
|
|
<MappingFragment StoreEntitySet="Subdivision">
|
|
<MappingFragment StoreEntitySet="Subdivision">
|
|
<ScalarProperty Name="SubdivisionID" ColumnName="SubdivisionID" />
|
|
<ScalarProperty Name="SubdivisionID" ColumnName="SubdivisionID" />
|
|
<ScalarProperty Name="SubdivisionName" ColumnName="SubdivisionName" />
|
|
<ScalarProperty Name="SubdivisionName" ColumnName="SubdivisionName" />
|