584 lines
26 KiB
XML
584 lines
26 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Schema Namespace="MAPModel.Store" 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="Anagr_elem_doc">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="rif_tipo" Type="int" />
|
|
<Property Name="cod" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="descrizione" Type="nvarchar" MaxLength="255" />
|
|
<Property Name="rif_anagr_fatt" Type="int" />
|
|
</EntityType>
|
|
<EntityType Name="Anagr_elem_movimenti">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="descrizione" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="rif_movimento" Type="int" />
|
|
<Property Name="giorni_decorrenza" Type="int" />
|
|
<Property Name="rif_conto_dest" Type="int" />
|
|
<Property Name="rif_conto_origine" Type="int" />
|
|
<Property Name="percentuale" Type="float" />
|
|
<Property Name="SSMA_TimeStamp" Type="timestamp" StoreGeneratedPattern="Computed" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Anagr_gruppi_righe_voci_fatt">
|
|
<Key>
|
|
<PropertyRef Name="idxGruppo" />
|
|
</Key>
|
|
<Property Name="idxGruppo" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="Descrizione" Type="nvarchar" MaxLength="50" />
|
|
</EntityType>
|
|
<EntityType Name="Anagr_movimenti">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="descrizione" Type="nvarchar" MaxLength="50" />
|
|
</EntityType>
|
|
<!--Errori trovati durante la generazione:
|
|
avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'MedAP.dbo.Anagr_righe_voci_fatt'. La chiave è stata dedotta e la definizione è stata creata come tabella/visualizzazione di sola lettura.-->
|
|
<EntityType Name="Anagr_righe_voci_fatt">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="descrizione" Type="ntext" />
|
|
<Property Name="um" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="prezzo_um" Type="float" />
|
|
<Property Name="qta" Type="float" />
|
|
<Property Name="sconto" Type="float" />
|
|
<Property Name="iva" Type="float" />
|
|
<Property Name="no_ritenuta" Type="bit" />
|
|
</EntityType>
|
|
<EntityType Name="Anagr_tipo_elem">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="descrizione" Type="nvarchar" MaxLength="250" />
|
|
<Property Name="metodo" Type="nvarchar" MaxLength="50" />
|
|
</EntityType>
|
|
<EntityType Name="AreaCap">
|
|
<Key>
|
|
<PropertyRef Name="CAP" />
|
|
<PropertyRef Name="località" />
|
|
</Key>
|
|
<Property Name="CAP" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
<Property Name="località" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
<Property Name="gruppo" Type="nvarchar" MaxLength="255" />
|
|
</EntityType>
|
|
<EntityType Name="C_iva">
|
|
<Key>
|
|
<PropertyRef Name="C_iva" />
|
|
</Key>
|
|
<Property Name="C_iva" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="iva" Type="float" />
|
|
<Property Name="descrizione" Type="nvarchar" MaxLength="250" />
|
|
</EntityType>
|
|
<EntityType Name="CDC">
|
|
<Key>
|
|
<PropertyRef Name="COD_CDC" />
|
|
</Key>
|
|
<Property Name="COD_CDC" Type="varchar" MaxLength="10" Nullable="false" />
|
|
<Property Name="DESCRIZIONE" Type="varchar" MaxLength="200" />
|
|
<Property Name="COD_TIPO" Type="varchar" MaxLength="1" Nullable="false" />
|
|
<Property Name="POSIZIONE" Type="varchar" MaxLength="100" />
|
|
</EntityType>
|
|
<EntityType Name="Clienti">
|
|
<Key>
|
|
<PropertyRef Name="idxCli" />
|
|
</Key>
|
|
<Property Name="idxCli" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="RagSoc" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Sesso" Type="char" MaxLength="1" Nullable="false" />
|
|
<Property Name="POBirth" Type="nvarchar" MaxLength="250" Nullable="false" />
|
|
<Property Name="DOBirth" Type="datetime" Nullable="false" />
|
|
<Property Name="P_iva" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="C_Fisc" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Via" Type="nvarchar" MaxLength="250" Nullable="false" />
|
|
<Property Name="Località" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Cap" Type="nvarchar" MaxLength="5" Nullable="false" />
|
|
<Property Name="Provincia" Type="nvarchar" MaxLength="2" Nullable="false" />
|
|
<Property Name="Pagamento" Type="nvarchar" MaxLength="250" Nullable="false" />
|
|
<Property Name="Note" Type="ntext" Nullable="false" />
|
|
<Property Name="idxGruppo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Contributi">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="Descrizione" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Percentuale" Type="float" Nullable="false" />
|
|
<Property Name="Imponibile" Type="bit" Nullable="false" />
|
|
<Property Name="Ritenuta" Type="bit" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="CostiAssorbiti">
|
|
<Key>
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Key>
|
|
<Property Name="IdxFatt" Type="int" Nullable="false" />
|
|
<Property Name="netto" Type="money" Nullable="false" />
|
|
<Property Name="note" Type="nvarchar" MaxLength="2500" Nullable="false" />
|
|
</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="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="COD_CDC" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="COD_MODULO" Type="nvarchar" MaxLength="31" Nullable="false" />
|
|
<Property Name="COD_FUNZIONE" Type="nvarchar" MaxLength="31" Nullable="false" />
|
|
<Property Name="VALUE" Type="varchar" MaxLength="255" />
|
|
</EntityType>
|
|
<EntityType Name="Fatture">
|
|
<Key>
|
|
<PropertyRef Name="IdxFatt" />
|
|
</Key>
|
|
<Property Name="IdxFatt" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="Anno" Type="int" Nullable="false" />
|
|
<Property Name="Num" Type="int" Nullable="false" />
|
|
<Property Name="idxCli" Type="int" Nullable="false" />
|
|
<Property Name="Tipo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Data" Type="datetime" Nullable="false" />
|
|
<Property Name="Ritenuta" Type="float" Nullable="false" />
|
|
<Property Name="IsTemplate" Type="bit" Nullable="false" />
|
|
<Property Name="IdxTemplate" Type="int" Nullable="false" />
|
|
<Property Name="Id" Type="int" StoreGeneratedPattern="Computed" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="FUNZIONE">
|
|
<Key>
|
|
<PropertyRef Name="COD_FUNZIONE" />
|
|
</Key>
|
|
<Property Name="COD_FUNZIONE" Type="nvarchar" MaxLength="31" Nullable="false" />
|
|
<Property Name="DESCRIZIONE" Type="nvarchar" MaxLength="500" />
|
|
</EntityType>
|
|
<EntityType Name="Gruppi">
|
|
<Key>
|
|
<PropertyRef Name="IdxGruppo" />
|
|
</Key>
|
|
<Property Name="IdxGruppo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Descr" Type="nvarchar" MaxLength="50" />
|
|
</EntityType>
|
|
<EntityType Name="Lingue">
|
|
<Key>
|
|
<PropertyRef Name="Lingua" />
|
|
</Key>
|
|
<Property Name="Lingua" Type="nvarchar" MaxLength="3" Nullable="false" />
|
|
<Property Name="DescrizioneLingua" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="ListValues">
|
|
<Key>
|
|
<PropertyRef Name="TableName" />
|
|
<PropertyRef Name="FieldName" />
|
|
<PropertyRef Name="value" />
|
|
</Key>
|
|
<Property Name="TableName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="FieldName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="value" Type="nvarchar" MaxLength="10" Nullable="false" />
|
|
<Property Name="label" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="ordinal" Type="int" />
|
|
</EntityType>
|
|
<EntityType Name="MODULO">
|
|
<Key>
|
|
<PropertyRef Name="COD_MODULO" />
|
|
</Key>
|
|
<Property Name="COD_MODULO" Type="nvarchar" MaxLength="31" Nullable="false" />
|
|
<Property Name="DESCRIZIONE" Type="varchar" MaxLength="200" />
|
|
</EntityType>
|
|
<EntityType Name="Pagamenti">
|
|
<Key>
|
|
<PropertyRef Name="Id_fatt" />
|
|
<PropertyRef Name="data" />
|
|
</Key>
|
|
<Property Name="Id_fatt" Type="int" Nullable="false" />
|
|
<Property Name="data" Type="datetime" Nullable="false" />
|
|
<Property Name="netto" Type="money" />
|
|
<Property Name="importo" Type="money" />
|
|
<Property Name="note" Type="nvarchar" MaxLength="50" />
|
|
</EntityType>
|
|
<EntityType Name="Permessi">
|
|
<Key>
|
|
<PropertyRef Name="COD_PERMESSO" />
|
|
</Key>
|
|
<Property Name="COD_PERMESSO" Type="varchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="URL" Type="varchar" MaxLength="250" Nullable="false" />
|
|
<Property Name="GRUPPO" Type="int" />
|
|
<Property Name="NUMERO" Type="int" />
|
|
<Property Name="NOME" Type="varchar" MaxLength="50" />
|
|
<Property Name="DESCRIZIONE" Type="varchar" MaxLength="50" />
|
|
</EntityType>
|
|
<EntityType Name="Permessi2Funzione">
|
|
<Key>
|
|
<PropertyRef Name="COD_PERMESSO" />
|
|
<PropertyRef Name="COD_FUNZIONE" />
|
|
</Key>
|
|
<Property Name="COD_PERMESSO" Type="varchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="COD_FUNZIONE" Type="nvarchar" MaxLength="31" Nullable="false" />
|
|
<Property Name="READWRITE" Type="char" MaxLength="1" />
|
|
</EntityType>
|
|
<EntityType Name="Righe_fatt">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="idxDoc" Type="int" />
|
|
<Property Name="Descrizione" Type="nvarchar" MaxLength="1500" />
|
|
<Property Name="um" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="prezzo/um" Type="money" />
|
|
<Property Name="qta" Type="real" Nullable="false" />
|
|
<Property Name="sconto" Type="real" Nullable="false" />
|
|
<Property Name="c_iva" Type="int" />
|
|
<Property Name="no_ritenuta" Type="bit" Nullable="false" />
|
|
<Property Name="valuta" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
<Property Name="Id_fatt" Type="int" StoreGeneratedPattern="Computed" />
|
|
<Property Name="codExt" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="quotaProj" Type="float" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="RigheFatt">
|
|
<Key>
|
|
<PropertyRef Name="IdxRigheFatt" />
|
|
</Key>
|
|
<Property Name="IdxRigheFatt" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="IdxFatt" Type="int" />
|
|
<Property Name="Descrizione" Type="ntext" />
|
|
<Property Name="um" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="PrezzoUm" Type="money" />
|
|
<Property Name="qta" Type="int" />
|
|
<Property Name="sconto" Type="real" />
|
|
<Property Name="C_iva" Type="int" />
|
|
<Property Name="no_ritenuta" Type="bit" />
|
|
</EntityType>
|
|
<EntityType Name="Scadenze">
|
|
<Key>
|
|
<PropertyRef Name="Id_fatt" />
|
|
<PropertyRef Name="data" />
|
|
</Key>
|
|
<Property Name="Id_fatt" Type="int" Nullable="false" />
|
|
<Property Name="data" Type="datetime" Nullable="false" />
|
|
<Property Name="netto" Type="money" />
|
|
<Property Name="importo" Type="money" />
|
|
<Property Name="note" Type="nvarchar" MaxLength="50" />
|
|
</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="UTENTE">
|
|
<Key>
|
|
<PropertyRef Name="USER_NAME" />
|
|
</Key>
|
|
<Property Name="DOMINIO" Type="varchar" MaxLength="30" />
|
|
<Property Name="USER_NAME" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="COGNOME" Type="varchar" MaxLength="100" />
|
|
<Property Name="NOME" Type="varchar" MaxLength="100" />
|
|
<Property Name="COD_SOCIETA" Type="varchar" MaxLength="5" />
|
|
<Property Name="MATRICOLA" Type="varchar" MaxLength="5" />
|
|
<Property Name="COD_CDC" Type="varchar" MaxLength="10" />
|
|
<Property Name="EMAIL" Type="varchar" MaxLength="100" />
|
|
<Property Name="SIGLA" Type="nvarchar" MaxLength="5" />
|
|
<Property Name="COD_LINGUA" Type="varchar" MaxLength="3" />
|
|
<Property Name="ATTIVO" Type="char" MaxLength="1" />
|
|
</EntityType>
|
|
<EntityType Name="Vocabolario">
|
|
<Key>
|
|
<PropertyRef Name="Lingua" />
|
|
<PropertyRef Name="Lemma" />
|
|
</Key>
|
|
<Property Name="Lingua" Type="nvarchar" MaxLength="3" Nullable="false" />
|
|
<Property Name="Lemma" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Traduzione" Type="nvarchar" MaxLength="500" Nullable="false" />
|
|
</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_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_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_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_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>
|
|
<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_iva" />
|
|
</Principal>
|
|
<Dependent Role="Righe_fatt">
|
|
<PropertyRef Name="c_iva" />
|
|
</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_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_iva" />
|
|
</Principal>
|
|
<Dependent Role="RigheFatt">
|
|
<PropertyRef Name="C_iva" />
|
|
</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_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_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>
|
|
<EntityContainer Name="MAPModelStoreContainer">
|
|
<EntitySet Name="Anagr_elem_doc" EntityType="Self.Anagr_elem_doc" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Anagr_elem_movimenti" EntityType="Self.Anagr_elem_movimenti" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Anagr_gruppi_righe_voci_fatt" EntityType="Self.Anagr_gruppi_righe_voci_fatt" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Anagr_movimenti" EntityType="Self.Anagr_movimenti" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Anagr_tipo_elem" EntityType="Self.Anagr_tipo_elem" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="AreaCap" EntityType="Self.AreaCap" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="C_iva" EntityType="Self.C_iva" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="CDC" EntityType="Self.CDC" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Clienti" EntityType="Self.Clienti" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Contributi" EntityType="Self.Contributi" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="CostiAssorbiti" EntityType="Self.CostiAssorbiti" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="DIRITTI" EntityType="Self.DIRITTI" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Fatture" EntityType="Self.Fatture" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="FUNZIONE" EntityType="Self.FUNZIONE" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Gruppi" EntityType="Self.Gruppi" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Lingue" EntityType="Self.Lingue" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="ListValues" EntityType="Self.ListValues" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="MODULO" EntityType="Self.MODULO" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Pagamenti" EntityType="Self.Pagamenti" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Permessi" EntityType="Self.Permessi" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Permessi2Funzione" EntityType="Self.Permessi2Funzione" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Righe_fatt" EntityType="Self.Righe_fatt" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="RigheFatt" EntityType="Self.RigheFatt" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Scadenze" EntityType="Self.Scadenze" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="UTENTE" EntityType="Self.UTENTE" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Vocabolario" EntityType="Self.Vocabolario" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Anagr_righe_voci_fatt" EntityType="Self.Anagr_righe_voci_fatt" store:Type="Tables" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[Anagr_righe_voci_fatt].[id] AS [id],
|
|
[Anagr_righe_voci_fatt].[descrizione] AS [descrizione],
|
|
[Anagr_righe_voci_fatt].[um] AS [um],
|
|
[Anagr_righe_voci_fatt].[prezzo_um] AS [prezzo_um],
|
|
[Anagr_righe_voci_fatt].[qta] AS [qta],
|
|
[Anagr_righe_voci_fatt].[sconto] AS [sconto],
|
|
[Anagr_righe_voci_fatt].[iva] AS [iva],
|
|
[Anagr_righe_voci_fatt].[no_ritenuta] AS [no_ritenuta]
|
|
FROM [dbo].[Anagr_righe_voci_fatt] AS [Anagr_righe_voci_fatt]</DefiningQuery>
|
|
</EntitySet>
|
|
<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_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_Fatture_Clienti" Association="Self.FK_Fatture_Clienti">
|
|
<End Role="Clienti" EntitySet="Clienti" />
|
|
<End Role="Fatture" EntitySet="Fatture" />
|
|
</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_Permessi2Funzione_Permessi" Association="Self.FK_Permessi2Funzione_Permessi">
|
|
<End Role="Permessi" EntitySet="Permessi" />
|
|
<End Role="Permessi2Funzione" EntitySet="Permessi2Funzione" />
|
|
</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_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_C_iva" Association="Self.FK_RigheFatt_C_iva">
|
|
<End Role="C_iva" EntitySet="C_iva" />
|
|
<End Role="RigheFatt" EntitySet="RigheFatt" />
|
|
</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_UTENTE_CDC" Association="Self.FK_UTENTE_CDC">
|
|
<End Role="CDC" EntitySet="CDC" />
|
|
<End Role="UTENTE" EntitySet="UTENTE" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Vocabolario_Lingue" Association="Self.FK_Vocabolario_Lingue">
|
|
<End Role="Lingue" EntitySet="Lingue" />
|
|
<End Role="Vocabolario" EntitySet="Vocabolario" />
|
|
</AssociationSet>
|
|
</EntityContainer>
|
|
</Schema> |