123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346 |
- <?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="Хранилище gr671_mkyuModel" 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="Call">
- <Key>
- <PropertyRef Name="IdCall" />
- </Key>
- <Property Name="IdCall" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="DateCall" Type="datetime" />
- <Property Name="LongCall" Type="int" />
- <Property Name="IdUser" Type="int" Nullable="false" />
- <Property Name="IdLead" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="Client">
- <Key>
- <PropertyRef Name="IdClent" />
- </Key>
- <Property Name="IdClent" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="LoginClient" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="PhoneClient" Type="numeric" Precision="18" Scale="0" Nullable="false" />
- </EntityType>
- <EntityType Name="Lead">
- <Key>
- <PropertyRef Name="IdLead" />
- </Key>
- <Property Name="IdLead" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="LeadStart" Type="datetime" Nullable="false" />
- <Property Name="StatusLead" Type="nvarchar" MaxLength="50" />
- <Property Name="IdProduct" Type="int" />
- <Property Name="IdClient" Type="int" />
- </EntityType>
- <EntityType Name="Product">
- <Key>
- <PropertyRef Name="IdProduct" />
- </Key>
- <Property Name="IdProduct" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="NameProduct" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="TypeProduct" Type="nvarchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="Users">
- <Key>
- <PropertyRef Name="IdUser" />
- </Key>
- <Property Name="IdUser" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Login" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="LastName" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="FirstName" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="MiddleName" Type="nvarchar" MaxLength="50" />
- <Property Name="WorkingOpposition" Type="float" Nullable="false" />
- <Property Name="SkillsSale" Type="float" Nullable="false" />
- <Property Name="ProductList" Type="float" Nullable="false" />
- <Property Name="Password" Type="nvarchar" MaxLength="50" />
- </EntityType>
- <Association Name="FK_Call_Lead">
- <End Role="Lead" Type="Self.Lead" Multiplicity="1" />
- <End Role="Call" Type="Self.Call" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Lead">
- <PropertyRef Name="IdLead" />
- </Principal>
- <Dependent Role="Call">
- <PropertyRef Name="IdLead" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Call_Users">
- <End Role="Users" Type="Self.Users" Multiplicity="1" />
- <End Role="Call" Type="Self.Call" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Users">
- <PropertyRef Name="IdUser" />
- </Principal>
- <Dependent Role="Call">
- <PropertyRef Name="IdUser" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Lead_Client">
- <End Role="Client" Type="Self.Client" Multiplicity="0..1" />
- <End Role="Lead" Type="Self.Lead" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Client">
- <PropertyRef Name="IdClent" />
- </Principal>
- <Dependent Role="Lead">
- <PropertyRef Name="IdClient" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Lead_Product">
- <End Role="Product" Type="Self.Product" Multiplicity="0..1" />
- <End Role="Lead" Type="Self.Lead" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Product">
- <PropertyRef Name="IdProduct" />
- </Principal>
- <Dependent Role="Lead">
- <PropertyRef Name="IdProduct" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище gr671_mkyuModelContainer">
- <EntitySet Name="Call" EntityType="Self.Call" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Client" EntityType="Self.Client" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Lead" EntityType="Self.Lead" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Product" EntityType="Self.Product" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_Call_Lead" Association="Self.FK_Call_Lead">
- <End Role="Lead" EntitySet="Lead" />
- <End Role="Call" EntitySet="Call" />
- </AssociationSet>
- <AssociationSet Name="FK_Call_Users" Association="Self.FK_Call_Users">
- <End Role="Users" EntitySet="Users" />
- <End Role="Call" EntitySet="Call" />
- </AssociationSet>
- <AssociationSet Name="FK_Lead_Client" Association="Self.FK_Lead_Client">
- <End Role="Client" EntitySet="Client" />
- <End Role="Lead" EntitySet="Lead" />
- </AssociationSet>
- <AssociationSet Name="FK_Lead_Product" Association="Self.FK_Lead_Product">
- <End Role="Product" EntitySet="Product" />
- <End Role="Lead" EntitySet="Lead" />
- </AssociationSet>
- </EntityContainer>
- </Schema></edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="gr671_mkyuModel" 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="Call">
- <Key>
- <PropertyRef Name="IdCall" />
- </Key>
- <Property Name="IdCall" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="DateCall" Type="DateTime" Precision="3" />
- <Property Name="LongCall" Type="Int32" />
- <Property Name="IdUser" Type="Int32" Nullable="false" />
- <Property Name="IdLead" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Lead" Relationship="Self.FK_Call_Lead" FromRole="Call" ToRole="Lead" />
- <NavigationProperty Name="Users" Relationship="Self.FK_Call_Users" FromRole="Call" ToRole="Users" />
- </EntityType>
- <EntityType Name="Client">
- <Key>
- <PropertyRef Name="IdClent" />
- </Key>
- <Property Name="IdClent" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="LoginClient" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="PhoneClient" Type="Decimal" Precision="18" Scale="0" Nullable="false" />
- <NavigationProperty Name="Lead" Relationship="Self.FK_Lead_Client" FromRole="Client" ToRole="Lead" />
- </EntityType>
- <EntityType Name="Lead">
- <Key>
- <PropertyRef Name="IdLead" />
- </Key>
- <Property Name="IdLead" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="LeadStart" Type="DateTime" Nullable="false" Precision="3" />
- <Property Name="StatusLead" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="IdProduct" Type="Int32" />
- <Property Name="IdClient" Type="Int32" />
- <NavigationProperty Name="Call" Relationship="Self.FK_Call_Lead" FromRole="Lead" ToRole="Call" />
- <NavigationProperty Name="Client" Relationship="Self.FK_Lead_Client" FromRole="Lead" ToRole="Client" />
- <NavigationProperty Name="Product" Relationship="Self.FK_Lead_Product" FromRole="Lead" ToRole="Product" />
- </EntityType>
- <EntityType Name="Product">
- <Key>
- <PropertyRef Name="IdProduct" />
- </Key>
- <Property Name="IdProduct" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="NameProduct" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="TypeProduct" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <NavigationProperty Name="Lead" Relationship="Self.FK_Lead_Product" FromRole="Product" ToRole="Lead" />
- </EntityType>
- <EntityType Name="Users">
- <Key>
- <PropertyRef Name="IdUser" />
- </Key>
- <Property Name="IdUser" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Login" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="LastName" 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="WorkingOpposition" Type="Double" Nullable="false" />
- <Property Name="SkillsSale" Type="Double" Nullable="false" />
- <Property Name="ProductList" Type="Double" Nullable="false" />
- <NavigationProperty Name="Call" Relationship="Self.FK_Call_Users" FromRole="Users" ToRole="Call" />
- <Property Name="Password" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- </EntityType>
- <Association Name="FK_Call_Lead">
- <End Role="Lead" Type="Self.Lead" Multiplicity="1" />
- <End Role="Call" Type="Self.Call" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Lead">
- <PropertyRef Name="IdLead" />
- </Principal>
- <Dependent Role="Call">
- <PropertyRef Name="IdLead" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Call_Users">
- <End Role="Users" Type="Self.Users" Multiplicity="1" />
- <End Role="Call" Type="Self.Call" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Users">
- <PropertyRef Name="IdUser" />
- </Principal>
- <Dependent Role="Call">
- <PropertyRef Name="IdUser" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Lead_Client">
- <End Role="Client" Type="Self.Client" Multiplicity="0..1" />
- <End Role="Lead" Type="Self.Lead" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Client">
- <PropertyRef Name="IdClent" />
- </Principal>
- <Dependent Role="Lead">
- <PropertyRef Name="IdClient" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Lead_Product">
- <End Role="Product" Type="Self.Product" Multiplicity="0..1" />
- <End Role="Lead" Type="Self.Lead" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Product">
- <PropertyRef Name="IdProduct" />
- </Principal>
- <Dependent Role="Lead">
- <PropertyRef Name="IdProduct" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="gr671_mkyuEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Call" EntityType="Self.Call" />
- <EntitySet Name="Client" EntityType="Self.Client" />
- <EntitySet Name="Lead" EntityType="Self.Lead" />
- <EntitySet Name="Product" EntityType="Self.Product" />
- <EntitySet Name="Users" EntityType="Self.Users" />
- <AssociationSet Name="FK_Call_Lead" Association="Self.FK_Call_Lead">
- <End Role="Lead" EntitySet="Lead" />
- <End Role="Call" EntitySet="Call" />
- </AssociationSet>
- <AssociationSet Name="FK_Call_Users" Association="Self.FK_Call_Users">
- <End Role="Users" EntitySet="Users" />
- <End Role="Call" EntitySet="Call" />
- </AssociationSet>
- <AssociationSet Name="FK_Lead_Client" Association="Self.FK_Lead_Client">
- <End Role="Client" EntitySet="Client" />
- <End Role="Lead" EntitySet="Lead" />
- </AssociationSet>
- <AssociationSet Name="FK_Lead_Product" Association="Self.FK_Lead_Product">
- <End Role="Product" EntitySet="Product" />
- <End Role="Lead" EntitySet="Lead" />
- </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="Хранилище gr671_mkyuModelContainer" CdmEntityContainer="gr671_mkyuEntities">
- <EntitySetMapping Name="Call">
- <EntityTypeMapping TypeName="gr671_mkyuModel.Call">
- <MappingFragment StoreEntitySet="Call">
- <ScalarProperty Name="IdCall" ColumnName="IdCall" />
- <ScalarProperty Name="DateCall" ColumnName="DateCall" />
- <ScalarProperty Name="LongCall" ColumnName="LongCall" />
- <ScalarProperty Name="IdUser" ColumnName="IdUser" />
- <ScalarProperty Name="IdLead" ColumnName="IdLead" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Client">
- <EntityTypeMapping TypeName="gr671_mkyuModel.Client">
- <MappingFragment StoreEntitySet="Client">
- <ScalarProperty Name="IdClent" ColumnName="IdClent" />
- <ScalarProperty Name="LoginClient" ColumnName="LoginClient" />
- <ScalarProperty Name="PhoneClient" ColumnName="PhoneClient" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Lead">
- <EntityTypeMapping TypeName="gr671_mkyuModel.Lead">
- <MappingFragment StoreEntitySet="Lead">
- <ScalarProperty Name="IdLead" ColumnName="IdLead" />
- <ScalarProperty Name="LeadStart" ColumnName="LeadStart" />
- <ScalarProperty Name="StatusLead" ColumnName="StatusLead" />
- <ScalarProperty Name="IdProduct" ColumnName="IdProduct" />
- <ScalarProperty Name="IdClient" ColumnName="IdClient" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Product">
- <EntityTypeMapping TypeName="gr671_mkyuModel.Product">
- <MappingFragment StoreEntitySet="Product">
- <ScalarProperty Name="IdProduct" ColumnName="IdProduct" />
- <ScalarProperty Name="NameProduct" ColumnName="NameProduct" />
- <ScalarProperty Name="TypeProduct" ColumnName="TypeProduct" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Users">
- <EntityTypeMapping TypeName="gr671_mkyuModel.Users">
- <MappingFragment StoreEntitySet="Users">
- <ScalarProperty Name="Password" ColumnName="Password" />
- <ScalarProperty Name="IdUser" ColumnName="IdUser" />
- <ScalarProperty Name="Login" ColumnName="Login" />
- <ScalarProperty Name="LastName" ColumnName="LastName" />
- <ScalarProperty Name="FirstName" ColumnName="FirstName" />
- <ScalarProperty Name="MiddleName" ColumnName="MiddleName" />
- <ScalarProperty Name="WorkingOpposition" ColumnName="WorkingOpposition" />
- <ScalarProperty Name="SkillsSale" ColumnName="SkillsSale" />
- <ScalarProperty Name="ProductList" ColumnName="ProductList" />
- </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>
|