Avanzamento x parte template con EF
This commit is contained in:
@@ -1 +1 @@
|
||||
30338fa98c0593a3698e3167cbb08a45e46823b0
|
||||
f130c0723100e2b65c168f6271f26212ad7fcdc5
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -63,7 +63,6 @@
|
||||
<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">
|
||||
@@ -146,7 +145,6 @@
|
||||
<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" />
|
||||
@@ -229,26 +227,6 @@
|
||||
<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" />
|
||||
@@ -277,16 +255,6 @@
|
||||
<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" />
|
||||
@@ -340,18 +308,6 @@
|
||||
</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="*" />
|
||||
@@ -448,18 +404,6 @@
|
||||
</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="*" />
|
||||
@@ -530,10 +474,8 @@
|
||||
<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" />
|
||||
@@ -541,10 +483,6 @@
|
||||
<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" />
|
||||
@@ -577,10 +515,6 @@
|
||||
<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" />
|
||||
@@ -598,6 +532,8 @@
|
||||
<End Role="Permessi2Funzione" EntitySet="Permessi2Funzione" />
|
||||
</AssociationSet>
|
||||
<EntitySet Name="Documenti" EntityType="MAPModel.Documenti" />
|
||||
<EntitySet Name="DocTemplate" EntityType="MAPModel.DocTemplate" />
|
||||
<EntitySet Name="RowTemplate" EntityType="MAPModel.RowTemplate" />
|
||||
</EntityContainer>
|
||||
<EntityType Name="Documenti">
|
||||
<Key>
|
||||
@@ -636,4 +572,53 @@
|
||||
<Property Name="ritenuta" Type="Double" Nullable="false" />
|
||||
<Property Name="CostiAss" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
</EntityType>
|
||||
<EntityType Name="DocTemplate">
|
||||
<Key>
|
||||
<PropertyRef Name="idxDoc" />
|
||||
<PropertyRef Name="Gruppo" />
|
||||
<PropertyRef Name="RagSoc" />
|
||||
<PropertyRef Name="num" />
|
||||
<PropertyRef Name="anno" />
|
||||
<PropertyRef Name="netto" />
|
||||
<PropertyRef Name="iva" />
|
||||
<PropertyRef Name="importo" />
|
||||
<PropertyRef Name="tipo" />
|
||||
<PropertyRef Name="idxCli" />
|
||||
<PropertyRef Name="totPagato" />
|
||||
<PropertyRef Name="totScadenze" />
|
||||
<PropertyRef Name="Descrizione" />
|
||||
<PropertyRef Name="ritenuta" />
|
||||
<PropertyRef Name="CostiAss" />
|
||||
</Key>
|
||||
<Property Name="idxDoc" Type="Int32" Nullable="false" />
|
||||
<Property Name="emesso" Type="DateTime" Precision="0" />
|
||||
<Property Name="Gruppo" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="RagSoc" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="num" Type="Int32" Nullable="false" />
|
||||
<Property Name="anno" Type="Int32" Nullable="false" />
|
||||
<Property Name="Trim" Type="Int32" />
|
||||
<Property Name="Mese" Type="Int32" />
|
||||
<Property Name="netto" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="iva" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="importo" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="tipo" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="idxCli" Type="Int32" Nullable="false" />
|
||||
<Property Name="totPagato" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
<Property Name="totScadenze" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
<Property Name="Descrizione" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||||
<Property Name="ritenuta" Type="Double" Nullable="false" />
|
||||
<Property Name="CostiAss" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
</EntityType>
|
||||
<EntityType Name="RowTemplate">
|
||||
<Key>
|
||||
<PropertyRef Name="importo" />
|
||||
<PropertyRef Name="netto" />
|
||||
<PropertyRef Name="iva" />
|
||||
</Key>
|
||||
<Property Name="IdxRigheFatt" Type="Int32" />
|
||||
<Property Name="Descrizione" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||||
<Property Name="importo" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="netto" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="iva" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
</EntityType>
|
||||
</Schema>
|
||||
@@ -221,25 +221,6 @@
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="Righe_fatt">
|
||||
<EntityTypeMapping TypeName="MAPModel.Righe_fatt">
|
||||
<MappingFragment StoreEntitySet="Righe_fatt">
|
||||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||||
<ScalarProperty Name="idxDoc" ColumnName="idxDoc" />
|
||||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" />
|
||||
<ScalarProperty Name="um" ColumnName="um" />
|
||||
<ScalarProperty Name="prezzo_um" ColumnName="prezzo/um" />
|
||||
<ScalarProperty Name="qta" ColumnName="qta" />
|
||||
<ScalarProperty Name="sconto" ColumnName="sconto" />
|
||||
<ScalarProperty Name="c_iva" ColumnName="c_iva" />
|
||||
<ScalarProperty Name="no_ritenuta" ColumnName="no_ritenuta" />
|
||||
<ScalarProperty Name="valuta" ColumnName="valuta" />
|
||||
<ScalarProperty Name="Id_fatt" ColumnName="Id_fatt" />
|
||||
<ScalarProperty Name="codExt" ColumnName="codExt" />
|
||||
<ScalarProperty Name="quotaProj" ColumnName="quotaProj" />
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="RigheFatt">
|
||||
<EntityTypeMapping TypeName="MAPModel.RigheFatt">
|
||||
<MappingFragment StoreEntitySet="RigheFatt">
|
||||
@@ -266,17 +247,6 @@
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="sysdiagrams">
|
||||
<EntityTypeMapping TypeName="MAPModel.sysdiagrams">
|
||||
<MappingFragment StoreEntitySet="sysdiagrams">
|
||||
<ScalarProperty Name="name" ColumnName="name" />
|
||||
<ScalarProperty Name="principal_id" ColumnName="principal_id" />
|
||||
<ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
|
||||
<ScalarProperty Name="version" ColumnName="version" />
|
||||
<ScalarProperty Name="definition" ColumnName="definition" />
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="UTENTE">
|
||||
<EntityTypeMapping TypeName="MAPModel.UTENTE">
|
||||
<MappingFragment StoreEntitySet="UTENTE">
|
||||
@@ -341,5 +311,40 @@
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="DocTemplate">
|
||||
<EntityTypeMapping TypeName="MAPModel.DocTemplate">
|
||||
<MappingFragment StoreEntitySet="v_DocTemplate">
|
||||
<ScalarProperty Name="CostiAss" ColumnName="CostiAss" />
|
||||
<ScalarProperty Name="ritenuta" ColumnName="ritenuta" />
|
||||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" />
|
||||
<ScalarProperty Name="totScadenze" ColumnName="totScadenze" />
|
||||
<ScalarProperty Name="totPagato" ColumnName="totPagato" />
|
||||
<ScalarProperty Name="idxCli" ColumnName="idxCli" />
|
||||
<ScalarProperty Name="tipo" ColumnName="tipo" />
|
||||
<ScalarProperty Name="importo" ColumnName="importo" />
|
||||
<ScalarProperty Name="iva" ColumnName="iva" />
|
||||
<ScalarProperty Name="netto" ColumnName="netto" />
|
||||
<ScalarProperty Name="Mese" ColumnName="Mese" />
|
||||
<ScalarProperty Name="Trim" ColumnName="Trim" />
|
||||
<ScalarProperty Name="anno" ColumnName="anno" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
<ScalarProperty Name="RagSoc" ColumnName="RagSoc" />
|
||||
<ScalarProperty Name="Gruppo" ColumnName="Gruppo" />
|
||||
<ScalarProperty Name="emesso" ColumnName="emesso" />
|
||||
<ScalarProperty Name="idxDoc" ColumnName="idxDoc" />
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="RowTemplate">
|
||||
<EntityTypeMapping TypeName="MAPModel.RowTemplate">
|
||||
<MappingFragment StoreEntitySet="v_RowTemplate">
|
||||
<ScalarProperty Name="iva" ColumnName="iva" />
|
||||
<ScalarProperty Name="netto" ColumnName="netto" />
|
||||
<ScalarProperty Name="importo" ColumnName="importo" />
|
||||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" />
|
||||
<ScalarProperty Name="IdxRigheFatt" ColumnName="IdxRigheFatt" />
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
</EntityContainerMapping>
|
||||
</Mapping>
|
||||
@@ -222,24 +222,6 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<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" />
|
||||
@@ -265,16 +247,6 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<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" />
|
||||
@@ -339,6 +311,59 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<Property Name="ritenuta" Type="float" Nullable="false" />
|
||||
<Property Name="CostiAss" Type="money" Nullable="false" />
|
||||
</EntityType>
|
||||
<!--Errori trovati durante la generazione:
|
||||
avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'MedAP.dbo.v_DocTemplate'. La chiave è stata dedotta e la definizione è stata creata come tabella/visualizzazione di sola lettura.-->
|
||||
<EntityType Name="v_DocTemplate">
|
||||
<Key>
|
||||
<PropertyRef Name="idxDoc" />
|
||||
<PropertyRef Name="Gruppo" />
|
||||
<PropertyRef Name="RagSoc" />
|
||||
<PropertyRef Name="num" />
|
||||
<PropertyRef Name="anno" />
|
||||
<PropertyRef Name="netto" />
|
||||
<PropertyRef Name="iva" />
|
||||
<PropertyRef Name="importo" />
|
||||
<PropertyRef Name="tipo" />
|
||||
<PropertyRef Name="idxCli" />
|
||||
<PropertyRef Name="totPagato" />
|
||||
<PropertyRef Name="totScadenze" />
|
||||
<PropertyRef Name="Descrizione" />
|
||||
<PropertyRef Name="ritenuta" />
|
||||
<PropertyRef Name="CostiAss" />
|
||||
</Key>
|
||||
<Property Name="idxDoc" Type="int" Nullable="false" />
|
||||
<Property Name="emesso" Type="date" />
|
||||
<Property Name="Gruppo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="RagSoc" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="num" Type="int" Nullable="false" />
|
||||
<Property Name="anno" Type="int" Nullable="false" />
|
||||
<Property Name="Trim" Type="int" />
|
||||
<Property Name="Mese" Type="int" />
|
||||
<Property Name="netto" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="iva" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="importo" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="tipo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="idxCli" Type="int" Nullable="false" />
|
||||
<Property Name="totPagato" Type="money" Nullable="false" />
|
||||
<Property Name="totScadenze" Type="money" Nullable="false" />
|
||||
<Property Name="Descrizione" Type="nvarchar(max)" Nullable="false" />
|
||||
<Property Name="ritenuta" Type="float" Nullable="false" />
|
||||
<Property Name="CostiAss" Type="money" Nullable="false" />
|
||||
</EntityType>
|
||||
<!--Errori trovati durante la generazione:
|
||||
avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'MedAP.dbo.v_RowTemplate'. La chiave è stata dedotta e la definizione è stata creata come tabella/visualizzazione di sola lettura.-->
|
||||
<EntityType Name="v_RowTemplate">
|
||||
<Key>
|
||||
<PropertyRef Name="importo" />
|
||||
<PropertyRef Name="netto" />
|
||||
<PropertyRef Name="iva" />
|
||||
</Key>
|
||||
<Property Name="IdxRigheFatt" Type="int" />
|
||||
<Property Name="Descrizione" Type="nvarchar(max)" />
|
||||
<Property Name="importo" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="netto" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="iva" Type="decimal" Precision="9" Scale="2" 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="*" />
|
||||
@@ -435,30 +460,6 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
</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="*" />
|
||||
@@ -541,10 +542,8 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<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">
|
||||
@@ -581,6 +580,37 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
[v_docsExpl].[CostiAss] AS [CostiAss]
|
||||
FROM [dbo].[v_docsExpl] AS [v_docsExpl]</DefiningQuery>
|
||||
</EntitySet>
|
||||
<EntitySet Name="v_DocTemplate" EntityType="Self.v_DocTemplate" store:Type="Views" store:Schema="dbo">
|
||||
<DefiningQuery>SELECT
|
||||
[v_DocTemplate].[idxDoc] AS [idxDoc],
|
||||
[v_DocTemplate].[emesso] AS [emesso],
|
||||
[v_DocTemplate].[Gruppo] AS [Gruppo],
|
||||
[v_DocTemplate].[RagSoc] AS [RagSoc],
|
||||
[v_DocTemplate].[num] AS [num],
|
||||
[v_DocTemplate].[anno] AS [anno],
|
||||
[v_DocTemplate].[Trim] AS [Trim],
|
||||
[v_DocTemplate].[Mese] AS [Mese],
|
||||
[v_DocTemplate].[netto] AS [netto],
|
||||
[v_DocTemplate].[iva] AS [iva],
|
||||
[v_DocTemplate].[importo] AS [importo],
|
||||
[v_DocTemplate].[tipo] AS [tipo],
|
||||
[v_DocTemplate].[idxCli] AS [idxCli],
|
||||
[v_DocTemplate].[totPagato] AS [totPagato],
|
||||
[v_DocTemplate].[totScadenze] AS [totScadenze],
|
||||
[v_DocTemplate].[Descrizione] AS [Descrizione],
|
||||
[v_DocTemplate].[ritenuta] AS [ritenuta],
|
||||
[v_DocTemplate].[CostiAss] AS [CostiAss]
|
||||
FROM [dbo].[v_DocTemplate] AS [v_DocTemplate]</DefiningQuery>
|
||||
</EntitySet>
|
||||
<EntitySet Name="v_RowTemplate" EntityType="Self.v_RowTemplate" store:Type="Views" store:Schema="dbo">
|
||||
<DefiningQuery>SELECT
|
||||
[v_RowTemplate].[IdxRigheFatt] AS [IdxRigheFatt],
|
||||
[v_RowTemplate].[Descrizione] AS [Descrizione],
|
||||
[v_RowTemplate].[importo] AS [importo],
|
||||
[v_RowTemplate].[netto] AS [netto],
|
||||
[v_RowTemplate].[iva] AS [iva]
|
||||
FROM [dbo].[v_RowTemplate] AS [v_RowTemplate]</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" />
|
||||
@@ -613,14 +643,6 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<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" />
|
||||
|
||||
Reference in New Issue
Block a user