Avanzamento x parte template con EF
This commit is contained in:
@@ -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