123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378 |
- <?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="Хранилище Экзамен33ПАсташинModel" 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="Facultet">
- <Key>
- <PropertyRef Name="Kod_faculteta" />
- </Key>
- <Property Name="Kod_faculteta" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Facultet" Type="varchar(max)" Nullable="false" />
- <Property Name="Surname_faculteta" Type="varchar" MaxLength="50" />
- <Property Name="Name_faculteta" Type="varchar" MaxLength="50" />
- <Property Name="Patronymic_faculteta" Type="varchar" MaxLength="50" />
- <Property Name="Nomer_komnatu" Type="varchar" MaxLength="50" />
- <Property Name="Tel_decanata" Type="bigint" />
- </EntityType>
- <EntityType Name="Kafedra">
- <Key>
- <PropertyRef Name="Kod_kafedru" />
- </Key>
- <Property Name="Kod_kafedru" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Kod_faculteta" Type="int" Nullable="false" />
- <Property Name="Name_kafedru" Type="varchar" MaxLength="50" />
- <Property Name="Name_ZavKaf" Type="varchar" MaxLength="50" />
- <Property Name="Surname_ZavKaf" Type="varchar" MaxLength="50" />
- <Property Name="Parnonymic_ZavKaf" Type="varchar" MaxLength="50" />
- <Property Name="Nomer_komnatu" Type="int" />
- <Property Name="Nomer_korpusa" Type="int" />
- <Property Name="Tel_kafedru" Type="varchar" MaxLength="50" />
- </EntityType>
- <!--Ошибки, обнаруженные при создании:
- предупреждение 6002: В таблице или представлении "Экзамен33ПАсташин.dbo.Student" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
- <EntityType Name="Student">
- <Key>
- <PropertyRef Name="id_student" />
- <PropertyRef Name="Sutfname" />
- <PropertyRef Name="Sutname" />
- <PropertyRef Name="Kod_kafedru" />
- </Key>
- <Property Name="id_student" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Sutfname" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="Sutname" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="Stipend" Type="int" />
- <Property Name="Kurs" Type="int" />
- <Property Name="City" Type="varchar" MaxLength="50" />
- <Property Name="Birtday" Type="datetime" />
- <Property Name="Group" Type="varchar" MaxLength="50" />
- <Property Name="Kod_kafedru" Type="int" Nullable="false" />
- </EntityType>
- <!--Ошибки, обнаруженные при создании:
- предупреждение 6002: В таблице или представлении "Экзамен33ПАсташин.dbo.Teacher" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
- <EntityType Name="Teacher">
- <Key>
- <PropertyRef Name="Kod_teacher" />
- <PropertyRef Name="Kod_kafedru" />
- </Key>
- <Property Name="Kod_teacher" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Kod_kafedru" Type="int" Nullable="false" />
- <Property Name="Name_teacher" Type="varchar" MaxLength="50" />
- <Property Name="Surname_teacher" Type="varchar" MaxLength="50" />
- <Property Name="Patronymic_teacher" Type="varchar" MaxLength="50" />
- <Property Name="idenf_kod" Type="int" />
- <Property Name="dolgnost" Type="varchar" MaxLength="50" />
- <Property Name="zvanie" Type="varchar" MaxLength="50" />
- <Property Name="salary" Type="money" />
- <Property Name="rise" Type="money" />
- <Property Name="data_hire" Type="date" />
- <Property Name="birdhdate" Type="date" />
- <Property Name="pol" Type="nchar" MaxLength="10" />
- <Property Name="tel_teacher" Type="int" />
- </EntityType>
- <Association Name="FK_Kafedra_Facultet">
- <End Role="Facultet" Type="Self.Facultet" Multiplicity="1" />
- <End Role="Kafedra" Type="Self.Kafedra" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Facultet">
- <PropertyRef Name="Kod_faculteta" />
- </Principal>
- <Dependent Role="Kafedra">
- <PropertyRef Name="Kod_faculteta" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Student_Kafedra">
- <End Role="Kafedra" Type="Self.Kafedra" Multiplicity="1" />
- <End Role="Student" Type="Self.Student" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Kafedra">
- <PropertyRef Name="Kod_kafedru" />
- </Principal>
- <Dependent Role="Student">
- <PropertyRef Name="Kod_kafedru" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Teacher_Kafedra">
- <End Role="Kafedra" Type="Self.Kafedra" Multiplicity="1" />
- <End Role="Teacher" Type="Self.Teacher" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Kafedra">
- <PropertyRef Name="Kod_kafedru" />
- </Principal>
- <Dependent Role="Teacher">
- <PropertyRef Name="Kod_kafedru" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище Экзамен33ПАсташинModelContainer">
- <EntitySet Name="Facultet" EntityType="Self.Facultet" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Kafedra" EntityType="Self.Kafedra" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Student" EntityType="Self.Student" store:Type="Tables" store:Schema="dbo">
- <DefiningQuery>SELECT
- [Student].[id_student] AS [id_student],
- [Student].[Sutfname] AS [Sutfname],
- [Student].[Sutname] AS [Sutname],
- [Student].[Stipend] AS [Stipend],
- [Student].[Kurs] AS [Kurs],
- [Student].[City] AS [City],
- [Student].[Birtday] AS [Birtday],
- [Student].[Group] AS [Group],
- [Student].[Kod_kafedru] AS [Kod_kafedru]
- FROM [dbo].[Student] AS [Student]</DefiningQuery>
- </EntitySet>
- <EntitySet Name="Teacher" EntityType="Self.Teacher" store:Type="Tables" store:Schema="dbo">
- <DefiningQuery>SELECT
- [Teacher].[Kod_teacher] AS [Kod_teacher],
- [Teacher].[Kod_kafedru] AS [Kod_kafedru],
- [Teacher].[Name_teacher] AS [Name_teacher],
- [Teacher].[Surname_teacher] AS [Surname_teacher],
- [Teacher].[Patronymic_teacher] AS [Patronymic_teacher],
- [Teacher].[idenf_kod] AS [idenf_kod],
- [Teacher].[dolgnost] AS [dolgnost],
- [Teacher].[zvanie] AS [zvanie],
- [Teacher].[salary] AS [salary],
- [Teacher].[rise] AS [rise],
- [Teacher].[data_hire] AS [data_hire],
- [Teacher].[birdhdate] AS [birdhdate],
- [Teacher].[pol] AS [pol],
- [Teacher].[tel_teacher] AS [tel_teacher]
- FROM [dbo].[Teacher] AS [Teacher]</DefiningQuery>
- </EntitySet>
- <AssociationSet Name="FK_Kafedra_Facultet" Association="Self.FK_Kafedra_Facultet">
- <End Role="Facultet" EntitySet="Facultet" />
- <End Role="Kafedra" EntitySet="Kafedra" />
- </AssociationSet>
- <AssociationSet Name="FK_Student_Kafedra" Association="Self.FK_Student_Kafedra">
- <End Role="Kafedra" EntitySet="Kafedra" />
- <End Role="Student" EntitySet="Student" />
- </AssociationSet>
- <AssociationSet Name="FK_Teacher_Kafedra" Association="Self.FK_Teacher_Kafedra">
- <End Role="Kafedra" EntitySet="Kafedra" />
- <End Role="Teacher" EntitySet="Teacher" />
- </AssociationSet>
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="Экзамен33ПАсташинModel" 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="Facultet">
- <Key>
- <PropertyRef Name="Kod_faculteta" />
- </Key>
- <Property Name="Kod_faculteta" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Facultet1" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="Surname_faculteta" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Name_faculteta" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Patronymic_faculteta" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Nomer_komnatu" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Tel_decanata" Type="Int64" />
- <NavigationProperty Name="Kafedra" Relationship="Self.FK_Kafedra_Facultet" FromRole="Facultet" ToRole="Kafedra" />
- </EntityType>
- <EntityType Name="Kafedra">
- <Key>
- <PropertyRef Name="Kod_kafedru" />
- </Key>
- <Property Name="Kod_kafedru" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Kod_faculteta" Type="Int32" Nullable="false" />
- <Property Name="Name_kafedru" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Name_ZavKaf" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Surname_ZavKaf" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Parnonymic_ZavKaf" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Nomer_komnatu" Type="Int32" />
- <Property Name="Nomer_korpusa" Type="Int32" />
- <Property Name="Tel_kafedru" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="Facultet" Relationship="Self.FK_Kafedra_Facultet" FromRole="Kafedra" ToRole="Facultet" />
- <NavigationProperty Name="Student" Relationship="Self.FK_Student_Kafedra" FromRole="Kafedra" ToRole="Student" />
- <NavigationProperty Name="Teacher" Relationship="Self.FK_Teacher_Kafedra" FromRole="Kafedra" ToRole="Teacher" />
- </EntityType>
- <EntityType Name="Student">
- <Key>
- <PropertyRef Name="id_student" />
- <PropertyRef Name="Sutfname" />
- <PropertyRef Name="Sutname" />
- <PropertyRef Name="Kod_kafedru" />
- </Key>
- <Property Name="id_student" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Sutfname" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="Sutname" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="Stipend" Type="Int32" />
- <Property Name="Kurs" Type="Int32" />
- <Property Name="City" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Birtday" Type="DateTime" Precision="3" />
- <Property Name="Group" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Kod_kafedru" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Kafedra" Relationship="Self.FK_Student_Kafedra" FromRole="Student" ToRole="Kafedra" />
- </EntityType>
- <EntityType Name="Teacher">
- <Key>
- <PropertyRef Name="Kod_teacher" />
- <PropertyRef Name="Kod_kafedru" />
- </Key>
- <Property Name="Kod_teacher" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Kod_kafedru" Type="Int32" Nullable="false" />
- <Property Name="Name_teacher" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Surname_teacher" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Patronymic_teacher" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="idenf_kod" Type="Int32" />
- <Property Name="dolgnost" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="zvanie" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="salary" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="rise" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="data_hire" Type="DateTime" Precision="0" />
- <Property Name="birdhdate" Type="DateTime" Precision="0" />
- <Property Name="pol" Type="String" MaxLength="10" FixedLength="true" Unicode="true" />
- <Property Name="tel_teacher" Type="Int32" />
- <NavigationProperty Name="Kafedra" Relationship="Self.FK_Teacher_Kafedra" FromRole="Teacher" ToRole="Kafedra" />
- </EntityType>
- <Association Name="FK_Kafedra_Facultet">
- <End Role="Facultet" Type="Self.Facultet" Multiplicity="1" />
- <End Role="Kafedra" Type="Self.Kafedra" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Facultet">
- <PropertyRef Name="Kod_faculteta" />
- </Principal>
- <Dependent Role="Kafedra">
- <PropertyRef Name="Kod_faculteta" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Student_Kafedra">
- <End Role="Kafedra" Type="Self.Kafedra" Multiplicity="1" />
- <End Role="Student" Type="Self.Student" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Kafedra">
- <PropertyRef Name="Kod_kafedru" />
- </Principal>
- <Dependent Role="Student">
- <PropertyRef Name="Kod_kafedru" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Teacher_Kafedra">
- <End Role="Kafedra" Type="Self.Kafedra" Multiplicity="1" />
- <End Role="Teacher" Type="Self.Teacher" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Kafedra">
- <PropertyRef Name="Kod_kafedru" />
- </Principal>
- <Dependent Role="Teacher">
- <PropertyRef Name="Kod_kafedru" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Экзамен33ПАсташинEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Facultet" EntityType="Self.Facultet" />
- <EntitySet Name="Kafedra" EntityType="Self.Kafedra" />
- <EntitySet Name="Student" EntityType="Self.Student" />
- <EntitySet Name="Teacher" EntityType="Self.Teacher" />
- <AssociationSet Name="FK_Kafedra_Facultet" Association="Self.FK_Kafedra_Facultet">
- <End Role="Facultet" EntitySet="Facultet" />
- <End Role="Kafedra" EntitySet="Kafedra" />
- </AssociationSet>
- <AssociationSet Name="FK_Student_Kafedra" Association="Self.FK_Student_Kafedra">
- <End Role="Kafedra" EntitySet="Kafedra" />
- <End Role="Student" EntitySet="Student" />
- </AssociationSet>
- <AssociationSet Name="FK_Teacher_Kafedra" Association="Self.FK_Teacher_Kafedra">
- <End Role="Kafedra" EntitySet="Kafedra" />
- <End Role="Teacher" EntitySet="Teacher" />
- </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="Хранилище Экзамен33ПАсташинModelContainer" CdmEntityContainer="Экзамен33ПАсташинEntities">
- <EntitySetMapping Name="Facultet">
- <EntityTypeMapping TypeName="Экзамен33ПАсташинModel.Facultet">
- <MappingFragment StoreEntitySet="Facultet">
- <ScalarProperty Name="Kod_faculteta" ColumnName="Kod_faculteta" />
- <ScalarProperty Name="Facultet1" ColumnName="Facultet" />
- <ScalarProperty Name="Surname_faculteta" ColumnName="Surname_faculteta" />
- <ScalarProperty Name="Name_faculteta" ColumnName="Name_faculteta" />
- <ScalarProperty Name="Patronymic_faculteta" ColumnName="Patronymic_faculteta" />
- <ScalarProperty Name="Nomer_komnatu" ColumnName="Nomer_komnatu" />
- <ScalarProperty Name="Tel_decanata" ColumnName="Tel_decanata" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Kafedra">
- <EntityTypeMapping TypeName="Экзамен33ПАсташинModel.Kafedra">
- <MappingFragment StoreEntitySet="Kafedra">
- <ScalarProperty Name="Kod_kafedru" ColumnName="Kod_kafedru" />
- <ScalarProperty Name="Kod_faculteta" ColumnName="Kod_faculteta" />
- <ScalarProperty Name="Name_kafedru" ColumnName="Name_kafedru" />
- <ScalarProperty Name="Name_ZavKaf" ColumnName="Name_ZavKaf" />
- <ScalarProperty Name="Surname_ZavKaf" ColumnName="Surname_ZavKaf" />
- <ScalarProperty Name="Parnonymic_ZavKaf" ColumnName="Parnonymic_ZavKaf" />
- <ScalarProperty Name="Nomer_komnatu" ColumnName="Nomer_komnatu" />
- <ScalarProperty Name="Nomer_korpusa" ColumnName="Nomer_korpusa" />
- <ScalarProperty Name="Tel_kafedru" ColumnName="Tel_kafedru" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Student">
- <EntityTypeMapping TypeName="Экзамен33ПАсташинModel.Student">
- <MappingFragment StoreEntitySet="Student">
- <ScalarProperty Name="id_student" ColumnName="id_student" />
- <ScalarProperty Name="Sutfname" ColumnName="Sutfname" />
- <ScalarProperty Name="Sutname" ColumnName="Sutname" />
- <ScalarProperty Name="Stipend" ColumnName="Stipend" />
- <ScalarProperty Name="Kurs" ColumnName="Kurs" />
- <ScalarProperty Name="City" ColumnName="City" />
- <ScalarProperty Name="Birtday" ColumnName="Birtday" />
- <ScalarProperty Name="Group" ColumnName="Group" />
- <ScalarProperty Name="Kod_kafedru" ColumnName="Kod_kafedru" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Teacher">
- <EntityTypeMapping TypeName="Экзамен33ПАсташинModel.Teacher">
- <MappingFragment StoreEntitySet="Teacher">
- <ScalarProperty Name="Kod_teacher" ColumnName="Kod_teacher" />
- <ScalarProperty Name="Kod_kafedru" ColumnName="Kod_kafedru" />
- <ScalarProperty Name="Name_teacher" ColumnName="Name_teacher" />
- <ScalarProperty Name="Surname_teacher" ColumnName="Surname_teacher" />
- <ScalarProperty Name="Patronymic_teacher" ColumnName="Patronymic_teacher" />
- <ScalarProperty Name="idenf_kod" ColumnName="idenf_kod" />
- <ScalarProperty Name="dolgnost" ColumnName="dolgnost" />
- <ScalarProperty Name="zvanie" ColumnName="zvanie" />
- <ScalarProperty Name="salary" ColumnName="salary" />
- <ScalarProperty Name="rise" ColumnName="rise" />
- <ScalarProperty Name="data_hire" ColumnName="data_hire" />
- <ScalarProperty Name="birdhdate" ColumnName="birdhdate" />
- <ScalarProperty Name="pol" ColumnName="pol" />
- <ScalarProperty Name="tel_teacher" ColumnName="tel_teacher" />
- </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>
|