bozza gestione elenco utenti in MP LAND

This commit is contained in:
Samuele E. Locatelli
2018-05-29 00:18:54 +02:00
parent 1b921943b5
commit 010ed20ce2
13 changed files with 156 additions and 30 deletions
+34 -1
View File
@@ -15,11 +15,22 @@
<Property Name="valString" Type="nvarchar" MaxLength="250" />
<Property Name="descrizione" Type="nvarchar" MaxLength="250" />
</EntityType>
<EntityType Name="AnagraficaOperatori">
<Key>
<PropertyRef Name="MatrOpr" />
</Key>
<Property Name="MatrOpr" Type="int" Nullable="false" />
<Property Name="Cognome" Type="nvarchar" MaxLength="50" />
<Property Name="Nome" Type="nvarchar" MaxLength="50" />
<Property Name="isAdmin" Type="bit" />
<Property Name="authKey" Type="nvarchar" MaxLength="50" />
</EntityType>
<Function Name="stp_AKV_getByKey" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
<Parameter Name="nomeVar" Type="nvarchar" Mode="In" />
</Function>
<EntityContainer Name="MoonProModelStoreContainer">
<EntitySet Name="AnagKeyValue" EntityType="Self.AnagKeyValue" Schema="dbo" store:Type="Tables" />
<EntitySet Name="AnagraficaOperatori" EntityType="Self.AnagraficaOperatori" Schema="dbo" store:Type="Tables" />
</EntityContainer>
</Schema></edmx:StorageModels>
<!-- CSDL content -->
@@ -38,8 +49,9 @@
<EntityContainer Name="MoonProEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="AnagKeyValue" EntityType="Self.AnagKeyValue" />
<FunctionImport Name="stp_AKV_getByKey" EntitySet="AnagKeyValue" ReturnType="Collection(MoonProModel.AnagKeyValue)">
<Parameter Name="nomeVar" Mode="In" Type="String" />
<Parameter Name="nomeVar" Mode="In" Type="String" />
</FunctionImport>
<EntitySet Name="AnagraficaOperatori" EntityType="MoonProModel.AnagraficaOperatori" />
</EntityContainer>
<ComplexType Name="stp_AKV_getByKey_Result">
<Property Type="String" Name="nomeVar" Nullable="false" MaxLength="50" />
@@ -48,6 +60,16 @@
<Property Type="String" Name="valString" Nullable="false" MaxLength="250" />
<Property Type="String" Name="descrizione" Nullable="false" MaxLength="250" />
</ComplexType>
<EntityType Name="AnagraficaOperatori">
<Key>
<PropertyRef Name="MatrOpr" />
</Key>
<Property Name="MatrOpr" Type="Int32" Nullable="false" />
<Property Name="Cognome" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Nome" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="isAdmin" Type="Boolean" />
<Property Name="authKey" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
</EntityType>
</Schema>
</edmx:ConceptualModels>
<!-- C-S mapping content -->
@@ -67,6 +89,17 @@
</EntitySetMapping>
<FunctionImportMapping FunctionImportName="stp_AKV_getByKey" FunctionName="MoonProModel.Store.stp_AKV_getByKey">
</FunctionImportMapping>
<EntitySetMapping Name="AnagraficaOperatori">
<EntityTypeMapping TypeName="MoonProModel.AnagraficaOperatori">
<MappingFragment StoreEntitySet="AnagraficaOperatori">
<ScalarProperty Name="authKey" ColumnName="authKey" />
<ScalarProperty Name="isAdmin" ColumnName="isAdmin" />
<ScalarProperty Name="Nome" ColumnName="Nome" />
<ScalarProperty Name="Cognome" ColumnName="Cognome" />
<ScalarProperty Name="MatrOpr" ColumnName="MatrOpr" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping>
</Mapping>
</edmx:Mappings>