/
Bene_Berg
/
SchoolLibraryLite
Обзор
Документация
Войти
/
Bene_Berg
/
SchoolLibraryLite
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
SchoolLibrary/Model/SchoolLibraryModel.edmx
489 строк
26 KB
Benedict
Версия 0.9
08 июн 2025, 14:00
08 июн 2025, 14:00
55f21bd
Код
Авторство
О чём код?
<?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="Хранилище SchoolLibraryModel" 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="Authors"> <Key> <PropertyRef Name="AuthorID" /> </Key> <Property Name="AuthorID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" /> <Property Name="FullName" Type="nvarchar" MaxLength="255" Nullable="false" /> </EntityType> <EntityType Name="Books"> <Key> <PropertyRef Name="BookID" /> </Key> <Property Name="BookID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" /> <Property Name="ISBN" Type="nvarchar" MaxLength="20" Nullable="false" /> <Property Name="Title" Type="nvarchar" MaxLength="255" Nullable="false" /> <Property Name="AuthorID" Type="int" Nullable="false" /> <Property Name="GenreID" Type="int" Nullable="false" /> <Property Name="Year" Type="int" /> <Property Name="Publisher" Type="nvarchar" MaxLength="255" /> <Property Name="TotalCopies" Type="int" Nullable="false" /> <Property Name="CoverImage" Type="varbinary(max)" /> </EntityType> <EntityType Name="Borrowing"> <Key> <PropertyRef Name="BorrowID" /> </Key> <Property Name="BorrowID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" /> <Property Name="ReaderID" Type="int" Nullable="false" /> <Property Name="BookID" Type="int" Nullable="false" /> <Property Name="BorrowDate" Type="date" Nullable="false" /> <Property Name="DueDate" Type="date" Nullable="false" /> <Property Name="ReturnDate" Type="date" /> </EntityType> <EntityType Name="Classes"> <Key> <PropertyRef Name="ClassID" /> </Key> <Property Name="ClassID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" /> <Property Name="ClassName" Type="nvarchar" MaxLength="50" Nullable="false" /> </EntityType> <EntityType Name="Genres"> <Key> <PropertyRef Name="GenreID" /> </Key> <Property Name="GenreID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" /> <Property Name="Name" Type="nvarchar" MaxLength="100" Nullable="false" /> </EntityType> <EntityType Name="Readers"> <Key> <PropertyRef Name="ReaderID" /> </Key> <Property Name="ReaderID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" /> <Property Name="FullName" Type="nvarchar" MaxLength="255" Nullable="false" /> <Property Name="Address" Type="nvarchar" MaxLength="255" /> <Property Name="Phone" Type="nvarchar" MaxLength="20" /> <Property Name="Email" Type="nvarchar" MaxLength="100" /> <Property Name="ClassID" Type="int" /> <Property Name="UserTypeID" Type="int" /> </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="UserTypes"> <Key> <PropertyRef Name="UserTypeID" /> </Key> <Property Name="UserTypeID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" /> <Property Name="TypeName" Type="nvarchar" MaxLength="50" Nullable="false" /> </EntityType> <Association Name="FK_Books_Authors"> <End Role="Authors" Type="Self.Authors" Multiplicity="1" /> <End Role="Books" Type="Self.Books" Multiplicity="*" /> <ReferentialConstraint> <Principal Role="Authors"> <PropertyRef Name="AuthorID" /> </Principal> <Dependent Role="Books"> <PropertyRef Name="AuthorID" /> </Dependent> </ReferentialConstraint> </Association> <Association Name="FK_Books_Genres"> <End Role="Genres" Type="Self.Genres" Multiplicity="1" /> <End Role="Books" Type="Self.Books" Multiplicity="*" /> <ReferentialConstraint> <Principal Role="Genres"> <PropertyRef Name="GenreID" /> </Principal> <Dependent Role="Books"> <PropertyRef Name="GenreID" /> </Dependent> </ReferentialConstraint> </Association> <Association Name="FK_Borrowing_Books"> <End Role="Books" Type="Self.Books" Multiplicity="1" /> <End Role="Borrowing" Type="Self.Borrowing" Multiplicity="*" /> <ReferentialConstraint> <Principal Role="Books"> <PropertyRef Name="BookID" /> </Principal> <Dependent Role="Borrowing"> <PropertyRef Name="BookID" /> </Dependent> </ReferentialConstraint> </Association> <Association Name="FK_Borrowing_Readers"> <End Role="Readers" Type="Self.Readers" Multiplicity="1" /> <End Role="Borrowing" Type="Self.Borrowing" Multiplicity="*" /> <ReferentialConstraint> <Principal Role="Readers"> <PropertyRef Name="ReaderID" /> </Principal> <Dependent Role="Borrowing"> <PropertyRef Name="ReaderID" /> </Dependent> </ReferentialConstraint> </Association> <Association Name="FK_Readers_Classes"> <End Role="Classes" Type="Self.Classes" Multiplicity="0..1" /> <End Role="Readers" Type="Self.Readers" Multiplicity="*" /> <ReferentialConstraint> <Principal Role="Classes"> <PropertyRef Name="ClassID" /> </Principal> <Dependent Role="Readers"> <PropertyRef Name="ClassID" /> </Dependent> </ReferentialConstraint> </Association> <Association Name="FK_Readers_UserTypes"> <End Role="UserTypes" Type="Self.UserTypes" Multiplicity="0..1" /> <End Role="Readers" Type="Self.Readers" Multiplicity="*" /> <ReferentialConstraint> <Principal Role="UserTypes"> <PropertyRef Name="UserTypeID" /> </Principal> <Dependent Role="Readers"> <PropertyRef Name="UserTypeID" /> </Dependent> </ReferentialConstraint> </Association> <EntityContainer Name="Хранилище SchoolLibraryModelContainer"> <EntitySet Name="Authors" EntityType="Self.Authors" Schema="dbo" store:Type="Tables" /> <EntitySet Name="Books" EntityType="Self.Books" Schema="dbo" store:Type="Tables" /> <EntitySet Name="Borrowing" EntityType="Self.Borrowing" Schema="dbo" store:Type="Tables" /> <EntitySet Name="Classes" EntityType="Self.Classes" Schema="dbo" store:Type="Tables" /> <EntitySet Name="Genres" EntityType="Self.Genres" Schema="dbo" store:Type="Tables" /> <EntitySet Name="Readers" EntityType="Self.Readers" Schema="dbo" store:Type="Tables" /> <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" /> <EntitySet Name="UserTypes" EntityType="Self.UserTypes" Schema="dbo" store:Type="Tables" /> <AssociationSet Name="FK_Books_Authors" Association="Self.FK_Books_Authors"> <End Role="Authors" EntitySet="Authors" /> <End Role="Books" EntitySet="Books" /> </AssociationSet> <AssociationSet Name="FK_Books_Genres" Association="Self.FK_Books_Genres"> <End Role="Genres" EntitySet="Genres" /> <End Role="Books" EntitySet="Books" /> </AssociationSet> <AssociationSet Name="FK_Borrowing_Books" Association="Self.FK_Borrowing_Books"> <End Role="Books" EntitySet="Books" /> <End Role="Borrowing" EntitySet="Borrowing" /> </AssociationSet> <AssociationSet Name="FK_Borrowing_Readers" Association="Self.FK_Borrowing_Readers"> <End Role="Readers" EntitySet="Readers" /> <End Role="Borrowing" EntitySet="Borrowing" /> </AssociationSet> <AssociationSet Name="FK_Readers_Classes" Association="Self.FK_Readers_Classes"> <End Role="Classes" EntitySet="Classes" /> <End Role="Readers" EntitySet="Readers" /> </AssociationSet> <AssociationSet Name="FK_Readers_UserTypes" Association="Self.FK_Readers_UserTypes"> <End Role="UserTypes" EntitySet="UserTypes" /> <End Role="Readers" EntitySet="Readers" /> </AssociationSet> </EntityContainer> </Schema> </edmx:StorageModels> <!-- CSDL content --> <edmx:ConceptualModels> <Schema Namespace="SchoolLibraryModel" 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="Author"> <Key> <PropertyRef Name="AuthorID" /> </Key> <Property Name="AuthorID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="FullName" Type="String" MaxLength="255" FixedLength="false" Unicode="true" Nullable="false" /> <NavigationProperty Name="Books" Relationship="Self.FK_Books_Authors" FromRole="Authors" ToRole="Books" /> </EntityType> <EntityType Name="Book"> <Key> <PropertyRef Name="BookID" /> </Key> <Property Name="BookID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="ISBN" Type="String" MaxLength="20" FixedLength="false" Unicode="true" Nullable="false" /> <Property Name="Title" Type="String" MaxLength="255" FixedLength="false" Unicode="true" Nullable="false" /> <Property Name="Year" Type="Int32" /> <Property Name="Publisher" Type="String" MaxLength="255" FixedLength="false" Unicode="true" /> <Property Name="TotalCopies" Type="Int32" Nullable="false" /> <Property Name="CoverImage" Type="Binary" MaxLength="Max" FixedLength="false" /> <NavigationProperty Name="Author" Relationship="Self.FK_Books_Authors" FromRole="Books" ToRole="Authors" /> <NavigationProperty Name="Genre" Relationship="Self.FK_Books_Genres" FromRole="Books" ToRole="Genres" /> <NavigationProperty Name="Borrowings" Relationship="Self.FK_Borrowing_Books" FromRole="Books" ToRole="Borrowing" /> </EntityType> <EntityType Name="Borrowing"> <Key> <PropertyRef Name="BorrowID" /> </Key> <Property Name="BorrowID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="BorrowDate" Type="DateTime" Nullable="false" Precision="0" /> <Property Name="DueDate" Type="DateTime" Nullable="false" Precision="0" /> <Property Name="ReturnDate" Type="DateTime" Precision="0" /> <NavigationProperty Name="Book" Relationship="Self.FK_Borrowing_Books" FromRole="Borrowing" ToRole="Books" /> <NavigationProperty Name="Reader" Relationship="Self.FK_Borrowing_Readers" FromRole="Borrowing" ToRole="Readers" /> </EntityType> <EntityType Name="Class"> <Key> <PropertyRef Name="ClassID" /> </Key> <Property Name="ClassID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="ClassName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" /> <NavigationProperty Name="Readers" Relationship="Self.FK_Readers_Classes" FromRole="Classes" ToRole="Readers" /> </EntityType> <EntityType Name="Genre"> <Key> <PropertyRef Name="GenreID" /> </Key> <Property Name="GenreID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" /> <NavigationProperty Name="Books" Relationship="Self.FK_Books_Genres" FromRole="Genres" ToRole="Books" /> </EntityType> <EntityType Name="Reader"> <Key> <PropertyRef Name="ReaderID" /> </Key> <Property Name="ReaderID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="FullName" Type="String" MaxLength="255" FixedLength="false" Unicode="true" Nullable="false" /> <Property Name="Address" Type="String" MaxLength="255" FixedLength="false" Unicode="true" /> <Property Name="Phone" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="Email" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <NavigationProperty Name="Borrowings" Relationship="Self.FK_Borrowing_Readers" FromRole="Readers" ToRole="Borrowing" /> <NavigationProperty Name="Class" Relationship="Self.FK_Readers_Classes" FromRole="Readers" ToRole="Classes" /> <NavigationProperty Name="UserType" Relationship="Self.FK_Readers_UserTypes" FromRole="Readers" ToRole="UserTypes" /> </EntityType> <EntityType Name="sysdiagram"> <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="UserType"> <Key> <PropertyRef Name="UserTypeID" /> </Key> <Property Name="UserTypeID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="TypeName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" /> <NavigationProperty Name="Readers" Relationship="Self.FK_Readers_UserTypes" FromRole="UserTypes" ToRole="Readers" /> </EntityType> <Association Name="FK_Books_Authors"> <End Role="Authors" Type="Self.Author" Multiplicity="1" /> <End Role="Books" Type="Self.Book" Multiplicity="*" /> </Association> <Association Name="FK_Books_Genres"> <End Role="Genres" Type="Self.Genre" Multiplicity="1" /> <End Role="Books" Type="Self.Book" Multiplicity="*" /> </Association> <Association Name="FK_Borrowing_Books"> <End Role="Books" Type="Self.Book" Multiplicity="1" /> <End Role="Borrowing" Type="Self.Borrowing" Multiplicity="*" /> </Association> <Association Name="FK_Borrowing_Readers"> <End Role="Readers" Type="Self.Reader" Multiplicity="1" /> <End Role="Borrowing" Type="Self.Borrowing" Multiplicity="*" /> </Association> <Association Name="FK_Readers_Classes"> <End Role="Classes" Type="Self.Class" Multiplicity="0..1" /> <End Role="Readers" Type="Self.Reader" Multiplicity="*" /> </Association> <Association Name="FK_Readers_UserTypes"> <End Role="UserTypes" Type="Self.UserType" Multiplicity="0..1" /> <End Role="Readers" Type="Self.Reader" Multiplicity="*" /> </Association> <EntityContainer Name="SchoolLibraryEntities" annotation:LazyLoadingEnabled="true"> <EntitySet Name="Authors" EntityType="Self.Author" /> <EntitySet Name="Books" EntityType="Self.Book" /> <EntitySet Name="Borrowings" EntityType="Self.Borrowing" /> <EntitySet Name="Classes" EntityType="Self.Class" /> <EntitySet Name="Genres" EntityType="Self.Genre" /> <EntitySet Name="Readers" EntityType="Self.Reader" /> <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagram" /> <EntitySet Name="UserTypes" EntityType="Self.UserType" /> <AssociationSet Name="FK_Books_Authors" Association="Self.FK_Books_Authors"> <End Role="Authors" EntitySet="Authors" /> <End Role="Books" EntitySet="Books" /> </AssociationSet> <AssociationSet Name="FK_Books_Genres" Association="Self.FK_Books_Genres"> <End Role="Genres" EntitySet="Genres" /> <End Role="Books" EntitySet="Books" /> </AssociationSet> <AssociationSet Name="FK_Borrowing_Books" Association="Self.FK_Borrowing_Books"> <End Role="Books" EntitySet="Books" /> <End Role="Borrowing" EntitySet="Borrowings" /> </AssociationSet> <AssociationSet Name="FK_Borrowing_Readers" Association="Self.FK_Borrowing_Readers"> <End Role="Readers" EntitySet="Readers" /> <End Role="Borrowing" EntitySet="Borrowings" /> </AssociationSet> <AssociationSet Name="FK_Readers_Classes" Association="Self.FK_Readers_Classes"> <End Role="Classes" EntitySet="Classes" /> <End Role="Readers" EntitySet="Readers" /> </AssociationSet> <AssociationSet Name="FK_Readers_UserTypes" Association="Self.FK_Readers_UserTypes"> <End Role="UserTypes" EntitySet="UserTypes" /> <End Role="Readers" EntitySet="Readers" /> </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="Хранилище SchoolLibraryModelContainer" CdmEntityContainer="SchoolLibraryEntities"> <EntitySetMapping Name="Authors"> <EntityTypeMapping TypeName="SchoolLibraryModel.Author"> <MappingFragment StoreEntitySet="Authors"> <ScalarProperty Name="AuthorID" ColumnName="AuthorID" /> <ScalarProperty Name="FullName" ColumnName="FullName" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="Books"> <EntityTypeMapping TypeName="SchoolLibraryModel.Book"> <MappingFragment StoreEntitySet="Books"> <ScalarProperty Name="BookID" ColumnName="BookID" /> <ScalarProperty Name="ISBN" ColumnName="ISBN" /> <ScalarProperty Name="Title" ColumnName="Title" /> <ScalarProperty Name="Year" ColumnName="Year" /> <ScalarProperty Name="Publisher" ColumnName="Publisher" /> <ScalarProperty Name="TotalCopies" ColumnName="TotalCopies" /> <ScalarProperty Name="CoverImage" ColumnName="CoverImage" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="Borrowings"> <EntityTypeMapping TypeName="SchoolLibraryModel.Borrowing"> <MappingFragment StoreEntitySet="Borrowing"> <ScalarProperty Name="BorrowID" ColumnName="BorrowID" /> <ScalarProperty Name="BorrowDate" ColumnName="BorrowDate" /> <ScalarProperty Name="DueDate" ColumnName="DueDate" /> <ScalarProperty Name="ReturnDate" ColumnName="ReturnDate" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="Classes"> <EntityTypeMapping TypeName="SchoolLibraryModel.Class"> <MappingFragment StoreEntitySet="Classes"> <ScalarProperty Name="ClassID" ColumnName="ClassID" /> <ScalarProperty Name="ClassName" ColumnName="ClassName" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="Genres"> <EntityTypeMapping TypeName="SchoolLibraryModel.Genre"> <MappingFragment StoreEntitySet="Genres"> <ScalarProperty Name="GenreID" ColumnName="GenreID" /> <ScalarProperty Name="Name" ColumnName="Name" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="Readers"> <EntityTypeMapping TypeName="SchoolLibraryModel.Reader"> <MappingFragment StoreEntitySet="Readers"> <ScalarProperty Name="ReaderID" ColumnName="ReaderID" /> <ScalarProperty Name="FullName" ColumnName="FullName" /> <ScalarProperty Name="Address" ColumnName="Address" /> <ScalarProperty Name="Phone" ColumnName="Phone" /> <ScalarProperty Name="Email" ColumnName="Email" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="sysdiagrams"> <EntityTypeMapping TypeName="SchoolLibraryModel.sysdiagram"> <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="UserTypes"> <EntityTypeMapping TypeName="SchoolLibraryModel.UserType"> <MappingFragment StoreEntitySet="UserTypes"> <ScalarProperty Name="UserTypeID" ColumnName="UserTypeID" /> <ScalarProperty Name="TypeName" ColumnName="TypeName" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <AssociationSetMapping Name="FK_Books_Authors" TypeName="SchoolLibraryModel.FK_Books_Authors" StoreEntitySet="Books"> <EndProperty Name="Authors"> <ScalarProperty Name="AuthorID" ColumnName="AuthorID" /> </EndProperty> <EndProperty Name="Books"> <ScalarProperty Name="BookID" ColumnName="BookID" /> </EndProperty> </AssociationSetMapping> <AssociationSetMapping Name="FK_Books_Genres" TypeName="SchoolLibraryModel.FK_Books_Genres" StoreEntitySet="Books"> <EndProperty Name="Genres"> <ScalarProperty Name="GenreID" ColumnName="GenreID" /> </EndProperty> <EndProperty Name="Books"> <ScalarProperty Name="BookID" ColumnName="BookID" /> </EndProperty> </AssociationSetMapping> <AssociationSetMapping Name="FK_Borrowing_Books" TypeName="SchoolLibraryModel.FK_Borrowing_Books" StoreEntitySet="Borrowing"> <EndProperty Name="Books"> <ScalarProperty Name="BookID" ColumnName="BookID" /> </EndProperty> <EndProperty Name="Borrowing"> <ScalarProperty Name="BorrowID" ColumnName="BorrowID" /> </EndProperty> </AssociationSetMapping> <AssociationSetMapping Name="FK_Borrowing_Readers" TypeName="SchoolLibraryModel.FK_Borrowing_Readers" StoreEntitySet="Borrowing"> <EndProperty Name="Readers"> <ScalarProperty Name="ReaderID" ColumnName="ReaderID" /> </EndProperty> <EndProperty Name="Borrowing"> <ScalarProperty Name="BorrowID" ColumnName="BorrowID" /> </EndProperty> </AssociationSetMapping> <AssociationSetMapping Name="FK_Readers_Classes" TypeName="SchoolLibraryModel.FK_Readers_Classes" StoreEntitySet="Readers"> <EndProperty Name="Classes"> <ScalarProperty Name="ClassID" ColumnName="ClassID" /> </EndProperty> <EndProperty Name="Readers"> <ScalarProperty Name="ReaderID" ColumnName="ReaderID" /> </EndProperty> <Condition IsNull="false" ColumnName="ClassID" /> </AssociationSetMapping> <AssociationSetMapping Name="FK_Readers_UserTypes" TypeName="SchoolLibraryModel.FK_Readers_UserTypes" StoreEntitySet="Readers"> <EndProperty Name="UserTypes"> <ScalarProperty Name="UserTypeID" ColumnName="UserTypeID" /> </EndProperty> <EndProperty Name="Readers"> <ScalarProperty Name="ReaderID" ColumnName="ReaderID" /> </EndProperty> <Condition IsNull="false" ColumnName="UserTypeID" /> </AssociationSetMapping> </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="true" /> <DesignerProperty Name="IncludeForeignKeysInModel" Value="false" /> <DesignerProperty Name="UseLegacyProvider" Value="false" /> <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" /> </DesignerInfoPropertySet> </Options> <!-- Diagram content (shape and connector positions) --> <Diagrams></Diagrams> </Designer> </edmx:Edmx>