|
@@ -4,7 +4,7 @@
|
|
|
<edmx:Runtime>
|
|
|
<!-- SSDL content -->
|
|
|
<edmx:StorageModels>
|
|
|
- <Schema Namespace="Хранилище gr692_gavModel" 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="Хранилище EDMModel" 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="Dispatcher">
|
|
|
<Key>
|
|
|
<PropertyRef Name="IdDispatcher" />
|
|
@@ -18,6 +18,7 @@
|
|
|
<Property Name="Birthday" Type="date" Nullable="false" />
|
|
|
<Property Name="PhoneNumber" Type="nvarchar" MaxLength="10" Nullable="false" />
|
|
|
<Property Name="Email" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
+ <Property Name="Permission" Type="int" Nullable="false" />
|
|
|
</EntityType>
|
|
|
<EntityType Name="Drivers">
|
|
|
<Key>
|
|
@@ -68,6 +69,16 @@
|
|
|
<Property Name="IdRoute" Type="int" Nullable="false" />
|
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
</EntityType>
|
|
|
+ <EntityType Name="sysdiagrams">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="diagram_id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
|
|
|
+ <Property Name="principal_id" Type="int" Nullable="false" />
|
|
|
+ <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="version" Type="int" />
|
|
|
+ <Property Name="definition" Type="varbinary(max)" />
|
|
|
+ </EntityType>
|
|
|
<EntityType Name="Transport">
|
|
|
<Key>
|
|
|
<PropertyRef Name="IdTransport" />
|
|
@@ -160,7 +171,7 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
- <EntityContainer Name="Хранилище gr692_gavModelContainer">
|
|
|
+ <EntityContainer Name="Хранилище EDMModelContainer">
|
|
|
<EntitySet Name="Dispatcher" EntityType="Self.Dispatcher" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="Drivers" EntityType="Self.Drivers" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="DriversList" EntityType="Self.DriversList" Schema="dbo" store:Type="Tables" />
|
|
@@ -168,6 +179,7 @@
|
|
|
<EntitySet Name="PointsList" EntityType="Self.PointsList" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="RouteList" EntityType="Self.RouteList" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="Routes" EntityType="Self.Routes" Schema="dbo" store:Type="Tables" />
|
|
|
+ <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="Transport" EntityType="Self.Transport" Schema="dbo" store:Type="Tables" />
|
|
|
<AssociationSet Name="FK__DriversLi__IdDri__0C85DE4D" Association="Self.FK__DriversLi__IdDri__0C85DE4D">
|
|
|
<End Role="Drivers" EntitySet="Drivers" />
|
|
@@ -198,10 +210,11 @@
|
|
|
<End Role="Drivers" EntitySet="Drivers" />
|
|
|
</AssociationSet>
|
|
|
</EntityContainer>
|
|
|
- </Schema></edmx:StorageModels>
|
|
|
+ </Schema>
|
|
|
+ </edmx:StorageModels>
|
|
|
<!-- CSDL content -->
|
|
|
<edmx:ConceptualModels>
|
|
|
- <Schema Namespace="gr692_gavModel" 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="EDMModel" 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="Dispatcher">
|
|
|
<Key>
|
|
|
<PropertyRef Name="IdDispatcher" />
|
|
@@ -214,8 +227,9 @@
|
|
|
<Property Name="Patronymic" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
|
<Property Name="Birthday" Type="DateTime" Nullable="false" Precision="0" />
|
|
|
<Property Name="PhoneNumber" Type="String" MaxLength="10" FixedLength="false" Unicode="true" Nullable="false" />
|
|
|
+ <Property Name="Email" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
|
+ <Property Name="Permission" Type="Int32" Nullable="false" />
|
|
|
<NavigationProperty Name="RouteList" Relationship="Self.FK__RouteList__IdRou__6383C8BA" FromRole="Dispatcher" ToRole="RouteList" />
|
|
|
- <Property Name="Email" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
|
</EntityType>
|
|
|
<EntityType Name="Drivers">
|
|
|
<Key>
|
|
@@ -278,6 +292,16 @@
|
|
|
<NavigationProperty Name="PointsList" Relationship="Self.FK__PointsLis__IdRou__66603565" FromRole="Routes" ToRole="PointsList" />
|
|
|
<NavigationProperty Name="RouteList" Relationship="Self.FK__RouteList__IdRou__628FA481" FromRole="Routes" ToRole="RouteList" />
|
|
|
</EntityType>
|
|
|
+ <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="Transport">
|
|
|
<Key>
|
|
|
<PropertyRef Name="IdTransport" />
|
|
@@ -371,7 +395,7 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
- <EntityContainer Name="EDMEntities" annotation:LazyLoadingEnabled="true">
|
|
|
+ <EntityContainer Name="EDM" annotation:LazyLoadingEnabled="true">
|
|
|
<EntitySet Name="Dispatcher" EntityType="Self.Dispatcher" />
|
|
|
<EntitySet Name="Drivers" EntityType="Self.Drivers" />
|
|
|
<EntitySet Name="DriversList" EntityType="Self.DriversList" />
|
|
@@ -379,6 +403,7 @@
|
|
|
<EntitySet Name="PointsList" EntityType="Self.PointsList" />
|
|
|
<EntitySet Name="RouteList" EntityType="Self.RouteList" />
|
|
|
<EntitySet Name="Routes" EntityType="Self.Routes" />
|
|
|
+ <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
|
|
|
<EntitySet Name="Transport" EntityType="Self.Transport" />
|
|
|
<AssociationSet Name="FK__RouteList__IdRou__6383C8BA" Association="Self.FK__RouteList__IdRou__6383C8BA">
|
|
|
<End Role="Dispatcher" EntitySet="Dispatcher" />
|
|
@@ -414,11 +439,10 @@
|
|
|
<!-- C-S mapping content -->
|
|
|
<edmx:Mappings>
|
|
|
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
|
|
|
- <EntityContainerMapping StorageEntityContainer="Хранилище gr692_gavModelContainer" CdmEntityContainer="EDMEntities">
|
|
|
+ <EntityContainerMapping StorageEntityContainer="Хранилище EDMModelContainer" CdmEntityContainer="EDM">
|
|
|
<EntitySetMapping Name="Dispatcher">
|
|
|
- <EntityTypeMapping TypeName="gr692_gavModel.Dispatcher">
|
|
|
+ <EntityTypeMapping TypeName="EDMModel.Dispatcher">
|
|
|
<MappingFragment StoreEntitySet="Dispatcher">
|
|
|
- <ScalarProperty Name="Email" ColumnName="Email" />
|
|
|
<ScalarProperty Name="IdDispatcher" ColumnName="IdDispatcher" />
|
|
|
<ScalarProperty Name="Login" ColumnName="Login" />
|
|
|
<ScalarProperty Name="Password" ColumnName="Password" />
|
|
@@ -427,11 +451,13 @@
|
|
|
<ScalarProperty Name="Patronymic" ColumnName="Patronymic" />
|
|
|
<ScalarProperty Name="Birthday" ColumnName="Birthday" />
|
|
|
<ScalarProperty Name="PhoneNumber" ColumnName="PhoneNumber" />
|
|
|
+ <ScalarProperty Name="Email" ColumnName="Email" />
|
|
|
+ <ScalarProperty Name="Permission" ColumnName="Permission" />
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
<EntitySetMapping Name="Drivers">
|
|
|
- <EntityTypeMapping TypeName="gr692_gavModel.Drivers">
|
|
|
+ <EntityTypeMapping TypeName="EDMModel.Drivers">
|
|
|
<MappingFragment StoreEntitySet="Drivers">
|
|
|
<ScalarProperty Name="IdDriver" ColumnName="IdDriver" />
|
|
|
<ScalarProperty Name="IdTransport" ColumnName="IdTransport" />
|
|
@@ -442,7 +468,7 @@
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
<EntitySetMapping Name="DriversList">
|
|
|
- <EntityTypeMapping TypeName="gr692_gavModel.DriversList">
|
|
|
+ <EntityTypeMapping TypeName="EDMModel.DriversList">
|
|
|
<MappingFragment StoreEntitySet="DriversList">
|
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
<ScalarProperty Name="IdDriver" ColumnName="IdDriver" />
|
|
@@ -451,7 +477,7 @@
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
<EntitySetMapping Name="Points">
|
|
|
- <EntityTypeMapping TypeName="gr692_gavModel.Points">
|
|
|
+ <EntityTypeMapping TypeName="EDMModel.Points">
|
|
|
<MappingFragment StoreEntitySet="Points">
|
|
|
<ScalarProperty Name="IdPoint" ColumnName="IdPoint" />
|
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
@@ -460,7 +486,7 @@
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
<EntitySetMapping Name="PointsList">
|
|
|
- <EntityTypeMapping TypeName="gr692_gavModel.PointsList">
|
|
|
+ <EntityTypeMapping TypeName="EDMModel.PointsList">
|
|
|
<MappingFragment StoreEntitySet="PointsList">
|
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
<ScalarProperty Name="IdPoint" ColumnName="IdPoint" />
|
|
@@ -469,7 +495,7 @@
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
<EntitySetMapping Name="RouteList">
|
|
|
- <EntityTypeMapping TypeName="gr692_gavModel.RouteList">
|
|
|
+ <EntityTypeMapping TypeName="EDMModel.RouteList">
|
|
|
<MappingFragment StoreEntitySet="RouteList">
|
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
<ScalarProperty Name="IdRoute" ColumnName="IdRoute" />
|
|
@@ -478,15 +504,26 @@
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
<EntitySetMapping Name="Routes">
|
|
|
- <EntityTypeMapping TypeName="gr692_gavModel.Routes">
|
|
|
+ <EntityTypeMapping TypeName="EDMModel.Routes">
|
|
|
<MappingFragment StoreEntitySet="Routes">
|
|
|
<ScalarProperty Name="IdRoute" ColumnName="IdRoute" />
|
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="sysdiagrams">
|
|
|
+ <EntityTypeMapping TypeName="EDMModel.sysdiagrams">
|
|
|
+ <MappingFragment StoreEntitySet="sysdiagrams">
|
|
|
+ <ScalarProperty Name="name" ColumnName="name" />
|
|
|
+ <ScalarProperty Name="principal_id" ColumnName="principal_id" />
|
|
|
+ <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
|
|
|
+ <ScalarProperty Name="version" ColumnName="version" />
|
|
|
+ <ScalarProperty Name="definition" ColumnName="definition" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
<EntitySetMapping Name="Transport">
|
|
|
- <EntityTypeMapping TypeName="gr692_gavModel.Transport">
|
|
|
+ <EntityTypeMapping TypeName="EDMModel.Transport">
|
|
|
<MappingFragment StoreEntitySet="Transport">
|
|
|
<ScalarProperty Name="IdTransport" ColumnName="IdTransport" />
|
|
|
<ScalarProperty Name="NameOfTransport" ColumnName="NameOfTransport" />
|