<?xml version="1.0" encoding="utf-8"?>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  <EntityContainerMapping StorageEntityContainer="Хранилище ModelRailwayContainer" CdmEntityContainer="EntitiesRailway">
    <EntitySetMapping Name="Roads">
      <EntityTypeMapping TypeName="ModelRailway.Roads">
        <MappingFragment StoreEntitySet="Roads">
          <ScalarProperty Name="roadID" ColumnName="roadID" />
          <ScalarProperty Name="nameRoad" ColumnName="nameRoad" />
          <ScalarProperty Name="typeRoad" ColumnName="typeRoad" />
          <ScalarProperty Name="categoryQuality" ColumnName="categoryQuality" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Stations">
      <EntityTypeMapping TypeName="ModelRailway.Stations">
        <MappingFragment StoreEntitySet="Stations">
          <ScalarProperty Name="stationID" ColumnName="stationID" />
          <ScalarProperty Name="nameStation" ColumnName="nameStation" />
          <ScalarProperty Name="image" ColumnName="image" />
          <ScalarProperty Name="overheadTransition" ColumnName="overheadTransition" />
          <ScalarProperty Name="location" ColumnName="location" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="TypeStation">
      <EntityTypeMapping TypeName="ModelRailway.TypeStation">
        <MappingFragment StoreEntitySet="TypeStation">
          <ScalarProperty Name="typeStationID" ColumnName="typeStationID" />
          <ScalarProperty Name="nameTypeStation" ColumnName="nameTypeStation" />
          <ScalarProperty Name="passagerService" ColumnName="passagerService" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="AuthorizationTable">
      <EntityTypeMapping TypeName="ModelRailway.AuthorizationTable">
        <MappingFragment StoreEntitySet="AuthorizationTable">
          <ScalarProperty Name="login" ColumnName="login" />
          <ScalarProperty Name="password" ColumnName="password" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <AssociationSetMapping Name="FK_Stations" TypeName="ModelRailway.FK_Stations" StoreEntitySet="Stations">
      <EndProperty Name="TypeStation">
        <ScalarProperty Name="typeStationID" ColumnName="typeStationID" />
      </EndProperty>
      <EndProperty Name="Stations">
        <ScalarProperty Name="stationID" ColumnName="stationID" />
      </EndProperty>
    </AssociationSetMapping>
    <AssociationSetMapping Name="Stations_Roads" TypeName="ModelRailway.Stations_Roads" StoreEntitySet="Stations_Roads">
      <EndProperty Name="Stations">
        <ScalarProperty Name="stationID" ColumnName="stationID" />
      </EndProperty>
      <EndProperty Name="Roads">
        <ScalarProperty Name="roadID" ColumnName="roadID" />
      </EndProperty>
    </AssociationSetMapping>
  </EntityContainerMapping>
</Mapping>