123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551 |
- <?xml version="1.0" encoding="utf-8"?>
- <edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
- <!-- EF Runtime content -->
- <edmx:Runtime>
- <!-- SSDL content -->
- <edmx:StorageModels>
- <Schema Namespace="Хранилище KinomaksModel" 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="Films">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Title" Type="nvarchar" MaxLength="150" Nullable="false" />
- <Property Name="Descripton" Type="nvarchar(max)" />
- <Property Name="Logo" Type="image" />
- </EntityType>
- <EntityType Name="FilmTimetable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="IDFilm" Type="int" Nullable="false" />
- <Property Name="IDTimeTable" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="Hall">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Number" Type="int" Nullable="false" />
- <Property Name="CountOfSeats" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="HallTimetable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="IDHall" Type="int" Nullable="false" />
- <Property Name="IDTimetable" Type="int" Nullable="false" />
- <Property Name="IDPlace" Type="int" Nullable="false" />
- <Property Name="IDUser" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="Places">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Number" Type="int" Nullable="false" />
- <Property Name="IDHall" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="Roles">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="RoleName" 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="Timetable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Time" Type="datetime" Nullable="false" />
- </EntityType>
- <EntityType Name="Users">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Login" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="Password" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="SecondName" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="FirstName" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="MiddleName" Type="nvarchar" MaxLength="50" />
- <Property Name="Email" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="IDRole" Type="int" Nullable="false" />
- </EntityType>
- <Association Name="FK_FilmTimetable_Films">
- <End Role="Films" Type="Self.Films" Multiplicity="1" />
- <End Role="FilmTimetable" Type="Self.FilmTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Films">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="FilmTimetable">
- <PropertyRef Name="IDFilm" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_FilmTimetable_Timetable">
- <End Role="Timetable" Type="Self.Timetable" Multiplicity="1" />
- <End Role="FilmTimetable" Type="Self.FilmTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Timetable">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="FilmTimetable">
- <PropertyRef Name="IDTimeTable" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_HallTimetable_Hall">
- <End Role="Hall" Type="Self.Hall" Multiplicity="1" />
- <End Role="HallTimetable" Type="Self.HallTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Hall">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="HallTimetable">
- <PropertyRef Name="IDHall" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_HallTimetable_Timetable">
- <End Role="Timetable" Type="Self.Timetable" Multiplicity="1" />
- <End Role="HallTimetable" Type="Self.HallTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Timetable">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="HallTimetable">
- <PropertyRef Name="IDTimetable" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_HallTimetable_Users">
- <End Role="Users" Type="Self.Users" Multiplicity="1" />
- <End Role="HallTimetable" Type="Self.HallTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Users">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="HallTimetable">
- <PropertyRef Name="IDUser" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Places_Hall">
- <End Role="Hall" Type="Self.Hall" Multiplicity="1" />
- <End Role="Places" Type="Self.Places" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Hall">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Places">
- <PropertyRef Name="IDHall" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Users_Roles">
- <End Role="Roles" Type="Self.Roles" Multiplicity="1" />
- <End Role="Users" Type="Self.Users" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Roles">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Users">
- <PropertyRef Name="IDRole" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище KinomaksModelContainer">
- <EntitySet Name="Films" EntityType="Self.Films" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="FilmTimetable" EntityType="Self.FilmTimetable" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Hall" EntityType="Self.Hall" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="HallTimetable" EntityType="Self.HallTimetable" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Places" EntityType="Self.Places" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Roles" EntityType="Self.Roles" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Timetable" EntityType="Self.Timetable" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_FilmTimetable_Films" Association="Self.FK_FilmTimetable_Films">
- <End Role="Films" EntitySet="Films" />
- <End Role="FilmTimetable" EntitySet="FilmTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_FilmTimetable_Timetable" Association="Self.FK_FilmTimetable_Timetable">
- <End Role="Timetable" EntitySet="Timetable" />
- <End Role="FilmTimetable" EntitySet="FilmTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_HallTimetable_Hall" Association="Self.FK_HallTimetable_Hall">
- <End Role="Hall" EntitySet="Hall" />
- <End Role="HallTimetable" EntitySet="HallTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_HallTimetable_Timetable" Association="Self.FK_HallTimetable_Timetable">
- <End Role="Timetable" EntitySet="Timetable" />
- <End Role="HallTimetable" EntitySet="HallTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_HallTimetable_Users" Association="Self.FK_HallTimetable_Users">
- <End Role="Users" EntitySet="Users" />
- <End Role="HallTimetable" EntitySet="HallTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_Places_Hall" Association="Self.FK_Places_Hall">
- <End Role="Hall" EntitySet="Hall" />
- <End Role="Places" EntitySet="Places" />
- </AssociationSet>
- <AssociationSet Name="FK_Users_Roles" Association="Self.FK_Users_Roles">
- <End Role="Roles" EntitySet="Roles" />
- <End Role="Users" EntitySet="Users" />
- </AssociationSet>
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="KinomaksModel" 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="Films">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Title" Type="String" MaxLength="150" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Descripton" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Logo" Type="Binary" MaxLength="Max" FixedLength="false" />
- <NavigationProperty Name="FilmTimetable" Relationship="Self.FK_FilmTimetable_Films" FromRole="Films" ToRole="FilmTimetable" />
- </EntityType>
- <EntityType Name="FilmTimetable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IDFilm" Type="Int32" Nullable="false" />
- <Property Name="IDTimeTable" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Films" Relationship="Self.FK_FilmTimetable_Films" FromRole="FilmTimetable" ToRole="Films" />
- <NavigationProperty Name="Timetable" Relationship="Self.FK_FilmTimetable_Timetable" FromRole="FilmTimetable" ToRole="Timetable" />
- </EntityType>
- <EntityType Name="Hall">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Number" Type="Int32" Nullable="false" />
- <Property Name="CountOfSeats" Type="Int32" Nullable="false" />
- <NavigationProperty Name="HallTimetable" Relationship="Self.FK_HallTimetable_Hall" FromRole="Hall" ToRole="HallTimetable" />
- <NavigationProperty Name="Places" Relationship="Self.FK_Places_Hall" FromRole="Hall" ToRole="Places" />
- </EntityType>
- <EntityType Name="HallTimetable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IDHall" Type="Int32" Nullable="false" />
- <Property Name="IDTimetable" Type="Int32" Nullable="false" />
- <Property Name="IDPlace" Type="Int32" Nullable="false" />
- <Property Name="IDUser" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Hall" Relationship="Self.FK_HallTimetable_Hall" FromRole="HallTimetable" ToRole="Hall" />
- <NavigationProperty Name="Timetable" Relationship="Self.FK_HallTimetable_Timetable" FromRole="HallTimetable" ToRole="Timetable" />
- <NavigationProperty Name="Users" Relationship="Self.FK_HallTimetable_Users" FromRole="HallTimetable" ToRole="Users" />
- </EntityType>
- <EntityType Name="Places">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Number" Type="Int32" Nullable="false" />
- <Property Name="IDHall" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Hall" Relationship="Self.FK_Places_Hall" FromRole="Places" ToRole="Hall" />
- </EntityType>
- <EntityType Name="Roles">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="RoleName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <NavigationProperty Name="Users" Relationship="Self.FK_Users_Roles" FromRole="Roles" ToRole="Users" />
- </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="Timetable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Time" Type="DateTime" Nullable="false" Precision="3" />
- <NavigationProperty Name="FilmTimetable" Relationship="Self.FK_FilmTimetable_Timetable" FromRole="Timetable" ToRole="FilmTimetable" />
- <NavigationProperty Name="HallTimetable" Relationship="Self.FK_HallTimetable_Timetable" FromRole="Timetable" ToRole="HallTimetable" />
- </EntityType>
- <EntityType Name="Users">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Login" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="Password" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="SecondName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="FirstName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="MiddleName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Email" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="IDRole" Type="Int32" Nullable="false" />
- <NavigationProperty Name="HallTimetable" Relationship="Self.FK_HallTimetable_Users" FromRole="Users" ToRole="HallTimetable" />
- <NavigationProperty Name="Roles" Relationship="Self.FK_Users_Roles" FromRole="Users" ToRole="Roles" />
- </EntityType>
- <Association Name="FK_FilmTimetable_Films">
- <End Role="Films" Type="Self.Films" Multiplicity="1" />
- <End Role="FilmTimetable" Type="Self.FilmTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Films">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="FilmTimetable">
- <PropertyRef Name="IDFilm" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_FilmTimetable_Timetable">
- <End Role="Timetable" Type="Self.Timetable" Multiplicity="1" />
- <End Role="FilmTimetable" Type="Self.FilmTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Timetable">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="FilmTimetable">
- <PropertyRef Name="IDTimeTable" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_HallTimetable_Hall">
- <End Role="Hall" Type="Self.Hall" Multiplicity="1" />
- <End Role="HallTimetable" Type="Self.HallTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Hall">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="HallTimetable">
- <PropertyRef Name="IDHall" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Places_Hall">
- <End Role="Hall" Type="Self.Hall" Multiplicity="1" />
- <End Role="Places" Type="Self.Places" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Hall">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Places">
- <PropertyRef Name="IDHall" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_HallTimetable_Timetable">
- <End Role="Timetable" Type="Self.Timetable" Multiplicity="1" />
- <End Role="HallTimetable" Type="Self.HallTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Timetable">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="HallTimetable">
- <PropertyRef Name="IDTimetable" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_HallTimetable_Users">
- <End Role="Users" Type="Self.Users" Multiplicity="1" />
- <End Role="HallTimetable" Type="Self.HallTimetable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Users">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="HallTimetable">
- <PropertyRef Name="IDUser" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Users_Roles">
- <End Role="Roles" Type="Self.Roles" Multiplicity="1" />
- <End Role="Users" Type="Self.Users" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Roles">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Users">
- <PropertyRef Name="IDRole" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="KinomaksEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Films" EntityType="Self.Films" />
- <EntitySet Name="FilmTimetable" EntityType="Self.FilmTimetable" />
- <EntitySet Name="Hall" EntityType="Self.Hall" />
- <EntitySet Name="HallTimetable" EntityType="Self.HallTimetable" />
- <EntitySet Name="Places" EntityType="Self.Places" />
- <EntitySet Name="Roles" EntityType="Self.Roles" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
- <EntitySet Name="Timetable" EntityType="Self.Timetable" />
- <EntitySet Name="Users" EntityType="Self.Users" />
- <AssociationSet Name="FK_FilmTimetable_Films" Association="Self.FK_FilmTimetable_Films">
- <End Role="Films" EntitySet="Films" />
- <End Role="FilmTimetable" EntitySet="FilmTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_FilmTimetable_Timetable" Association="Self.FK_FilmTimetable_Timetable">
- <End Role="Timetable" EntitySet="Timetable" />
- <End Role="FilmTimetable" EntitySet="FilmTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_HallTimetable_Hall" Association="Self.FK_HallTimetable_Hall">
- <End Role="Hall" EntitySet="Hall" />
- <End Role="HallTimetable" EntitySet="HallTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_Places_Hall" Association="Self.FK_Places_Hall">
- <End Role="Hall" EntitySet="Hall" />
- <End Role="Places" EntitySet="Places" />
- </AssociationSet>
- <AssociationSet Name="FK_HallTimetable_Timetable" Association="Self.FK_HallTimetable_Timetable">
- <End Role="Timetable" EntitySet="Timetable" />
- <End Role="HallTimetable" EntitySet="HallTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_HallTimetable_Users" Association="Self.FK_HallTimetable_Users">
- <End Role="Users" EntitySet="Users" />
- <End Role="HallTimetable" EntitySet="HallTimetable" />
- </AssociationSet>
- <AssociationSet Name="FK_Users_Roles" Association="Self.FK_Users_Roles">
- <End Role="Roles" EntitySet="Roles" />
- <End Role="Users" EntitySet="Users" />
- </AssociationSet>
- </EntityContainer>
- </Schema>
- </edmx:ConceptualModels>
- <!-- C-S mapping content -->
- <edmx:Mappings>
- <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
- <EntityContainerMapping StorageEntityContainer="Хранилище KinomaksModelContainer" CdmEntityContainer="KinomaksEntities">
- <EntitySetMapping Name="Films">
- <EntityTypeMapping TypeName="KinomaksModel.Films">
- <MappingFragment StoreEntitySet="Films">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Title" ColumnName="Title" />
- <ScalarProperty Name="Descripton" ColumnName="Descripton" />
- <ScalarProperty Name="Logo" ColumnName="Logo" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="FilmTimetable">
- <EntityTypeMapping TypeName="KinomaksModel.FilmTimetable">
- <MappingFragment StoreEntitySet="FilmTimetable">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="IDFilm" ColumnName="IDFilm" />
- <ScalarProperty Name="IDTimeTable" ColumnName="IDTimeTable" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Hall">
- <EntityTypeMapping TypeName="KinomaksModel.Hall">
- <MappingFragment StoreEntitySet="Hall">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Number" ColumnName="Number" />
- <ScalarProperty Name="CountOfSeats" ColumnName="CountOfSeats" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="HallTimetable">
- <EntityTypeMapping TypeName="KinomaksModel.HallTimetable">
- <MappingFragment StoreEntitySet="HallTimetable">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="IDHall" ColumnName="IDHall" />
- <ScalarProperty Name="IDTimetable" ColumnName="IDTimetable" />
- <ScalarProperty Name="IDPlace" ColumnName="IDPlace" />
- <ScalarProperty Name="IDUser" ColumnName="IDUser" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Places">
- <EntityTypeMapping TypeName="KinomaksModel.Places">
- <MappingFragment StoreEntitySet="Places">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Number" ColumnName="Number" />
- <ScalarProperty Name="IDHall" ColumnName="IDHall" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Roles">
- <EntityTypeMapping TypeName="KinomaksModel.Roles">
- <MappingFragment StoreEntitySet="Roles">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="RoleName" ColumnName="RoleName" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="sysdiagrams">
- <EntityTypeMapping TypeName="KinomaksModel.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="Timetable">
- <EntityTypeMapping TypeName="KinomaksModel.Timetable">
- <MappingFragment StoreEntitySet="Timetable">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Time" ColumnName="Time" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Users">
- <EntityTypeMapping TypeName="KinomaksModel.Users">
- <MappingFragment StoreEntitySet="Users">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Login" ColumnName="Login" />
- <ScalarProperty Name="Password" ColumnName="Password" />
- <ScalarProperty Name="SecondName" ColumnName="SecondName" />
- <ScalarProperty Name="FirstName" ColumnName="FirstName" />
- <ScalarProperty Name="MiddleName" ColumnName="MiddleName" />
- <ScalarProperty Name="Email" ColumnName="Email" />
- <ScalarProperty Name="IDRole" ColumnName="IDRole" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- </EntityContainerMapping>
- </Mapping>
- </edmx:Mappings>
- </edmx:Runtime>
- <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
- <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
- <Connection>
- <DesignerInfoPropertySet>
- <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
- </DesignerInfoPropertySet>
- </Connection>
- <Options>
- <DesignerInfoPropertySet>
- <DesignerProperty Name="ValidateOnBuild" Value="true" />
- <DesignerProperty Name="EnablePluralization" Value="false" />
- <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
- <DesignerProperty Name="UseLegacyProvider" Value="false" />
- <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
- </DesignerInfoPropertySet>
- </Options>
- <!-- Diagram content (shape and connector positions) -->
- <Diagrams></Diagrams>
- </Designer>
- </edmx:Edmx>
|