601 lines
32 KiB
XML
601 lines
32 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Schema Namespace="MAPModel" 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="Anagr_elem_doc">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="rif_tipo" Type="Int32" />
|
|
<Property Name="cod" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="descrizione" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
<Property Name="rif_anagr_fatt" Type="Int32" />
|
|
<NavigationProperty Name="Anagr_tipo_elem" Relationship="Self.anagr_elem_doc__EF6530B8_621C_4A01_B6E9_82278E2DA243_" FromRole="Anagr_elem_doc" ToRole="Anagr_tipo_elem" />
|
|
</EntityType>
|
|
<EntityType Name="Anagr_elem_movimenti">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="descrizione" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="rif_movimento" Type="Int32" />
|
|
<Property Name="giorni_decorrenza" Type="Int32" />
|
|
<Property Name="rif_conto_dest" Type="Int32" />
|
|
<Property Name="rif_conto_origine" Type="Int32" />
|
|
<Property Name="percentuale" Type="Double" />
|
|
<Property Name="SSMA_TimeStamp" Type="Binary" MaxLength="8" FixedLength="true" Nullable="false" annotation:StoreGeneratedPattern="Computed" />
|
|
</EntityType>
|
|
<EntityType Name="Anagr_gruppi_righe_voci_fatt">
|
|
<Key>
|
|
<PropertyRef Name="idxGruppo" />
|
|
</Key>
|
|
<Property Name="idxGruppo" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="Descrizione" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="Anagr_movimenti">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="descrizione" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="Anagr_tipo_elem">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="descrizione" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
|
|
<Property Name="metodo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="Anagr_elem_doc" Relationship="Self.anagr_elem_doc__EF6530B8_621C_4A01_B6E9_82278E2DA243_" FromRole="Anagr_tipo_elem" ToRole="Anagr_elem_doc" />
|
|
</EntityType>
|
|
<EntityType Name="AreaCap">
|
|
<Key>
|
|
<PropertyRef Name="CAP" />
|
|
<PropertyRef Name="località" />
|
|
</Key>
|
|
<Property Name="CAP" Type="String" MaxLength="255" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="località" Type="String" MaxLength="255" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="gruppo" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="C_iva">
|
|
<Key>
|
|
<PropertyRef Name="C_iva1" />
|
|
</Key>
|
|
<Property Name="C_iva1" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="iva" Type="Double" />
|
|
<Property Name="descrizione" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="Righe_fatt" Relationship="Self.FK_Righe_fatt_C_iva" FromRole="C_iva" ToRole="Righe_fatt" />
|
|
<NavigationProperty Name="RigheFatt" Relationship="Self.FK_RigheFatt_C_iva" FromRole="C_iva" ToRole="RigheFatt" />
|
|
</EntityType>
|
|
<EntityType Name="CDC">
|
|
<Key>
|
|
<PropertyRef Name="COD_CDC" />
|
|
</Key>
|
|
<Property Name="COD_CDC" Type="String" MaxLength="10" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<Property Name="DESCRIZIONE" Type="String" MaxLength="200" FixedLength="false" Unicode="false" />
|
|
<Property Name="COD_TIPO" Type="String" MaxLength="1" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<Property Name="POSIZIONE" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
|
|
<NavigationProperty Name="UTENTE" Relationship="Self.FK_UTENTE_CDC" FromRole="CDC" ToRole="UTENTE" />
|
|
</EntityType>
|
|
<EntityType Name="Clienti">
|
|
<Key>
|
|
<PropertyRef Name="idxCli" />
|
|
</Key>
|
|
<Property Name="idxCli" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="RagSoc" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Sesso" Type="String" MaxLength="1" FixedLength="true" Unicode="false" Nullable="false" />
|
|
<Property Name="POBirth" Type="String" MaxLength="250" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="DOBirth" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="P_iva" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="C_Fisc" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Via" Type="String" MaxLength="250" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Località" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Cap" Type="String" MaxLength="5" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Provincia" Type="String" MaxLength="2" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Pagamento" Type="String" MaxLength="250" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Note" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="idxGruppo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<NavigationProperty Name="Fatture" Relationship="Self.FK_Fatture_Clienti" FromRole="Clienti" ToRole="Fatture" />
|
|
</EntityType>
|
|
<EntityType Name="Contributi">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="Descrizione" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Percentuale" Type="Double" Nullable="false" />
|
|
<Property Name="Imponibile" Type="Boolean" Nullable="false" />
|
|
<Property Name="Ritenuta" Type="Boolean" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="CostiAssorbiti">
|
|
<Key>
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Key>
|
|
<Property Name="IdxFatt" Type="Int32" Nullable="false" />
|
|
<Property Name="netto" Type="Decimal" Precision="19" Scale="4" Nullable="false" />
|
|
<Property Name="note" Type="String" MaxLength="2500" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<NavigationProperty Name="Fatture" Relationship="Self.FK_CostiAssorbiti_Fatture" FromRole="CostiAssorbiti" ToRole="Fatture" />
|
|
</EntityType>
|
|
<EntityType Name="DIRITTI">
|
|
<Key>
|
|
<PropertyRef Name="USER_NAME" />
|
|
<PropertyRef Name="COD_CDC" />
|
|
<PropertyRef Name="COD_MODULO" />
|
|
<PropertyRef Name="COD_FUNZIONE" />
|
|
</Key>
|
|
<Property Name="USER_NAME" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="COD_CDC" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="COD_MODULO" Type="String" MaxLength="31" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="COD_FUNZIONE" Type="String" MaxLength="31" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="VALUE" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
|
<NavigationProperty Name="FUNZIONE" Relationship="Self.FK_DIRITTI_FUNZIONE" FromRole="DIRITTI" ToRole="FUNZIONE" />
|
|
<NavigationProperty Name="MODULO" Relationship="Self.FK_DIRITTI_MODULO" FromRole="DIRITTI" ToRole="MODULO" />
|
|
<NavigationProperty Name="UTENTE" Relationship="Self.FK_DIRITTI_UTENTE" FromRole="DIRITTI" ToRole="UTENTE" />
|
|
</EntityType>
|
|
<EntityType Name="Fatture">
|
|
<Key>
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Key>
|
|
<Property Name="IdxFatt" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="Anno" Type="Int32" Nullable="false" />
|
|
<Property Name="Num" Type="Int32" Nullable="false" />
|
|
<Property Name="idxCli" Type="Int32" Nullable="false" />
|
|
<Property Name="Tipo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Data" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="Ritenuta" Type="Double" Nullable="false" />
|
|
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Computed" />
|
|
<NavigationProperty Name="Clienti" Relationship="Self.FK_Fatture_Clienti" FromRole="Fatture" ToRole="Clienti" />
|
|
<NavigationProperty Name="CostiAssorbiti" Relationship="Self.FK_CostiAssorbiti_Fatture" FromRole="Fatture" ToRole="CostiAssorbiti" />
|
|
<NavigationProperty Name="Pagamenti" Relationship="Self.FK_Pagamenti_Fatture" FromRole="Fatture" ToRole="Pagamenti" />
|
|
<NavigationProperty Name="Righe_fatt" Relationship="Self.FK_Righe_fatt_Fatture" FromRole="Fatture" ToRole="Righe_fatt" />
|
|
<NavigationProperty Name="RigheFatt" Relationship="Self.FK_RigheFatt_Fatture" FromRole="Fatture" ToRole="RigheFatt" />
|
|
<NavigationProperty Name="Scadenze" Relationship="Self.FK_Scadenze_Fatture" FromRole="Fatture" ToRole="Scadenze" />
|
|
<Property Name="IsTemplate" Type="Boolean" Nullable="false" />
|
|
<Property Name="IdxTemplate" Type="Int32" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="FUNZIONE">
|
|
<Key>
|
|
<PropertyRef Name="COD_FUNZIONE" />
|
|
</Key>
|
|
<Property Name="COD_FUNZIONE" Type="String" MaxLength="31" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="DESCRIZIONE" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="DIRITTI" Relationship="Self.FK_DIRITTI_FUNZIONE" FromRole="FUNZIONE" ToRole="DIRITTI" />
|
|
</EntityType>
|
|
<EntityType Name="Gruppi">
|
|
<Key>
|
|
<PropertyRef Name="IdxGruppo" />
|
|
</Key>
|
|
<Property Name="IdxGruppo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Descr" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="Lingue">
|
|
<Key>
|
|
<PropertyRef Name="Lingua" />
|
|
</Key>
|
|
<Property Name="Lingua" Type="String" MaxLength="3" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="DescrizioneLingua" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<NavigationProperty Name="Vocabolario" Relationship="Self.FK_Vocabolario_Lingue" FromRole="Lingue" ToRole="Vocabolario" />
|
|
</EntityType>
|
|
<EntityType Name="ListValues">
|
|
<Key>
|
|
<PropertyRef Name="TableName" />
|
|
<PropertyRef Name="FieldName" />
|
|
<PropertyRef Name="value" />
|
|
</Key>
|
|
<Property Name="TableName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="FieldName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="value" Type="String" MaxLength="10" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="label" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="ordinal" Type="Int32" />
|
|
</EntityType>
|
|
<EntityType Name="MODULO">
|
|
<Key>
|
|
<PropertyRef Name="COD_MODULO" />
|
|
</Key>
|
|
<Property Name="COD_MODULO" Type="String" MaxLength="31" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="DESCRIZIONE" Type="String" MaxLength="200" FixedLength="false" Unicode="false" />
|
|
<NavigationProperty Name="DIRITTI" Relationship="Self.FK_DIRITTI_MODULO" FromRole="MODULO" ToRole="DIRITTI" />
|
|
</EntityType>
|
|
<EntityType Name="Pagamenti">
|
|
<Key>
|
|
<PropertyRef Name="Id_fatt" />
|
|
<PropertyRef Name="data" />
|
|
</Key>
|
|
<Property Name="Id_fatt" Type="Int32" Nullable="false" />
|
|
<Property Name="data" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="netto" Type="Decimal" Precision="19" Scale="4" />
|
|
<Property Name="importo" Type="Decimal" Precision="19" Scale="4" />
|
|
<Property Name="note" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="Fatture" Relationship="Self.FK_Pagamenti_Fatture" FromRole="Pagamenti" ToRole="Fatture" />
|
|
</EntityType>
|
|
<EntityType Name="Permessi">
|
|
<Key>
|
|
<PropertyRef Name="COD_PERMESSO" />
|
|
</Key>
|
|
<Property Name="COD_PERMESSO" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<Property Name="URL" Type="String" MaxLength="250" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<Property Name="GRUPPO" Type="Int32" />
|
|
<Property Name="NUMERO" Type="Int32" />
|
|
<Property Name="NOME" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
|
<Property Name="DESCRIZIONE" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
|
<NavigationProperty Name="Permessi2Funzione" Relationship="Self.FK_Permessi2Funzione_Permessi" FromRole="Permessi" ToRole="Permessi2Funzione" />
|
|
</EntityType>
|
|
<EntityType Name="Permessi2Funzione">
|
|
<Key>
|
|
<PropertyRef Name="COD_PERMESSO" />
|
|
<PropertyRef Name="COD_FUNZIONE" />
|
|
</Key>
|
|
<Property Name="COD_PERMESSO" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<Property Name="COD_FUNZIONE" Type="String" MaxLength="31" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="READWRITE" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
|
|
<NavigationProperty Name="Permessi" Relationship="Self.FK_Permessi2Funzione_Permessi" FromRole="Permessi2Funzione" ToRole="Permessi" />
|
|
</EntityType>
|
|
<EntityType Name="Righe_fatt">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="idxDoc" Type="Int32" />
|
|
<Property Name="Descrizione" Type="String" MaxLength="1500" FixedLength="false" Unicode="true" />
|
|
<Property Name="um" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="prezzo_um" Type="Decimal" Precision="19" Scale="4" />
|
|
<Property Name="qta" Type="Single" Nullable="false" />
|
|
<Property Name="sconto" Type="Single" Nullable="false" />
|
|
<Property Name="c_iva" Type="Int32" />
|
|
<Property Name="no_ritenuta" Type="Boolean" Nullable="false" />
|
|
<Property Name="valuta" Type="String" MaxLength="255" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Id_fatt" Type="Int32" annotation:StoreGeneratedPattern="Computed" />
|
|
<Property Name="codExt" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="quotaProj" Type="Double" Nullable="false" />
|
|
<NavigationProperty Name="C_iva1" Relationship="Self.FK_Righe_fatt_C_iva" FromRole="Righe_fatt" ToRole="C_iva" />
|
|
<NavigationProperty Name="Fatture" Relationship="Self.FK_Righe_fatt_Fatture" FromRole="Righe_fatt" ToRole="Fatture" />
|
|
</EntityType>
|
|
<EntityType Name="RigheFatt">
|
|
<Key>
|
|
<PropertyRef Name="IdxRigheFatt" />
|
|
</Key>
|
|
<Property Name="IdxRigheFatt" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="IdxFatt" Type="Int32" />
|
|
<Property Name="Descrizione" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="um" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="PrezzoUm" Type="Decimal" Precision="19" Scale="4" />
|
|
<Property Name="qta" Type="Int32" />
|
|
<Property Name="sconto" Type="Single" />
|
|
<Property Name="C_iva" Type="Int32" />
|
|
<Property Name="no_ritenuta" Type="Boolean" />
|
|
<NavigationProperty Name="C_iva1" Relationship="Self.FK_RigheFatt_C_iva" FromRole="RigheFatt" ToRole="C_iva" />
|
|
<NavigationProperty Name="Fatture" Relationship="Self.FK_RigheFatt_Fatture" FromRole="RigheFatt" ToRole="Fatture" />
|
|
</EntityType>
|
|
<EntityType Name="Scadenze">
|
|
<Key>
|
|
<PropertyRef Name="Id_fatt" />
|
|
<PropertyRef Name="data" />
|
|
</Key>
|
|
<Property Name="Id_fatt" Type="Int32" Nullable="false" />
|
|
<Property Name="data" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="netto" Type="Decimal" Precision="19" Scale="4" />
|
|
<Property Name="importo" Type="Decimal" Precision="19" Scale="4" />
|
|
<Property Name="note" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="Fatture" Relationship="Self.FK_Scadenze_Fatture" FromRole="Scadenze" ToRole="Fatture" />
|
|
</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="UTENTE">
|
|
<Key>
|
|
<PropertyRef Name="USER_NAME" />
|
|
</Key>
|
|
<Property Name="DOMINIO" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
|
|
<Property Name="USER_NAME" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="COGNOME" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
|
|
<Property Name="NOME" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
|
|
<Property Name="COD_SOCIETA" Type="String" MaxLength="5" FixedLength="false" Unicode="false" />
|
|
<Property Name="MATRICOLA" Type="String" MaxLength="5" FixedLength="false" Unicode="false" />
|
|
<Property Name="COD_CDC" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
|
|
<Property Name="EMAIL" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
|
|
<Property Name="SIGLA" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
|
|
<Property Name="COD_LINGUA" Type="String" MaxLength="3" FixedLength="false" Unicode="false" />
|
|
<Property Name="ATTIVO" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
|
|
<NavigationProperty Name="CDC" Relationship="Self.FK_UTENTE_CDC" FromRole="UTENTE" ToRole="CDC" />
|
|
<NavigationProperty Name="DIRITTI" Relationship="Self.FK_DIRITTI_UTENTE" FromRole="UTENTE" ToRole="DIRITTI" />
|
|
</EntityType>
|
|
<EntityType Name="Vocabolario">
|
|
<Key>
|
|
<PropertyRef Name="Lingua" />
|
|
<PropertyRef Name="Lemma" />
|
|
</Key>
|
|
<Property Name="Lingua" Type="String" MaxLength="3" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Lemma" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="Traduzione" Type="String" MaxLength="500" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<NavigationProperty Name="Lingue" Relationship="Self.FK_Vocabolario_Lingue" FromRole="Vocabolario" ToRole="Lingue" />
|
|
</EntityType>
|
|
<EntityType Name="Anagr_righe_voci_fatt">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="descrizione" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="um" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="prezzo_um" Type="Double" />
|
|
<Property Name="qta" Type="Double" />
|
|
<Property Name="sconto" Type="Double" />
|
|
<Property Name="iva" Type="Double" />
|
|
<Property Name="no_ritenuta" Type="Boolean" />
|
|
</EntityType>
|
|
<Association Name="anagr_elem_doc__EF6530B8_621C_4A01_B6E9_82278E2DA243_">
|
|
<End Role="Anagr_tipo_elem" Type="Self.Anagr_tipo_elem" Multiplicity="0..1" />
|
|
<End Role="Anagr_elem_doc" Type="Self.Anagr_elem_doc" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Anagr_tipo_elem">
|
|
<PropertyRef Name="id" />
|
|
</Principal>
|
|
<Dependent Role="Anagr_elem_doc">
|
|
<PropertyRef Name="rif_tipo" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Righe_fatt_C_iva">
|
|
<End Role="C_iva" Type="Self.C_iva" Multiplicity="0..1" />
|
|
<End Role="Righe_fatt" Type="Self.Righe_fatt" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="C_iva">
|
|
<PropertyRef Name="C_iva1" />
|
|
</Principal>
|
|
<Dependent Role="Righe_fatt">
|
|
<PropertyRef Name="c_iva" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_RigheFatt_C_iva">
|
|
<End Role="C_iva" Type="Self.C_iva" Multiplicity="0..1" />
|
|
<End Role="RigheFatt" Type="Self.RigheFatt" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="C_iva">
|
|
<PropertyRef Name="C_iva1" />
|
|
</Principal>
|
|
<Dependent Role="RigheFatt">
|
|
<PropertyRef Name="C_iva" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_UTENTE_CDC">
|
|
<End Role="CDC" Type="Self.CDC" Multiplicity="0..1" />
|
|
<End Role="UTENTE" Type="Self.UTENTE" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="CDC">
|
|
<PropertyRef Name="COD_CDC" />
|
|
</Principal>
|
|
<Dependent Role="UTENTE">
|
|
<PropertyRef Name="COD_CDC" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Fatture_Clienti">
|
|
<End Role="Clienti" Type="Self.Clienti" Multiplicity="1" />
|
|
<End Role="Fatture" Type="Self.Fatture" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Clienti">
|
|
<PropertyRef Name="idxCli" />
|
|
</Principal>
|
|
<Dependent Role="Fatture">
|
|
<PropertyRef Name="idxCli" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_CostiAssorbiti_Fatture">
|
|
<End Role="Fatture" Type="Self.Fatture" Multiplicity="1" />
|
|
<End Role="CostiAssorbiti" Type="Self.CostiAssorbiti" Multiplicity="0..1" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Fatture">
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Principal>
|
|
<Dependent Role="CostiAssorbiti">
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_DIRITTI_FUNZIONE">
|
|
<End Role="FUNZIONE" Type="Self.FUNZIONE" Multiplicity="1" />
|
|
<End Role="DIRITTI" Type="Self.DIRITTI" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="FUNZIONE">
|
|
<PropertyRef Name="COD_FUNZIONE" />
|
|
</Principal>
|
|
<Dependent Role="DIRITTI">
|
|
<PropertyRef Name="COD_FUNZIONE" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_DIRITTI_MODULO">
|
|
<End Role="MODULO" Type="Self.MODULO" Multiplicity="1" />
|
|
<End Role="DIRITTI" Type="Self.DIRITTI" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="MODULO">
|
|
<PropertyRef Name="COD_MODULO" />
|
|
</Principal>
|
|
<Dependent Role="DIRITTI">
|
|
<PropertyRef Name="COD_MODULO" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_DIRITTI_UTENTE">
|
|
<End Role="UTENTE" Type="Self.UTENTE" Multiplicity="1" />
|
|
<End Role="DIRITTI" Type="Self.DIRITTI" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="UTENTE">
|
|
<PropertyRef Name="USER_NAME" />
|
|
</Principal>
|
|
<Dependent Role="DIRITTI">
|
|
<PropertyRef Name="USER_NAME" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Pagamenti_Fatture">
|
|
<End Role="Fatture" Type="Self.Fatture" Multiplicity="1" />
|
|
<End Role="Pagamenti" Type="Self.Pagamenti" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Fatture">
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Principal>
|
|
<Dependent Role="Pagamenti">
|
|
<PropertyRef Name="Id_fatt" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Righe_fatt_Fatture">
|
|
<End Role="Fatture" Type="Self.Fatture" Multiplicity="0..1" />
|
|
<End Role="Righe_fatt" Type="Self.Righe_fatt" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Fatture">
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Principal>
|
|
<Dependent Role="Righe_fatt">
|
|
<PropertyRef Name="idxDoc" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_RigheFatt_Fatture">
|
|
<End Role="Fatture" Type="Self.Fatture" Multiplicity="0..1" />
|
|
<End Role="RigheFatt" Type="Self.RigheFatt" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Fatture">
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Principal>
|
|
<Dependent Role="RigheFatt">
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Scadenze_Fatture">
|
|
<End Role="Fatture" Type="Self.Fatture" Multiplicity="1" />
|
|
<End Role="Scadenze" Type="Self.Scadenze" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Fatture">
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Principal>
|
|
<Dependent Role="Scadenze">
|
|
<PropertyRef Name="Id_fatt" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Vocabolario_Lingue">
|
|
<End Role="Lingue" Type="Self.Lingue" Multiplicity="1" />
|
|
<End Role="Vocabolario" Type="Self.Vocabolario" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Lingue">
|
|
<PropertyRef Name="Lingua" />
|
|
</Principal>
|
|
<Dependent Role="Vocabolario">
|
|
<PropertyRef Name="Lingua" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Permessi2Funzione_Permessi">
|
|
<End Role="Permessi" Type="Self.Permessi" Multiplicity="1" />
|
|
<End Role="Permessi2Funzione" Type="Self.Permessi2Funzione" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Permessi">
|
|
<PropertyRef Name="COD_PERMESSO" />
|
|
</Principal>
|
|
<Dependent Role="Permessi2Funzione">
|
|
<PropertyRef Name="COD_PERMESSO" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityContainer Name="MAPEntities" annotation:LazyLoadingEnabled="true">
|
|
<EntitySet Name="Anagr_elem_doc" EntityType="Self.Anagr_elem_doc" />
|
|
<EntitySet Name="Anagr_elem_movimenti" EntityType="Self.Anagr_elem_movimenti" />
|
|
<EntitySet Name="Anagr_gruppi_righe_voci_fatt" EntityType="Self.Anagr_gruppi_righe_voci_fatt" />
|
|
<EntitySet Name="Anagr_movimenti" EntityType="Self.Anagr_movimenti" />
|
|
<EntitySet Name="Anagr_tipo_elem" EntityType="Self.Anagr_tipo_elem" />
|
|
<EntitySet Name="AreaCap" EntityType="Self.AreaCap" />
|
|
<EntitySet Name="C_iva" EntityType="Self.C_iva" />
|
|
<EntitySet Name="CDC" EntityType="Self.CDC" />
|
|
<EntitySet Name="Clienti" EntityType="Self.Clienti" />
|
|
<EntitySet Name="Contributi" EntityType="Self.Contributi" />
|
|
<EntitySet Name="CostiAssorbiti" EntityType="Self.CostiAssorbiti" />
|
|
<EntitySet Name="DIRITTI" EntityType="Self.DIRITTI" />
|
|
<EntitySet Name="Fatture" EntityType="Self.Fatture" />
|
|
<EntitySet Name="FUNZIONE" EntityType="Self.FUNZIONE" />
|
|
<EntitySet Name="Gruppi" EntityType="Self.Gruppi" />
|
|
<EntitySet Name="Lingue" EntityType="Self.Lingue" />
|
|
<EntitySet Name="ListValues" EntityType="Self.ListValues" />
|
|
<EntitySet Name="MODULO" EntityType="Self.MODULO" />
|
|
<EntitySet Name="Pagamenti" EntityType="Self.Pagamenti" />
|
|
<EntitySet Name="Permessi" EntityType="Self.Permessi" />
|
|
<EntitySet Name="Permessi2Funzione" EntityType="Self.Permessi2Funzione" />
|
|
<EntitySet Name="Righe_fatt" EntityType="Self.Righe_fatt" />
|
|
<EntitySet Name="RigheFatt" EntityType="Self.RigheFatt" />
|
|
<EntitySet Name="Scadenze" EntityType="Self.Scadenze" />
|
|
<EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
|
|
<EntitySet Name="UTENTE" EntityType="Self.UTENTE" />
|
|
<EntitySet Name="Vocabolario" EntityType="Self.Vocabolario" />
|
|
<EntitySet Name="Anagr_righe_voci_fatt" EntityType="Self.Anagr_righe_voci_fatt" />
|
|
<AssociationSet Name="anagr_elem_doc__EF6530B8_621C_4A01_B6E9_82278E2DA243_" Association="Self.anagr_elem_doc__EF6530B8_621C_4A01_B6E9_82278E2DA243_">
|
|
<End Role="Anagr_tipo_elem" EntitySet="Anagr_tipo_elem" />
|
|
<End Role="Anagr_elem_doc" EntitySet="Anagr_elem_doc" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Righe_fatt_C_iva" Association="Self.FK_Righe_fatt_C_iva">
|
|
<End Role="C_iva" EntitySet="C_iva" />
|
|
<End Role="Righe_fatt" EntitySet="Righe_fatt" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_RigheFatt_C_iva" Association="Self.FK_RigheFatt_C_iva">
|
|
<End Role="C_iva" EntitySet="C_iva" />
|
|
<End Role="RigheFatt" EntitySet="RigheFatt" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_UTENTE_CDC" Association="Self.FK_UTENTE_CDC">
|
|
<End Role="CDC" EntitySet="CDC" />
|
|
<End Role="UTENTE" EntitySet="UTENTE" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Fatture_Clienti" Association="Self.FK_Fatture_Clienti">
|
|
<End Role="Clienti" EntitySet="Clienti" />
|
|
<End Role="Fatture" EntitySet="Fatture" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_CostiAssorbiti_Fatture" Association="Self.FK_CostiAssorbiti_Fatture">
|
|
<End Role="Fatture" EntitySet="Fatture" />
|
|
<End Role="CostiAssorbiti" EntitySet="CostiAssorbiti" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_DIRITTI_FUNZIONE" Association="Self.FK_DIRITTI_FUNZIONE">
|
|
<End Role="FUNZIONE" EntitySet="FUNZIONE" />
|
|
<End Role="DIRITTI" EntitySet="DIRITTI" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_DIRITTI_MODULO" Association="Self.FK_DIRITTI_MODULO">
|
|
<End Role="MODULO" EntitySet="MODULO" />
|
|
<End Role="DIRITTI" EntitySet="DIRITTI" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_DIRITTI_UTENTE" Association="Self.FK_DIRITTI_UTENTE">
|
|
<End Role="UTENTE" EntitySet="UTENTE" />
|
|
<End Role="DIRITTI" EntitySet="DIRITTI" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Pagamenti_Fatture" Association="Self.FK_Pagamenti_Fatture">
|
|
<End Role="Fatture" EntitySet="Fatture" />
|
|
<End Role="Pagamenti" EntitySet="Pagamenti" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Righe_fatt_Fatture" Association="Self.FK_Righe_fatt_Fatture">
|
|
<End Role="Fatture" EntitySet="Fatture" />
|
|
<End Role="Righe_fatt" EntitySet="Righe_fatt" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_RigheFatt_Fatture" Association="Self.FK_RigheFatt_Fatture">
|
|
<End Role="Fatture" EntitySet="Fatture" />
|
|
<End Role="RigheFatt" EntitySet="RigheFatt" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Scadenze_Fatture" Association="Self.FK_Scadenze_Fatture">
|
|
<End Role="Fatture" EntitySet="Fatture" />
|
|
<End Role="Scadenze" EntitySet="Scadenze" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Vocabolario_Lingue" Association="Self.FK_Vocabolario_Lingue">
|
|
<End Role="Lingue" EntitySet="Lingue" />
|
|
<End Role="Vocabolario" EntitySet="Vocabolario" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Permessi2Funzione_Permessi" Association="Self.FK_Permessi2Funzione_Permessi">
|
|
<End Role="Permessi" EntitySet="Permessi" />
|
|
<End Role="Permessi2Funzione" EntitySet="Permessi2Funzione" />
|
|
</AssociationSet>
|
|
</EntityContainer>
|
|
</Schema> |