-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with publishing using Visual Studio
- Loading branch information
Showing
5 changed files
with
248 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Schema xmlns="http://schemas.microsoft.com/ado/2009/11/edm" xmlns:cg="http://schemas.microsoft.com/ado/2006/04/codegeneration" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" Namespace="AgendaModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" annotation:UseStrongSpatialTypes="false"> | ||
<EntityContainer Name="AgendaContext" annotation:LazyLoadingEnabled="true"> | ||
<EntitySet Name="AGE_ACCESSI" EntityType="AgendaModel.AccessiUtente" /> | ||
<EntitySet Name="AGE_UTENTI" EntityType="AgendaModel.Utenti" /> | ||
<AssociationSet Name="FK_UtentiAccessiUtente" Association="AgendaModel.FK_UtentiAccessiUtente"> | ||
<End Role="AGE_UTENTI" EntitySet="AGE_UTENTI" /> | ||
<End Role="AccessiUtente" EntitySet="AGE_ACCESSI" /> | ||
</AssociationSet> | ||
<EntitySet Name="AGE_QUERY_CUSTOM" EntityType="AgendaModel.QueryCustom" /> | ||
<EntitySet Name="AGE_QUERY_FILTRI" EntityType="AgendaModel.QueryFiltri" /> | ||
<AssociationSet Name="QueryCustomFiltri" Association="AgendaModel.QueryCustomFiltri"> | ||
<End Role="VistaAgenda" EntitySet="AGE_QUERY_CUSTOM" /> | ||
<End Role="VistaCondizione" EntitySet="AGE_QUERY_FILTRI" /> | ||
</AssociationSet> | ||
</EntityContainer> | ||
<EntityType Name="AccessiUtente"> | ||
<Key> | ||
<PropertyRef Name="Id" /> | ||
</Key> | ||
<Property Type="Int32" Name="Id" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> | ||
<Property Type="String" Name="USER_ID" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" /> | ||
<Property Type="DateTime" Name="DataAccesso" Nullable="false" /> | ||
<Property Type="String" Name="ServerVariables" MaxLength="2000" FixedLength="false" Unicode="true" /> | ||
<Property Type="String" Name="Modulo" Nullable="true" MaxLength="255" /> | ||
<NavigationProperty Name="AGE_UTENTI" Relationship="AgendaModel.FK_UtentiAccessiUtente" FromRole="AccessiUtente" ToRole="AGE_UTENTI" /> | ||
</EntityType> | ||
<EntityType Name="Utenti"> | ||
<Key> | ||
<PropertyRef Name="UserId" /> | ||
</Key> | ||
<Property Type="String" Name="UserId" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" /> | ||
<Property Type="String" Name="Nome" MaxLength="50" FixedLength="false" Unicode="true" /> | ||
<Property Type="String" Name="Cognome" MaxLength="50" FixedLength="false" Unicode="true" /> | ||
<NavigationProperty Name="AGE_ACCESSI" Relationship="AgendaModel.FK_UtentiAccessiUtente" FromRole="AGE_UTENTI" ToRole="AccessiUtente" /> | ||
</EntityType> | ||
<Association Name="FK_UtentiAccessiUtente"> | ||
<End Type="AgendaModel.Utenti" Role="AGE_UTENTI" Multiplicity="1" /> | ||
<End Type="AgendaModel.AccessiUtente" Role="AccessiUtente" Multiplicity="*" /> | ||
<ReferentialConstraint> | ||
<Principal Role="AGE_UTENTI"> | ||
<PropertyRef Name="UserId" /> | ||
</Principal> | ||
<Dependent Role="AccessiUtente"> | ||
<PropertyRef Name="USER_ID" /> | ||
</Dependent> | ||
</ReferentialConstraint> | ||
</Association> | ||
<EntityType Name="QueryCustom"> | ||
<Key> | ||
<PropertyRef Name="Id" /> | ||
</Key> | ||
<Property Type="Int32" Name="Id" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> | ||
<Property Type="String" Name="Codice" MaxLength="80" FixedLength="false" Unicode="true" Nullable="false"> | ||
<Documentation> | ||
<Summary>codice univoco</Summary> | ||
</Documentation> | ||
</Property> | ||
<Property Type="String" Name="ColumnsList" Nullable="true" MaxLength="2000" FixedLength="false" Unicode="true"> | ||
<Documentation> | ||
<Summary>contenuto della select (*, CODICE, ANNO, ...), se vuoto allora è un * implicito</Summary> | ||
</Documentation> | ||
</Property> | ||
<Property Type="String" Name="Source" Nullable="false" MaxLength="2000" FixedLength="false" Unicode="true"> | ||
<Documentation> | ||
<Summary>corrisponde alla from, quindi da dove leggere i dati (es. ADM_CONCORSI)</Summary> | ||
</Documentation> | ||
</Property> | ||
<Property Type="String" Name="Descrizione" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true"> | ||
<Documentation> | ||
<Summary>descrizione interna di spiegazione</Summary> | ||
</Documentation> | ||
</Property> | ||
<Property Type="String" Name="Modulo" Nullable="true" MaxLength="255"> | ||
<Documentation> | ||
<Summary>codice del modulo progetto (es. ADM, CLK,...)</Summary> | ||
</Documentation> | ||
</Property> | ||
<NavigationProperty Name="VistaCondizione" Relationship="AgendaModel.QueryCustomFiltri" FromRole="VistaAgenda" ToRole="VistaCondizione" /> | ||
<Property Type="String" Name="Note" Nullable="true" MaxLength="2000" FixedLength="false" Unicode="true" /> | ||
</EntityType> | ||
<EntityType Name="QueryFiltri"> | ||
<Key> | ||
<PropertyRef Name="Id" /> | ||
</Key> | ||
<Property Type="Int32" Name="Id" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> | ||
<NavigationProperty Name="VistaAgenda" Relationship="AgendaModel.QueryCustomFiltri" FromRole="VistaCondizione" ToRole="VistaAgenda" /> | ||
<Property Type="Int32" Name="QueryCustomId" Nullable="false" /> | ||
<Property Type="String" Name="Codice" Nullable="false" MaxLength="80" FixedLength="false" Unicode="true" /> | ||
<Property Type="String" Name="Filtro" Nullable="false" MaxLength="2000" FixedLength="false" Unicode="true"> | ||
<Documentation> | ||
<Summary>condizione sql senza la clausula di where (es. ANNO=2015 AND CODICE='a')</Summary> | ||
</Documentation> | ||
</Property> | ||
<Property Type="String" Name="Descrizione" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true"> | ||
<Documentation> | ||
<Summary>descrizione interna di spiegazione</Summary> | ||
</Documentation> | ||
</Property> | ||
<Property Type="String" Name="Note" Nullable="true" MaxLength="2000" FixedLength="false" Unicode="true" /> | ||
</EntityType> | ||
<Association Name="QueryCustomFiltri"> | ||
<End Type="AgendaModel.QueryCustom" Role="VistaAgenda" Multiplicity="1" /> | ||
<End Type="AgendaModel.QueryFiltri" Role="VistaCondizione" Multiplicity="*" /> | ||
<ReferentialConstraint> | ||
<Principal Role="VistaAgenda"> | ||
<PropertyRef Name="Id" /> | ||
</Principal> | ||
<Dependent Role="VistaCondizione"> | ||
<PropertyRef Name="QueryCustomId" /> | ||
</Dependent> | ||
</ReferentialConstraint> | ||
</Association> | ||
</Schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs"> | ||
<EntityContainerMapping StorageEntityContainer="AgendaModelStoreContainer" CdmEntityContainer="AgendaContext"> | ||
<EntitySetMapping Name="AGE_ACCESSI"> | ||
<EntityTypeMapping TypeName="AgendaModel.AccessiUtente"> | ||
<MappingFragment StoreEntitySet="AGE_ACCESSI"> | ||
<ScalarProperty Name="Id" ColumnName="Id" /> | ||
<ScalarProperty Name="USER_ID" ColumnName="USER_ID" /> | ||
<ScalarProperty Name="DataAccesso" ColumnName="DataAccesso" /> | ||
<ScalarProperty Name="ServerVariables" ColumnName="ServerVariables" /> | ||
<ScalarProperty Name="Modulo" ColumnName="Modulo" /> | ||
</MappingFragment> | ||
</EntityTypeMapping> | ||
</EntitySetMapping> | ||
<EntitySetMapping Name="AGE_UTENTI"> | ||
<EntityTypeMapping TypeName="AgendaModel.Utenti"> | ||
<MappingFragment StoreEntitySet="AGE_UTENTI"> | ||
<ScalarProperty Name="UserId" ColumnName="UserId" /> | ||
<ScalarProperty Name="Nome" ColumnName="Nome" /> | ||
<ScalarProperty Name="Cognome" ColumnName="Cognome" /> | ||
</MappingFragment> | ||
</EntityTypeMapping> | ||
</EntitySetMapping> | ||
<EntitySetMapping Name="AGE_QUERY_CUSTOM"> | ||
<EntityTypeMapping TypeName="AgendaModel.QueryCustom"> | ||
<MappingFragment StoreEntitySet="AGE_QUERY_CUSTOM"> | ||
<ScalarProperty Name="Id" ColumnName="Id" /> | ||
<ScalarProperty Name="Codice" ColumnName="Codice" /> | ||
<ScalarProperty Name="ColumnsList" ColumnName="ColumnsList" /> | ||
<ScalarProperty Name="Source" ColumnName="Source" /> | ||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" /> | ||
<ScalarProperty Name="Modulo" ColumnName="Modulo" /> | ||
<ScalarProperty Name="Note" ColumnName="Note" /> | ||
</MappingFragment> | ||
</EntityTypeMapping> | ||
</EntitySetMapping> | ||
<EntitySetMapping Name="AGE_QUERY_FILTRI"> | ||
<EntityTypeMapping TypeName="AgendaModel.QueryFiltri"> | ||
<MappingFragment StoreEntitySet="AGE_QUERY_FILTRI"> | ||
<ScalarProperty Name="Id" ColumnName="Id" /> | ||
<ScalarProperty Name="QueryCustomId" ColumnName="QueryCustomId" /> | ||
<ScalarProperty Name="Codice" ColumnName="Codice" /> | ||
<ScalarProperty Name="Filtro" ColumnName="Filtro" /> | ||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" /> | ||
<ScalarProperty Name="Note" ColumnName="Note" /> | ||
</MappingFragment> | ||
</EntityTypeMapping> | ||
</EntitySetMapping> | ||
</EntityContainerMapping> | ||
</Mapping> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Schema Namespace="AgendaModel.Store" Alias="Self" Provider="Oracle.DataAccess.Client" ProviderManifestToken="11.2" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator"> | ||
<EntityContainer Name="AgendaModelStoreContainer"> | ||
<EntitySet Name="AGE_ACCESSI" EntityType="AgendaModel.Store.AGE_ACCESSI" store:Type="Tables" /> | ||
<EntitySet Name="AGE_UTENTI" EntityType="AgendaModel.Store.AGE_UTENTI" store:Type="Tables" /> | ||
<EntitySet Name="AGE_QUERY_CUSTOM" EntityType="AgendaModel.Store.AGE_QUERY_CUSTOM" store:Type="Tables" /> | ||
<EntitySet Name="AGE_QUERY_FILTRI" EntityType="AgendaModel.Store.AGE_QUERY_FILTRI" store:Type="Tables" /> | ||
<AssociationSet Name="FK_UtentiAccessiUtente" Association="AgendaModel.Store.FK_UtentiAccessiUtente"> | ||
<End Role="AGE_UTENTI" EntitySet="AGE_UTENTI" /> | ||
<End Role="AccessiUtente" EntitySet="AGE_ACCESSI" /> | ||
</AssociationSet> | ||
<AssociationSet Name="QueryCustomFiltri" Association="AgendaModel.Store.QueryCustomFiltri"> | ||
<End Role="VistaAgenda" EntitySet="AGE_QUERY_CUSTOM" /> | ||
<End Role="VistaCondizione" EntitySet="AGE_QUERY_FILTRI" /> | ||
</AssociationSet> | ||
</EntityContainer> | ||
<EntityType Name="AGE_ACCESSI"> | ||
<Key> | ||
<PropertyRef Name="Id" /> | ||
</Key> | ||
<Property Name="Id" Type="number" Nullable="false" Precision="10" StoreGeneratedPattern="Identity" /> | ||
<Property Name="USER_ID" Type="varchar2" Nullable="false" MaxLength="255" /> | ||
<Property Name="DataAccesso" Type="date" Nullable="false" /> | ||
<Property Name="ServerVariables" Type="nvarchar2" Nullable="true" MaxLength="2000" /> | ||
<Property Name="Modulo" Type="nvarchar2" Nullable="true" MaxLength="255" /> | ||
</EntityType> | ||
<EntityType Name="AGE_UTENTI"> | ||
<Key> | ||
<PropertyRef Name="UserId" /> | ||
</Key> | ||
<Property Name="UserId" Type="varchar2" Nullable="false" MaxLength="255" /> | ||
<Property Name="Nome" Type="nvarchar2" Nullable="true" MaxLength="50" /> | ||
<Property Name="Cognome" Type="nvarchar2" Nullable="true" MaxLength="50" /> | ||
</EntityType> | ||
<EntityType Name="AGE_QUERY_CUSTOM"> | ||
<Key> | ||
<PropertyRef Name="Id" /> | ||
</Key> | ||
<Property Name="Id" Type="number" Nullable="false" Precision="10" StoreGeneratedPattern="Identity" /> | ||
<Property Name="Codice" Type="nvarchar2" Nullable="false" MaxLength="80" /> | ||
<Property Name="ColumnsList" Type="nvarchar2" Nullable="true" MaxLength="2000" /> | ||
<Property Name="Source" Type="nvarchar2" Nullable="false" MaxLength="2000" /> | ||
<Property Name="Descrizione" Type="nvarchar2" Nullable="false" MaxLength="255" /> | ||
<Property Name="Modulo" Type="nvarchar2" Nullable="true" MaxLength="255" /> | ||
<Property Name="Note" Type="nvarchar2" Nullable="true" MaxLength="2000" /> | ||
</EntityType> | ||
<EntityType Name="AGE_QUERY_FILTRI"> | ||
<Key> | ||
<PropertyRef Name="Id" /> | ||
</Key> | ||
<Property Name="Id" Type="number" Nullable="false" Precision="10" StoreGeneratedPattern="Identity" /> | ||
<Property Name="QueryCustomId" Type="number" Nullable="false" Precision="10" /> | ||
<Property Name="Codice" Type="nvarchar2" Nullable="false" MaxLength="80" /> | ||
<Property Name="Filtro" Type="nvarchar2" Nullable="false" MaxLength="2000" /> | ||
<Property Name="Descrizione" Type="nvarchar2" Nullable="false" MaxLength="255" /> | ||
<Property Name="Note" Type="nvarchar2" Nullable="true" MaxLength="2000" /> | ||
</EntityType> | ||
<Association Name="FK_UtentiAccessiUtente"> | ||
<End Role="AGE_UTENTI" Type="AgendaModel.Store.AGE_UTENTI" Multiplicity="1" /> | ||
<End Role="AccessiUtente" Type="AgendaModel.Store.AGE_ACCESSI" Multiplicity="*" /> | ||
<ReferentialConstraint> | ||
<Principal Role="AGE_UTENTI"> | ||
<PropertyRef Name="UserId" /> | ||
</Principal> | ||
<Dependent Role="AccessiUtente"> | ||
<PropertyRef Name="USER_ID" /> | ||
</Dependent> | ||
</ReferentialConstraint> | ||
</Association> | ||
<Association Name="QueryCustomFiltri"> | ||
<End Role="VistaAgenda" Type="AgendaModel.Store.AGE_QUERY_CUSTOM" Multiplicity="1" /> | ||
<End Role="VistaCondizione" Type="AgendaModel.Store.AGE_QUERY_FILTRI" Multiplicity="*" /> | ||
<ReferentialConstraint> | ||
<Principal Role="VistaAgenda"> | ||
<PropertyRef Name="Id" /> | ||
</Principal> | ||
<Dependent Role="VistaCondizione"> | ||
<PropertyRef Name="QueryCustomId" /> | ||
</Dependent> | ||
</ReferentialConstraint> | ||
</Association> | ||
</Schema> |