update pacchetti + fix gestione operatività vietata x utenti NON attivi (x check licenze) / da testare integrazione redis x applicazioni ADMIN, BCODE e SMART

This commit is contained in:
Samuele E. Locatelli
2017-09-08 19:10:52 +02:00
parent c1274fee04
commit 1c7611df0f
127 changed files with 60729 additions and 19322 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
+5 -5
View File
@@ -178,7 +178,7 @@
</site>
<site name="GPW_Smart" id="4">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\GPW\GPW_Smart" />
<virtualDirectory path="/" physicalPath="C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\GPW\GPW_Smart" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:14285:localhost" />
@@ -186,7 +186,7 @@
</site>
<site name="GPW_Barcode" id="5">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\GPW\GPW_Barcode" />
<virtualDirectory path="/" physicalPath="C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\GPW\GPW_Barcode" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:17423:localhost" />
@@ -194,7 +194,7 @@
</site>
<site name="GPW_Commesse" id="6">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\GPW\GPW_Commesse" />
<virtualDirectory path="/" physicalPath="C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\GPW\GPW_Commesse" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:17481:localhost" />
@@ -202,7 +202,7 @@
</site>
<site name="GPW_Admin" id="7">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\GPW\GPW_Admin" />
<virtualDirectory path="/" physicalPath="C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\GPW\GPW_Admin" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:17490:localhost" />
@@ -210,7 +210,7 @@
</site>
<site name="HOME" id="8">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\GPW\HOME" />
<virtualDirectory path="/" physicalPath="C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\GPW\HOME" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:37893:localhost" />
+14 -4
View File
@@ -22,6 +22,7 @@
<UseGlobalApplicationHostFile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<Use64BitIISExpress />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -41,9 +42,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="AjaxControlToolkit, Version=16.1.1.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
<HintPath>..\packages\AjaxControlToolkit.16.1.1.0\lib\net40\AjaxControlToolkit.dll</HintPath>
<Private>True</Private>
<Reference Include="AjaxControlToolkit, Version=17.1.1.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
<HintPath>..\packages\AjaxControlToolkit.17.1.1.0\lib\net40\AjaxControlToolkit.dll</HintPath>
</Reference>
<Reference Include="Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
<HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
@@ -62,14 +62,24 @@
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.RedisSessionStateProvider, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Web.RedisSessionStateProvider.2.2.5\lib\net40\Microsoft.Web.RedisSessionStateProvider.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="StackExchange.Redis, Version=1.2.6.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.1.2.6\lib\net46\StackExchange.Redis.dll</HintPath>
</Reference>
<Reference Include="StackExchange.Redis.StrongName, Version=1.2.6.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.StrongName.1.2.6\lib\net46\StackExchange.Redis.StrongName.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Core" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Drawing" />
+3
View File
@@ -7,6 +7,9 @@
<IISExpressUseClassicPipelineMode>false</IISExpressUseClassicPipelineMode>
<ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>IIS02</NameOfLastUsedPublishProfile>
<Use64BitIISExpress />
<IISExpressSSLPort />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
+34 -3
View File
@@ -21,8 +21,8 @@
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /></controls>
</pages>
<customErrors mode="Off" />
<globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it" />
@@ -31,7 +31,34 @@
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
</system.web>
<sessionState mode="Custom" customProvider="MySessionStateStore">
<providers>
<!-- For more details check https://github.com/Azure/aspnet-redis-providers/wiki -->
<!-- Either use 'connectionString' OR 'settingsClassName' and 'settingsMethodName' OR use 'host','port','accessKey','ssl','connectionTimeoutInMilliseconds' and 'operationTimeoutInMilliseconds'. -->
<!-- 'throwOnError','retryTimeoutInMilliseconds','databaseId' and 'applicationName' can be used with both options. -->
<!--
<add name="MySessionStateStore"
host = "127.0.0.1" [String]
port = "" [number]
accessKey = "" [String]
ssl = "false" [true|false]
throwOnError = "true" [true|false]
retryTimeoutInMilliseconds = "5000" [number]
databaseId = "0" [number]
applicationName = "" [String]
connectionTimeoutInMilliseconds = "5000" [number]
operationTimeoutInMilliseconds = "1000" [number]
connectionString = "<Valid StackExchange.Redis connection string>" [String]
settingsClassName = "<Assembly qualified class name that contains settings method specified below. Which basically return 'connectionString' value>" [String]
settingsMethodName = "<Settings method should be defined in settingsClass. It should be public, static, does not take any parameters and should have a return type of 'String', which is basically 'connectionString' value.>" [String]
loggingClassName = "<Assembly qualified class name that contains logging method specified below>" [String]
loggingMethodName = "<Logging method should be defined in loggingClass. It should be public, static, does not take any parameters and should have a return type of System.IO.TextWriter.>" [String]
redisSerializerType = "<Assembly qualified class name that implements Microsoft.Web.Redis.ISerializer>" [String]
/>
-->
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="" accessKey="" ssl="true" />
</providers>
</sessionState></system.web>
<appSettings>
<!--Conf generale-->
<add key="appName" value="GPW" />
@@ -148,6 +175,10 @@
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="StackExchange.Redis.StrongName" publicKeyToken="c219ff1ca8c2ce46" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.webServer>
+5 -2
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="AjaxControlToolkit" version="16.1.1.0" targetFramework="net462" />
<package id="AjaxControlToolkit" version="17.1.1.0" targetFramework="net462" />
<package id="Antlr" version="3.5.0.2" targetFramework="net462" />
<package id="AspNet.ScriptManager.bootstrap" version="3.3.7" targetFramework="net462" />
<package id="AspNet.ScriptManager.jQuery" version="3.1.1" targetFramework="net462" />
@@ -17,8 +17,11 @@
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.AspNet.Web.Optimization.WebForms" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net462" />
<package id="Microsoft.Web.RedisSessionStateProvider" version="2.2.5" targetFramework="net462" />
<package id="Modernizr" version="2.8.3" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net462" />
<package id="Respond" version="1.4.2" targetFramework="net462" />
<package id="StackExchange.Redis" version="1.2.6" targetFramework="net462" />
<package id="StackExchange.Redis.StrongName" version="1.2.6" targetFramework="net462" />
<package id="WebGrease" version="1.6.0" targetFramework="net462" />
</packages>
+4 -4
View File
@@ -22,6 +22,7 @@
<UseGlobalApplicationHostFile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<Use64BitIISExpress />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -41,9 +42,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="AjaxControlToolkit, Version=16.1.1.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
<HintPath>..\packages\AjaxControlToolkit.16.1.1.0\lib\net40\AjaxControlToolkit.dll</HintPath>
<Private>True</Private>
<Reference Include="AjaxControlToolkit, Version=17.1.1.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
<HintPath>..\packages\AjaxControlToolkit.17.1.1.0\lib\net40\AjaxControlToolkit.dll</HintPath>
</Reference>
<Reference Include="Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
<HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
@@ -62,7 +62,7 @@
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System" />
+6
View File
@@ -4,6 +4,12 @@
<UseIISExpress>true</UseIISExpress>
<ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>IIS02</NameOfLastUsedPublishProfile>
<Use64BitIISExpress />
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
+2 -2
View File
@@ -21,8 +21,8 @@
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /></controls>
</pages>
<customErrors mode="Off" />
<globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it" />
Binary file not shown.
+2 -2
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="AjaxControlToolkit" version="16.1.1.0" targetFramework="net462" />
<package id="AjaxControlToolkit" version="17.1.1.0" targetFramework="net462" />
<package id="Antlr" version="3.5.0.2" targetFramework="net462" />
<package id="AspNet.ScriptManager.bootstrap" version="3.3.7" targetFramework="net462" />
<package id="AspNet.ScriptManager.jQuery" version="3.1.1" targetFramework="net462" />
@@ -16,7 +16,7 @@
<package id="Microsoft.AspNet.Web.Optimization.WebForms" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net462" />
<package id="Modernizr" version="2.8.3" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net462" />
<package id="Respond" version="1.4.2" targetFramework="net462" />
<package id="WebGrease" version="1.6.0" targetFramework="net462" />
</packages>
+14 -4
View File
@@ -22,6 +22,7 @@
<UseGlobalApplicationHostFile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<Use64BitIISExpress />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -41,9 +42,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="AjaxControlToolkit, Version=16.1.1.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
<HintPath>..\packages\AjaxControlToolkit.16.1.1.0\lib\net40\AjaxControlToolkit.dll</HintPath>
<Private>True</Private>
<Reference Include="AjaxControlToolkit, Version=17.1.1.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
<HintPath>..\packages\AjaxControlToolkit.17.1.1.0\lib\net40\AjaxControlToolkit.dll</HintPath>
</Reference>
<Reference Include="Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
<HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
@@ -62,14 +62,24 @@
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.RedisSessionStateProvider, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Web.RedisSessionStateProvider.2.2.5\lib\net40\Microsoft.Web.RedisSessionStateProvider.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="StackExchange.Redis, Version=1.2.6.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.1.2.6\lib\net46\StackExchange.Redis.dll</HintPath>
</Reference>
<Reference Include="StackExchange.Redis.StrongName, Version=1.2.6.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.StrongName.1.2.6\lib\net46\StackExchange.Redis.StrongName.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Core" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Drawing" />
+3
View File
@@ -7,6 +7,9 @@
<IISExpressUseClassicPipelineMode>false</IISExpressUseClassicPipelineMode>
<ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>IIS02</NameOfLastUsedPublishProfile>
<Use64BitIISExpress />
<IISExpressSSLPort />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
+14 -2
View File
@@ -21,8 +21,8 @@
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /></controls>
</pages>
<customErrors mode="Off" />
<globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it" />
@@ -31,8 +31,16 @@
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
<sessionState mode="Custom" customProvider="MySessionStateStore">
<providers>
<!-- For more details check https://github.com/Azure/aspnet-redis-providers/wiki -->
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="127.0.0.1" accessKey="" ssl="false" applicationName="GPW_WRKLG" />
</providers>
</sessionState>
</system.web>
<appSettings>
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" />
<!--Conf generale-->
<add key="appName" value="GPW" />
<add key="titleApp" value="GPW" />
@@ -150,6 +158,10 @@
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="StackExchange.Redis.StrongName" publicKeyToken="c219ff1ca8c2ce46" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.webServer>
@@ -26,7 +26,6 @@
</div>
</div>
<div class="row">
<%--<div class="row" style="float: none; text-align: center; margin: auto;">--%>
<div runat="server" id="divSx" visible="false">
<asp:Panel ID="pnlEditOre" runat="server" Height="100%" Visible="false">
<div class="blockSpac">
@@ -72,8 +71,6 @@
</b><b>
<asp:Label ID="lblh_lav" runat="server" Text='<%# formatDurata(Eval("h_lav")) %>' CssClass='<%# classByPerm(Eval("minPerm")) %>'
ToolTip='<%# tooltipPermStra(Eval("minStra"),Eval("minPerm")) %>' /></b>
<%--<asp:ImageButton ID="imgEditTimbr" runat="server" CausesValidation="False" CommandName="Select" ToolTip="Edit Timbrature"
ImageUrl="~/images/edit_s.png" OnClick="imgEditTimbr_Click" CommandArgument='<%# Eval("Data") %>' />--%>
<asp:LinkButton runat="server" ID="lnkEditTimbr" CausesValidation="False" CommandName="Select" ToolTip="Edit Timbrature" CommandArgument='<%# Eval("Data") %>' Visible='<%# regAttEnabled %>' CssClass="text-danger" OnClick="lnkEditTimbr_Click"><i class="fa fa-pencil fa-2x" aria-hidden="true"></i></asp:LinkButton>
</div>
</ItemTemplate>
@@ -100,7 +97,6 @@
<div style="text-align: right; margin: auto; margin-left: 8px;">
<b>
<asp:Label ID="lblh_com" runat="server" Text='<%# formatDurata(Eval("h_com")) %>' /></b>
<%--<asp:ImageButton ID="imgEditComm" runat="server" CausesValidation="False" CommandName="Select" ToolTip="Edit Ore commesse" ImageUrl="~/images/edit_s.png" OnClick="imgEditComm_Click" CommandArgument='<%# Eval("Data") %>' Visible='<%# regAttEnabled %>' />--%>
<asp:LinkButton runat="server" ID="lnkEditComm" CausesValidation="False" CommandName="Select" ToolTip="Edit Ore commesse" CommandArgument='<%# Eval("Data") %>' Visible='<%# regAttEnabled %>' CssClass="text-success" OnClick="lnkEditComm_Click"><i class="fa fa-pencil fa-2x" aria-hidden="true"></i></asp:LinkButton>
</div>
</ItemTemplate>
+418 -411
View File
@@ -10,423 +10,430 @@ using GPW_data;
namespace GPW_Commesse.WebUserControls
{
/// <summary>
/// modalità ammesse per il controllo
/// </summary>
public enum modoCommesse
{
/// <summary>
/// modalità ammesse per il controllo
/// elenco giornate e resoconto
/// </summary>
public enum modoCommesse
elenco,
/// <summary>
/// edit timbrature attivo
/// </summary>
editTimb,
/// <summary>
/// edit Registro Attività attivo
/// </summary>
editRegAtt
}
public partial class mod_commUtLog : System.Web.UI.UserControl
{
public modoCommesse activeMode
{
/// <summary>
/// elenco giornate e resoconto
/// </summary>
elenco,
/// <summary>
/// edit timbrature attivo
/// </summary>
editTimb,
/// <summary>
/// edit Registro Attività attivo
/// </summary>
editRegAtt
get
{
modoCommesse answ = modoCommesse.elenco;
try
{
answ = (modoCommesse)memLayer.ML.objSessionObj("activeModeComm");
}
catch
{ }
return answ;
}
set
{
memLayer.ML.setSessionVal("activeModeComm", value);
}
}
public partial class mod_commUtLog : System.Web.UI.UserControl
/// <summary>
/// Avvio pagina
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
public modoCommesse activeMode
memLayer.ML.setSessionVal("maxErrMin", memLayer.ML.confReadInt("maxErrMin"));
memLayer.ML.setSessionVal("maxErrPlus", memLayer.ML.confReadInt("maxErrPlus"));
if (!Page.IsPostBack)
{
activeMode = modoCommesse.elenco;
intervalloDate periodo = new intervalloDate();
periodo.fine = DateTime.Now.AddDays(1);
periodo.inizio = periodo.fine.AddDays(-10);
mod_periodoAnalisi1.intervalloAnalisi = periodo;
// salvo link in HF
hfDataFrom.Value = periodo.inizio.ToString();
hfDataTo.Value = periodo.fine.ToString();
// imposto modo tag cloud
string modoTC = memLayer.ML.confReadString("TagCloudMode");
switch (modoTC)
{
get
{
modoCommesse answ = modoCommesse.elenco;
try
{
answ = (modoCommesse)memLayer.ML.objSessionObj("activeModeComm");
}
catch
{ }
return answ;
}
set
{
memLayer.ML.setSessionVal("activeModeComm", value);
}
case "elenco":
mod_TagCloudProgetti1.modo = TagCloudMode.elenco;
break;
case "elencoCPF":
mod_TagCloudProgetti1.modo = TagCloudMode.elencoCPF;
break;
case "piramide":
mod_TagCloudProgetti1.modo = TagCloudMode.piramide;
break;
case "standard":
default:
mod_TagCloudProgetti1.modo = TagCloudMode.standard;
break;
}
/// <summary>
/// Avvio pagina
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
memLayer.ML.setSessionVal("maxErrMin", memLayer.ML.confReadInt("maxErrMin"));
memLayer.ML.setSessionVal("maxErrPlus", memLayer.ML.confReadInt("maxErrPlus"));
if (!Page.IsPostBack)
{
activeMode = modoCommesse.elenco;
intervalloDate periodo = new intervalloDate();
periodo.fine = DateTime.Now.AddDays(1);
periodo.inizio = periodo.fine.AddDays(-10);
mod_periodoAnalisi1.intervalloAnalisi = periodo;
// salvo link in HF
hfDataFrom.Value = periodo.inizio.ToString();
hfDataTo.Value = periodo.fine.ToString();
// imposto modo tag cloud
string modoTC = memLayer.ML.confReadString("TagCloudMode");
switch (modoTC)
{
case "elenco":
mod_TagCloudProgetti1.modo = TagCloudMode.elenco;
break;
case "elencoCPF":
mod_TagCloudProgetti1.modo = TagCloudMode.elencoCPF;
break;
case "piramide":
mod_TagCloudProgetti1.modo = TagCloudMode.piramide;
break;
case "standard":
default:
mod_TagCloudProgetti1.modo = TagCloudMode.standard;
break;
}
}
showPanels();
grView.DataBind();
mod_commUtMancTimbr1.eh_nuovoValore += new EventHandler(mod_commUtMancTimbr1_eh_nuovoValore);
mod_commAttivitaDesk1.eh_nuovoValore += new EventHandler(mod_commAttivitaDesk1_eh_nuovoValore);
mod_TagCloudProgetti1.eh_newVal += new EventHandler(mod_TagCloudProgetti1_eh_newVal);
mod_TagCloudProgetti1.eh_refresh += mod_TagCloudProgetti1_eh_refresh;
mod_periodoAnalisi1.eh_doUpdate += mod_periodoAnalisi1_eh_doUpdate;
}
void mod_TagCloudProgetti1_eh_refresh(object sender, EventArgs e)
{
mod_commAttivitaDesk1.doUpdate();
grView.DataBind();
}
void mod_periodoAnalisi1_eh_doUpdate(object sender, EventArgs e)
{
// 2016.04.07: salvo intervallo nei 2 hidden field
hfDataFrom.Value = mod_periodoAnalisi1.intervalloAnalisi.inizio.ToString();
hfDataTo.Value= mod_periodoAnalisi1.intervalloAnalisi.fine.ToString();
// update
mod_commAttivitaDesk1.doUpdate();
grView.DataBind();
}
void mod_TagCloudProgetti1_eh_newVal(object sender, EventArgs e)
{
mod_commAttivitaDesk1.doUpdate();
grView.DataBind();
}
void mod_commAttivitaDesk1_eh_nuovoValore(object sender, EventArgs e)
{
mod_TagCloudProgetti1.doUpdate();
grView.DataBind();
}
void mod_commUtMancTimbr1_eh_nuovoValore(object sender, EventArgs e)
{
grView.DataBind();
}
/// <summary>
/// inverte valore booleano
/// </summary>
/// <param name="isEnt"></param>
/// <returns></returns>
public bool invBool(object valore)
{
bool answ = true;
try
{
answ = !Convert.ToBoolean(valore);
}
catch
{ }
return answ;
}
/// <summary>
/// idxDipendente insessione
/// </summary>
protected int idxDip
{
get
{
return memLayer.ML.IntSessionObj("idxDipBCode");
}
set
{
memLayer.ML.setSessionVal("idxDipBCode", value);
}
}
/// <summary>
/// gestione evento richiesta edit timbrature
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void imgEditTimbr_Click(object sender, EventArgs e)
{
string dataRif = ((ImageButton)sender).CommandArgument;
editTimbr(dataRif);
}
private void editTimbr(string dataRif)
{
DateTime adesso = DateTime.Now;
CultureInfo ita = new CultureInfo("it-IT");
mod_commUtMancTimbr1.valoreDateTime = Convert.ToDateTime(dataRif, ita).AddHours(adesso.Hour).AddMinutes(adesso.Minute - adesso.Minute % 5);
//salvo in sessione dati x detail timbrature
memLayer.ML.setSessionVal("inizioDet", Convert.ToDateTime(dataRif, ita).Date);
memLayer.ML.setSessionVal("fineDet", Convert.ToDateTime(dataRif, ita).Date.AddDays(1));
memLayer.ML.setSessionVal("idxDip_det", DataProxy.idxDipendente);
// imposto modalità
activeMode = modoCommesse.editTimb;
showPanels();
}
protected void lnkEditTimbr_Click(object sender, EventArgs e)
{
string dataRif = ((LinkButton)sender).CommandArgument;
editTimbr(dataRif);
}
/// <summary>
/// gestione evento richiesta edit commesse
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void imgEditComm_Click(object sender, EventArgs e)
{
string dataRif = ((ImageButton)sender).CommandArgument;
editCommDay(dataRif);
}
private void editCommDay(string dataRif)
{
CultureInfo ita = new CultureInfo("it-IT");
mod_commAttivitaDesk1.idxDipCurr = DataProxy.idxDipendente;
mod_commAttivitaDesk1.valoreDateTime = Convert.ToDateTime(dataRif, ita);
mod_TagCloudProgetti1.dataRif = Convert.ToDateTime(dataRif, ita);
activeMode = modoCommesse.editRegAtt;
showPanels();
mod_commAttivitaDesk1.doUpdate();
}
protected void lnkEditComm_Click(object sender, EventArgs e)
{
string dataRif = ((LinkButton)sender).CommandArgument;
editCommDay(dataRif);
}
/// <summary>
/// indica se sia abilitato l'editing delle attività legate alle commesse
/// </summary>
public bool regAttEnabled
{
get
{
return memLayer.ML.confReadBool("regAttEnabled");
}
}
/// <summary>
///
/// </summary>
/// <param name="minPerm"></param>
/// <returns></returns>
public string classByPerm(object minPerm)
{
string answ = "";
if (Convert.ToDouble(minPerm) > 0)
{
answ = "lblWarning";
}
return answ;
}
/// <summary>
/// prepara tooltip permessi/straordinarie
/// </summary>
/// <param name="minStra"></param>
/// <param name="minPerm"></param>
/// <returns></returns>
public string tooltipPermStra(object minStra, object minPerm)
{
string answ = "";
try
{
if (memLayer.ML.confReadBool("reviewShowOreMin"))
{
answ = string.Format("Straordinarie: {0} - Permessi: {1} (h:mm)", utils.formOreMin(Convert.ToDecimal(minStra) / 60), utils.formOreMin(Convert.ToDecimal(minPerm) / 60));
}
else
{
answ = string.Format("Straordinarie: {0:0.##} h - Permessi: {1:0.##} h", Convert.ToDouble(minStra) / 60, Convert.ToDouble(minPerm) / 60);
}
}
catch
{ }
return answ;
}
/// <summary>
/// imposta visualizzazione dei pannelli opzionali laterali a seocnda del modo attivo
/// </summary>
protected void showPanels()
{
// imposto valori default
bool timbr = false;
bool commesse = false;
divDx.Attributes.Remove("class");
divCn.Attributes.Remove("class");
divSx.Attributes.Remove("class");
switch (activeMode)
{
case modoCommesse.editTimb:
timbr = true;
divCn.Attributes.Add("class", "col-sm-7 col-md-8 col-lg-9");
divSx.Attributes.Add("class", "col-sm-5 col-md-4 col-lg-3");
divDx.Visible = false;
divSx.Visible = true;
break;
case modoCommesse.editRegAtt:
commesse = true;
divCn.Attributes.Add("class", "col-sm-6 col-md-7 col-lg-8");
divDx.Attributes.Add("class", "col-sm-6 col-md-5 col-lg-4");
divDx.Visible = true;
divSx.Visible = false;
break;
case modoCommesse.elenco:
default:
divCn.Attributes.Add("class", "col-xs-12");
divDx.Visible = false;
divSx.Visible = false;
break;
}
pnlEditCom.Visible = commesse;
pnlEditOre.Visible = timbr;
mod_commUtMancTimbr1.Visible = timbr;
mod_commAttivitaDesk1.Visible = commesse;
}
/// <summary>
/// chiamata del button close (entrambi)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnClose_Click(object sender, EventArgs e)
{
activeMode = modoCommesse.elenco;
showPanels();
grView.DataBind();
}
/// <summary>
/// fornisce img x check coerenza ore timbrate e commesse
/// </summary>
/// <param name="okLavCom"></param>
/// <returns></returns>
public string imgChk(object okLavCom)
{
string answ = "~/images/statoKo_m.png";
try
{
if (Convert.ToBoolean(okLavCom))
{
answ = "~/images/statoOk_m.png";
}
}
catch
{ }
return answ;
}
/// <summary>
/// formatta stringa giustificativi
/// </summary>
/// <param name="_minPerm">permessi</param>
/// <param name="_minFer">ferie</param>
/// <param name="_minMal">malattia</param>
/// <param name="_minFest">festività</param>
/// <param name="_minMPP">MPP</param>
/// <returns></returns>
public string txtGiust(object _minPerm, object _minFer, object _minMal, object _minFest, object _minMPP)
{
string answ = "";
double minPerm = Convert.ToInt32(_minPerm);
double minFer = Convert.ToInt32(_minFer);
double minMal = Convert.ToInt32(_minMal);
double minFest = Convert.ToInt32(_minFest);
double minMpp = Convert.ToInt32(_minMPP);
if (memLayer.ML.confReadBool("reviewShowOreMin"))
{
if (minPerm > 0) answ += string.Format("{0} Pe ", utils.formOreMin(Convert.ToDecimal(minPerm / 60)));
if (minFer > 0) answ += string.Format("{0} Fe ", utils.formOreMin(Convert.ToDecimal(minFer / 60)));
if (minMal > 0) answ += string.Format("{0} Ma ", utils.formOreMin(Convert.ToDecimal(minMal / 60)));
if (minFest > 0) answ += string.Format("{0} Fs ", utils.formOreMin(Convert.ToDecimal(minFest / 60)));
if (minMpp > 0) answ += string.Format("{0} Mpp ", utils.formOreMin(Convert.ToDecimal(minMpp / 60)));
}
else
{
if (minPerm > 0) answ += string.Format("{0:0.00} Pe ", minPerm / 60);
if (minFer > 0) answ += string.Format("{0:0.00} Fe ", minFer / 60);
if (minMal > 0) answ += string.Format("{0:0.00} Ma ", minMal / 60);
if (minFest > 0) answ += string.Format("{0:0.00} Fs ", minFest / 60);
if (minMpp > 0) answ += string.Format("{0:0.00} Mpp ", minMpp / 60);
}
return answ;
}
/// <summary>
/// formatta stringa tooltip giustificativi
/// </summary>
/// <param name="_minPerm">permessi</param>
/// <param name="_minFer">ferie</param>
/// <param name="_minMal">malattia</param>
/// <param name="_minFest">festività</param>
/// <param name="_minMPP">MPP</param>
/// <returns></returns>
public string tooltipGiust(object _minPerm, object _minFer, object _minMal, object _minFest, object _minMPP)
{
string answ = "";
double minPerm = Convert.ToInt32(_minPerm);
double minFer = Convert.ToInt32(_minFer);
double minMal = Convert.ToInt32(_minMal);
double minFest = Convert.ToInt32(_minFest);
double minMpp = Convert.ToInt32(_minMPP);
if (memLayer.ML.confReadBool("reviewShowOreMin"))
{
if (minPerm > 0) answ += string.Format("{0} Permesso ", utils.formOreMin(Convert.ToDecimal(minPerm / 60)));
if (minFer > 0) answ += string.Format("{0} Ferie ", utils.formOreMin(Convert.ToDecimal(minFer / 60)));
if (minMal > 0) answ += string.Format("{0} Malattia ", utils.formOreMin(Convert.ToDecimal(minMal / 60)));
if (minFest > 0) answ += string.Format("{0} Festività ", utils.formOreMin(Convert.ToDecimal(minFest / 60)));
if (minMpp > 0) answ += string.Format("{0} Manc.Pausa Pranzo ", utils.formOreMin(Convert.ToDecimal(minMpp / 60)));
}
else
{
if (minPerm > 0) answ += string.Format("{0:0.00}h Permesso ", minPerm / 60);
if (minFer > 0) answ += string.Format("{0:0.00}h Ferie ", minFer / 60);
if (minMal > 0) answ += string.Format("{0:0.00}h Malattia ", minMal / 60);
if (minFest > 0) answ += string.Format("{0:0.00}h Festività ", minFest / 60);
if (minMpp > 0) answ += string.Format("{0:0.00}h Manc.Pausa Pranzo ", minMpp / 60);
}
return answ;
}
/// <summary>
/// formatta la durata in ore secondo web.config (centesimale/ore:min)
/// </summary>
/// <param name="oreCent"></param>
/// <returns></returns>
public string formatDurata(object oreCent)
{
decimal ore = 0;
try
{
ore = Convert.ToDecimal(oreCent);
}
catch
{ }
string answ = "";
if (memLayer.ML.confReadBool("reviewShowOreMin"))
{
answ = utils.formOreMin(ore);
}
else
{
answ = ore.ToString("0.00");
}
return answ;
}
}
showPanels();
grView.DataBind();
mod_commUtMancTimbr1.eh_nuovoValore += new EventHandler(mod_commUtMancTimbr1_eh_nuovoValore);
mod_commAttivitaDesk1.eh_nuovoValore += new EventHandler(mod_commAttivitaDesk1_eh_nuovoValore);
mod_TagCloudProgetti1.eh_newVal += new EventHandler(mod_TagCloudProgetti1_eh_newVal);
mod_TagCloudProgetti1.eh_refresh += mod_TagCloudProgetti1_eh_refresh;
mod_periodoAnalisi1.eh_doUpdate += mod_periodoAnalisi1_eh_doUpdate;
}
void mod_TagCloudProgetti1_eh_refresh(object sender, EventArgs e)
{
mod_commAttivitaDesk1.doUpdate();
grView.DataBind();
}
void mod_periodoAnalisi1_eh_doUpdate(object sender, EventArgs e)
{
// 2016.04.07: salvo intervallo nei 2 hidden field
hfDataFrom.Value = mod_periodoAnalisi1.intervalloAnalisi.inizio.ToString();
hfDataTo.Value = mod_periodoAnalisi1.intervalloAnalisi.fine.ToString();
// update
mod_commAttivitaDesk1.doUpdate();
grView.DataBind();
}
void mod_TagCloudProgetti1_eh_newVal(object sender, EventArgs e)
{
mod_commAttivitaDesk1.doUpdate();
grView.DataBind();
}
void mod_commAttivitaDesk1_eh_nuovoValore(object sender, EventArgs e)
{
mod_TagCloudProgetti1.doUpdate();
grView.DataBind();
}
void mod_commUtMancTimbr1_eh_nuovoValore(object sender, EventArgs e)
{
grView.DataBind();
}
/// <summary>
/// inverte valore booleano
/// </summary>
/// <param name="isEnt"></param>
/// <returns></returns>
public bool invBool(object valore)
{
bool answ = true;
try
{
answ = !Convert.ToBoolean(valore);
}
catch
{ }
return answ;
}
/// <summary>
/// idxDipendente in sessione
/// </summary>
protected int idxDip
{
get
{
return memLayer.ML.IntSessionObj("idxDipBCode");
}
set
{
memLayer.ML.setSessionVal("idxDipBCode", value);
}
}
/// <summary>
/// gestione evento richiesta edit timbrature
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void imgEditTimbr_Click(object sender, EventArgs e)
{
string dataRif = ((ImageButton)sender).CommandArgument;
editTimbr(dataRif);
}
private void editTimbr(string dataRif)
{
DateTime adesso = DateTime.Now;
CultureInfo ita = new CultureInfo("it-IT");
mod_commUtMancTimbr1.valoreDateTime = Convert.ToDateTime(dataRif, ita).AddHours(adesso.Hour).AddMinutes(adesso.Minute - adesso.Minute % 5);
//salvo in sessione dati x detail timbrature
memLayer.ML.setSessionVal("inizioDet", Convert.ToDateTime(dataRif, ita).Date);
memLayer.ML.setSessionVal("fineDet", Convert.ToDateTime(dataRif, ita).Date.AddDays(1));
memLayer.ML.setSessionVal("idxDip_det", DataProxy.idxDipendente);
// imposto modalità
activeMode = modoCommesse.editTimb;
showPanels();
}
protected void lnkEditTimbr_Click(object sender, EventArgs e)
{
string dataRif = ((LinkButton)sender).CommandArgument;
// verifico se dip sia attivo...
if (DataProxy.currDipIsActive)
{
editTimbr(dataRif);
}
}
/// <summary>
/// gestione evento richiesta edit commesse
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void imgEditComm_Click(object sender, EventArgs e)
{
string dataRif = ((ImageButton)sender).CommandArgument;
editCommDay(dataRif);
}
private void editCommDay(string dataRif)
{
CultureInfo ita = new CultureInfo("it-IT");
mod_commAttivitaDesk1.idxDipCurr = DataProxy.idxDipendente;
mod_commAttivitaDesk1.valoreDateTime = Convert.ToDateTime(dataRif, ita);
mod_TagCloudProgetti1.dataRif = Convert.ToDateTime(dataRif, ita);
activeMode = modoCommesse.editRegAtt;
showPanels();
mod_commAttivitaDesk1.doUpdate();
}
protected void lnkEditComm_Click(object sender, EventArgs e)
{
string dataRif = ((LinkButton)sender).CommandArgument;
// verifico se dip sia attivo...
if (DataProxy.currDipIsActive)
{
editCommDay(dataRif);
}
}
/// <summary>
/// indica se sia abilitato l'editing delle attività legate alle commesse e l'utente sia attivo!!!
/// </summary>
public bool regAttEnabled
{
get
{
return memLayer.ML.confReadBool("regAttEnabled") && DataProxy.currDipIsActive;
}
}
/// <summary>
///
/// </summary>
/// <param name="minPerm"></param>
/// <returns></returns>
public string classByPerm(object minPerm)
{
string answ = "";
if (Convert.ToDouble(minPerm) > 0)
{
answ = "lblWarning";
}
return answ;
}
/// <summary>
/// prepara tooltip permessi/straordinarie
/// </summary>
/// <param name="minStra"></param>
/// <param name="minPerm"></param>
/// <returns></returns>
public string tooltipPermStra(object minStra, object minPerm)
{
string answ = "";
try
{
if (memLayer.ML.confReadBool("reviewShowOreMin"))
{
answ = string.Format("Straordinarie: {0} - Permessi: {1} (h:mm)", utils.formOreMin(Convert.ToDecimal(minStra) / 60), utils.formOreMin(Convert.ToDecimal(minPerm) / 60));
}
else
{
answ = string.Format("Straordinarie: {0:0.##} h - Permessi: {1:0.##} h", Convert.ToDouble(minStra) / 60, Convert.ToDouble(minPerm) / 60);
}
}
catch
{ }
return answ;
}
/// <summary>
/// imposta visualizzazione dei pannelli opzionali laterali a seocnda del modo attivo
/// </summary>
protected void showPanels()
{
// imposto valori default
bool timbr = false;
bool commesse = false;
divDx.Attributes.Remove("class");
divCn.Attributes.Remove("class");
divSx.Attributes.Remove("class");
switch (activeMode)
{
case modoCommesse.editTimb:
timbr = true;
divCn.Attributes.Add("class", "col-sm-7 col-md-8 col-lg-9");
divSx.Attributes.Add("class", "col-sm-5 col-md-4 col-lg-3");
divDx.Visible = false;
divSx.Visible = true;
break;
case modoCommesse.editRegAtt:
commesse = true;
divCn.Attributes.Add("class", "col-sm-6 col-md-7 col-lg-8");
divDx.Attributes.Add("class", "col-sm-6 col-md-5 col-lg-4");
divDx.Visible = true;
divSx.Visible = false;
break;
case modoCommesse.elenco:
default:
divCn.Attributes.Add("class", "col-xs-12");
divDx.Visible = false;
divSx.Visible = false;
break;
}
pnlEditCom.Visible = commesse;
pnlEditOre.Visible = timbr;
mod_commUtMancTimbr1.Visible = timbr;
mod_commAttivitaDesk1.Visible = commesse;
}
/// <summary>
/// chiamata del button close (entrambi)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnClose_Click(object sender, EventArgs e)
{
activeMode = modoCommesse.elenco;
showPanels();
grView.DataBind();
}
/// <summary>
/// fornisce img x check coerenza ore timbrate e commesse
/// </summary>
/// <param name="okLavCom"></param>
/// <returns></returns>
public string imgChk(object okLavCom)
{
string answ = "~/images/statoKo_m.png";
try
{
if (Convert.ToBoolean(okLavCom))
{
answ = "~/images/statoOk_m.png";
}
}
catch
{ }
return answ;
}
/// <summary>
/// formatta stringa giustificativi
/// </summary>
/// <param name="_minPerm">permessi</param>
/// <param name="_minFer">ferie</param>
/// <param name="_minMal">malattia</param>
/// <param name="_minFest">festività</param>
/// <param name="_minMPP">MPP</param>
/// <returns></returns>
public string txtGiust(object _minPerm, object _minFer, object _minMal, object _minFest, object _minMPP)
{
string answ = "";
double minPerm = Convert.ToInt32(_minPerm);
double minFer = Convert.ToInt32(_minFer);
double minMal = Convert.ToInt32(_minMal);
double minFest = Convert.ToInt32(_minFest);
double minMpp = Convert.ToInt32(_minMPP);
if (memLayer.ML.confReadBool("reviewShowOreMin"))
{
if (minPerm > 0) answ += string.Format("{0} Pe ", utils.formOreMin(Convert.ToDecimal(minPerm / 60)));
if (minFer > 0) answ += string.Format("{0} Fe ", utils.formOreMin(Convert.ToDecimal(minFer / 60)));
if (minMal > 0) answ += string.Format("{0} Ma ", utils.formOreMin(Convert.ToDecimal(minMal / 60)));
if (minFest > 0) answ += string.Format("{0} Fs ", utils.formOreMin(Convert.ToDecimal(minFest / 60)));
if (minMpp > 0) answ += string.Format("{0} Mpp ", utils.formOreMin(Convert.ToDecimal(minMpp / 60)));
}
else
{
if (minPerm > 0) answ += string.Format("{0:0.00} Pe ", minPerm / 60);
if (minFer > 0) answ += string.Format("{0:0.00} Fe ", minFer / 60);
if (minMal > 0) answ += string.Format("{0:0.00} Ma ", minMal / 60);
if (minFest > 0) answ += string.Format("{0:0.00} Fs ", minFest / 60);
if (minMpp > 0) answ += string.Format("{0:0.00} Mpp ", minMpp / 60);
}
return answ;
}
/// <summary>
/// formatta stringa tooltip giustificativi
/// </summary>
/// <param name="_minPerm">permessi</param>
/// <param name="_minFer">ferie</param>
/// <param name="_minMal">malattia</param>
/// <param name="_minFest">festività</param>
/// <param name="_minMPP">MPP</param>
/// <returns></returns>
public string tooltipGiust(object _minPerm, object _minFer, object _minMal, object _minFest, object _minMPP)
{
string answ = "";
double minPerm = Convert.ToInt32(_minPerm);
double minFer = Convert.ToInt32(_minFer);
double minMal = Convert.ToInt32(_minMal);
double minFest = Convert.ToInt32(_minFest);
double minMpp = Convert.ToInt32(_minMPP);
if (memLayer.ML.confReadBool("reviewShowOreMin"))
{
if (minPerm > 0) answ += string.Format("{0} Permesso ", utils.formOreMin(Convert.ToDecimal(minPerm / 60)));
if (minFer > 0) answ += string.Format("{0} Ferie ", utils.formOreMin(Convert.ToDecimal(minFer / 60)));
if (minMal > 0) answ += string.Format("{0} Malattia ", utils.formOreMin(Convert.ToDecimal(minMal / 60)));
if (minFest > 0) answ += string.Format("{0} Festività ", utils.formOreMin(Convert.ToDecimal(minFest / 60)));
if (minMpp > 0) answ += string.Format("{0} Manc.Pausa Pranzo ", utils.formOreMin(Convert.ToDecimal(minMpp / 60)));
}
else
{
if (minPerm > 0) answ += string.Format("{0:0.00}h Permesso ", minPerm / 60);
if (minFer > 0) answ += string.Format("{0:0.00}h Ferie ", minFer / 60);
if (minMal > 0) answ += string.Format("{0:0.00}h Malattia ", minMal / 60);
if (minFest > 0) answ += string.Format("{0:0.00}h Festività ", minFest / 60);
if (minMpp > 0) answ += string.Format("{0:0.00}h Manc.Pausa Pranzo ", minMpp / 60);
}
return answ;
}
/// <summary>
/// formatta la durata in ore secondo web.config (centesimale/ore:min)
/// </summary>
/// <param name="oreCent"></param>
/// <returns></returns>
public string formatDurata(object oreCent)
{
decimal ore = 0;
try
{
ore = Convert.ToDecimal(oreCent);
}
catch
{ }
string answ = "";
if (memLayer.ML.confReadBool("reviewShowOreMin"))
{
answ = utils.formOreMin(ore);
}
else
{
answ = ore.ToString("0.00");
}
return answ;
}
}
}
+5 -2
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="AjaxControlToolkit" version="16.1.1.0" targetFramework="net462" />
<package id="AjaxControlToolkit" version="17.1.1.0" targetFramework="net462" />
<package id="Antlr" version="3.5.0.2" targetFramework="net462" />
<package id="AspNet.ScriptManager.bootstrap" version="3.3.7" targetFramework="net462" />
<package id="AspNet.ScriptManager.jQuery" version="3.1.1" targetFramework="net462" />
@@ -17,8 +17,11 @@
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.AspNet.Web.Optimization.WebForms" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net462" />
<package id="Microsoft.Web.RedisSessionStateProvider" version="2.2.5" targetFramework="net462" />
<package id="Modernizr" version="2.8.3" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net462" />
<package id="Respond" version="1.4.2" targetFramework="net462" />
<package id="StackExchange.Redis" version="1.2.6" targetFramework="net462" />
<package id="StackExchange.Redis.StrongName" version="1.2.6" targetFramework="net462" />
<package id="WebGrease" version="1.6.0" targetFramework="net462" />
</packages>
+2460 -2020
View File
File diff suppressed because it is too large Load Diff
+88 -36
View File
@@ -690,7 +690,7 @@ SELECT IdxDevice, DeviceSecret, idxDipendente, DeviceName, Description, dataOraE
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.Dipendenti" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Dipendenti] WHERE (([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_matricola = 1 AND [matricola] IS NULL) OR ([matricola] = @Original_matricola)) AND ((@IsNull_CF = 1 AND [CF] IS NULL) OR ([CF] = @Original_CF)) AND ((@IsNull_Cognome = 1 AND [Cognome] IS NULL) OR ([Cognome] = @Original_Cognome)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_dataNascita = 1 AND [dataNascita] IS NULL) OR ([dataNascita] = @Original_dataNascita)) AND ((@IsNull_luogoNascita = 1 AND [luogoNascita] IS NULL) OR ([luogoNascita] = @Original_luogoNascita)) AND ((@IsNull_provNascita = 1 AND [provNascita] IS NULL) OR ([provNascita] = @Original_provNascita)) AND ((@IsNull_nazNascita = 1 AND [nazNascita] IS NULL) OR ([nazNascita] = @Original_nazNascita)) AND ((@IsNull_codHw = 1 AND [codHw] IS NULL) OR ([codHw] = @Original_codHw)) AND ((@IsNull_codOrario = 1 AND [codOrario] IS NULL) OR ([codOrario] = @Original_codOrario)) AND ((@IsNull_mailLastOp = 1 AND [mailLastOp] IS NULL) OR ([mailLastOp] = @Original_mailLastOp)) AND ((@IsNull_mailDay = 1 AND [mailDay] IS NULL) OR ([mailDay] = @Original_mailDay)) AND ((@IsNull_mailWeek = 1 AND [mailWeek] IS NULL) OR ([mailWeek] = @Original_mailWeek)) AND ((@IsNull_mailMonth = 1 AND [mailMonth] IS NULL) OR ([mailMonth] = @Original_mailMonth)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_authKey = 1 AND [authKey] IS NULL) OR ([authKey] = @Original_authKey)) AND ((@IsNull_numAuth = 1 AND [numAuth] IS NULL) OR ([numAuth] = @Original_numAuth)) AND ((@IsNull_WOL_MAC = 1 AND [WOL_MAC] IS NULL) OR ([WOL_MAC] = @Original_WOL_MAC)) AND ((@IsNull_dominio = 1 AND [dominio] IS NULL) OR ([dominio] = @Original_dominio)) AND ((@IsNull_utente = 1 AND [utente] IS NULL) OR ([utente] = @Original_utente)))</CommandText>
<CommandText>DELETE FROM [Dipendenti] WHERE (([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_matricola = 1 AND [matricola] IS NULL) OR ([matricola] = @Original_matricola)) AND ((@IsNull_CF = 1 AND [CF] IS NULL) OR ([CF] = @Original_CF)) AND ((@IsNull_Cognome = 1 AND [Cognome] IS NULL) OR ([Cognome] = @Original_Cognome)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_dataNascita = 1 AND [dataNascita] IS NULL) OR ([dataNascita] = @Original_dataNascita)) AND ((@IsNull_luogoNascita = 1 AND [luogoNascita] IS NULL) OR ([luogoNascita] = @Original_luogoNascita)) AND ((@IsNull_provNascita = 1 AND [provNascita] IS NULL) OR ([provNascita] = @Original_provNascita)) AND ((@IsNull_nazNascita = 1 AND [nazNascita] IS NULL) OR ([nazNascita] = @Original_nazNascita)) AND ((@IsNull_codHw = 1 AND [codHw] IS NULL) OR ([codHw] = @Original_codHw)) AND ((@IsNull_codOrario = 1 AND [codOrario] IS NULL) OR ([codOrario] = @Original_codOrario)) AND ((@IsNull_mailLastOp = 1 AND [mailLastOp] IS NULL) OR ([mailLastOp] = @Original_mailLastOp)) AND ((@IsNull_mailDay = 1 AND [mailDay] IS NULL) OR ([mailDay] = @Original_mailDay)) AND ((@IsNull_mailWeek = 1 AND [mailWeek] IS NULL) OR ([mailWeek] = @Original_mailWeek)) AND ((@IsNull_mailMonth = 1 AND [mailMonth] IS NULL) OR ([mailMonth] = @Original_mailMonth)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_authKey = 1 AND [authKey] IS NULL) OR ([authKey] = @Original_authKey)) AND ((@IsNull_numAuth = 1 AND [numAuth] IS NULL) OR ([numAuth] = @Original_numAuth)) AND ((@IsNull_WOL_MAC = 1 AND [WOL_MAC] IS NULL) OR ([WOL_MAC] = @Original_WOL_MAC)) AND ((@IsNull_dominio = 1 AND [dominio] IS NULL) OR ([dominio] = @Original_dominio)) AND ((@IsNull_utente = 1 AND [utente] IS NULL) OR ([utente] = @Original_utente)) AND ((@IsNull_codDipendenteExt = 1 AND [codDipendenteExt] IS NULL) OR ([codDipendenteExt] = @Original_codDipendenteExt)) AND ((@IsNull_gruppo = 1 AND [gruppo] IS NULL) OR ([gruppo] = @Original_gruppo)) AND ((@IsNull_dataAssunzione = 1 AND [dataAssunzione] IS NULL) OR ([dataAssunzione] = @Original_dataAssunzione)) AND ((@IsNull_dataCessazione = 1 AND [dataCessazione] IS NULL) OR ([dataCessazione] = @Original_dataCessazione)) AND ((@IsNull_attivo = 1 AND [attivo] IS NULL) OR ([attivo] = @Original_attivo)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_matricola" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="matricola" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -731,15 +731,25 @@ SELECT IdxDevice, DeviceSecret, idxDipendente, DeviceName, Description, dataOraE
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_WOL_MAC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WOL_MAC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dominio" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dominio" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dominio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dominio" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_utente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_utente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_utente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_utente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_codDipendenteExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="codDipendenteExt" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_codDipendenteExt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codDipendenteExt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gruppo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gruppo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gruppo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dataAssunzione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dataAssunzione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_dataAssunzione" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataAssunzione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dataCessazione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dataCessazione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_dataCessazione" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataCessazione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_attivo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="attivo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="attivo" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Dipendenti] ([matricola], [CF], [Cognome], [Nome], [dataNascita], [luogoNascita], [provNascita], [nazNascita], [codHw], [codOrario], [mailLastOp], [mailDay], [mailWeek], [mailMonth], [email], [authKey], [numAuth], [WOL_MAC], [dominio], [utente]) VALUES (@matricola, @CF, @Cognome, @Nome, @dataNascita, @luogoNascita, @provNascita, @nazNascita, @codHw, @codOrario, @mailLastOp, @mailDay, @mailWeek, @mailMonth, @email, @authKey, @numAuth, @WOL_MAC, @dominio, @utente);
SELECT idxDipendente, matricola, CF, Cognome, Nome, dataNascita, luogoNascita, provNascita, nazNascita, codHw, codOrario, mailLastOp, mailDay, mailWeek, mailMonth, email, authKey, numAuth, WOL_MAC, dominio, utente FROM Dipendenti WHERE (idxDipendente = SCOPE_IDENTITY())</CommandText>
<CommandText>INSERT INTO [Dipendenti] ([matricola], [CF], [Cognome], [Nome], [dataNascita], [luogoNascita], [provNascita], [nazNascita], [codHw], [codOrario], [mailLastOp], [mailDay], [mailWeek], [mailMonth], [email], [authKey], [numAuth], [WOL_MAC], [dominio], [utente], [codDipendenteExt], [gruppo], [dataAssunzione], [dataCessazione], [attivo]) VALUES (@matricola, @CF, @Cognome, @Nome, @dataNascita, @luogoNascita, @provNascita, @nazNascita, @codHw, @codOrario, @mailLastOp, @mailDay, @mailWeek, @mailMonth, @email, @authKey, @numAuth, @WOL_MAC, @dominio, @utente, @codDipendenteExt, @gruppo, @dataAssunzione, @dataCessazione, @attivo);
SELECT idxDipendente, matricola, CF, Cognome, Nome, dataNascita, luogoNascita, provNascita, nazNascita, codHw, codOrario, mailLastOp, mailDay, mailWeek, mailMonth, email, authKey, numAuth, WOL_MAC, dominio, utente, codDipendenteExt, gruppo, dataAssunzione, dataCessazione, attivo FROM Dipendenti WHERE (idxDipendente = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matricola" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matricola" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CF" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -760,7 +770,12 @@ SELECT idxDipendente, matricola, CF, Cognome, Nome, dataNascita, luogoNascita, p
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@numAuth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="numAuth" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WOL_MAC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WOL_MAC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dominio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dominio" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@utente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@utente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@codDipendenteExt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codDipendenteExt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gruppo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@dataAssunzione" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataAssunzione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@dataCessazione" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataCessazione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="attivo" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
@@ -773,8 +788,8 @@ FROM Dipendenti</CommandText>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Dipendenti] SET [matricola] = @matricola, [CF] = @CF, [Cognome] = @Cognome, [Nome] = @Nome, [dataNascita] = @dataNascita, [luogoNascita] = @luogoNascita, [provNascita] = @provNascita, [nazNascita] = @nazNascita, [codHw] = @codHw, [codOrario] = @codOrario, [mailLastOp] = @mailLastOp, [mailDay] = @mailDay, [mailWeek] = @mailWeek, [mailMonth] = @mailMonth, [email] = @email, [authKey] = @authKey, [numAuth] = @numAuth, [WOL_MAC] = @WOL_MAC, [dominio] = @dominio, [utente] = @utente WHERE (([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_matricola = 1 AND [matricola] IS NULL) OR ([matricola] = @Original_matricola)) AND ((@IsNull_CF = 1 AND [CF] IS NULL) OR ([CF] = @Original_CF)) AND ((@IsNull_Cognome = 1 AND [Cognome] IS NULL) OR ([Cognome] = @Original_Cognome)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_dataNascita = 1 AND [dataNascita] IS NULL) OR ([dataNascita] = @Original_dataNascita)) AND ((@IsNull_luogoNascita = 1 AND [luogoNascita] IS NULL) OR ([luogoNascita] = @Original_luogoNascita)) AND ((@IsNull_provNascita = 1 AND [provNascita] IS NULL) OR ([provNascita] = @Original_provNascita)) AND ((@IsNull_nazNascita = 1 AND [nazNascita] IS NULL) OR ([nazNascita] = @Original_nazNascita)) AND ((@IsNull_codHw = 1 AND [codHw] IS NULL) OR ([codHw] = @Original_codHw)) AND ((@IsNull_codOrario = 1 AND [codOrario] IS NULL) OR ([codOrario] = @Original_codOrario)) AND ((@IsNull_mailLastOp = 1 AND [mailLastOp] IS NULL) OR ([mailLastOp] = @Original_mailLastOp)) AND ((@IsNull_mailDay = 1 AND [mailDay] IS NULL) OR ([mailDay] = @Original_mailDay)) AND ((@IsNull_mailWeek = 1 AND [mailWeek] IS NULL) OR ([mailWeek] = @Original_mailWeek)) AND ((@IsNull_mailMonth = 1 AND [mailMonth] IS NULL) OR ([mailMonth] = @Original_mailMonth)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_authKey = 1 AND [authKey] IS NULL) OR ([authKey] = @Original_authKey)) AND ((@IsNull_numAuth = 1 AND [numAuth] IS NULL) OR ([numAuth] = @Original_numAuth)) AND ((@IsNull_WOL_MAC = 1 AND [WOL_MAC] IS NULL) OR ([WOL_MAC] = @Original_WOL_MAC)) AND ((@IsNull_dominio = 1 AND [dominio] IS NULL) OR ([dominio] = @Original_dominio)) AND ((@IsNull_utente = 1 AND [utente] IS NULL) OR ([utente] = @Original_utente)));
SELECT idxDipendente, matricola, CF, Cognome, Nome, dataNascita, luogoNascita, provNascita, nazNascita, codHw, codOrario, mailLastOp, mailDay, mailWeek, mailMonth, email, authKey, numAuth, WOL_MAC, dominio, utente FROM Dipendenti WHERE (idxDipendente = @idxDipendente)</CommandText>
<CommandText>UPDATE [Dipendenti] SET [matricola] = @matricola, [CF] = @CF, [Cognome] = @Cognome, [Nome] = @Nome, [dataNascita] = @dataNascita, [luogoNascita] = @luogoNascita, [provNascita] = @provNascita, [nazNascita] = @nazNascita, [codHw] = @codHw, [codOrario] = @codOrario, [mailLastOp] = @mailLastOp, [mailDay] = @mailDay, [mailWeek] = @mailWeek, [mailMonth] = @mailMonth, [email] = @email, [authKey] = @authKey, [numAuth] = @numAuth, [WOL_MAC] = @WOL_MAC, [dominio] = @dominio, [utente] = @utente, [codDipendenteExt] = @codDipendenteExt, [gruppo] = @gruppo, [dataAssunzione] = @dataAssunzione, [dataCessazione] = @dataCessazione, [attivo] = @attivo WHERE (([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_matricola = 1 AND [matricola] IS NULL) OR ([matricola] = @Original_matricola)) AND ((@IsNull_CF = 1 AND [CF] IS NULL) OR ([CF] = @Original_CF)) AND ((@IsNull_Cognome = 1 AND [Cognome] IS NULL) OR ([Cognome] = @Original_Cognome)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_dataNascita = 1 AND [dataNascita] IS NULL) OR ([dataNascita] = @Original_dataNascita)) AND ((@IsNull_luogoNascita = 1 AND [luogoNascita] IS NULL) OR ([luogoNascita] = @Original_luogoNascita)) AND ((@IsNull_provNascita = 1 AND [provNascita] IS NULL) OR ([provNascita] = @Original_provNascita)) AND ((@IsNull_nazNascita = 1 AND [nazNascita] IS NULL) OR ([nazNascita] = @Original_nazNascita)) AND ((@IsNull_codHw = 1 AND [codHw] IS NULL) OR ([codHw] = @Original_codHw)) AND ((@IsNull_codOrario = 1 AND [codOrario] IS NULL) OR ([codOrario] = @Original_codOrario)) AND ((@IsNull_mailLastOp = 1 AND [mailLastOp] IS NULL) OR ([mailLastOp] = @Original_mailLastOp)) AND ((@IsNull_mailDay = 1 AND [mailDay] IS NULL) OR ([mailDay] = @Original_mailDay)) AND ((@IsNull_mailWeek = 1 AND [mailWeek] IS NULL) OR ([mailWeek] = @Original_mailWeek)) AND ((@IsNull_mailMonth = 1 AND [mailMonth] IS NULL) OR ([mailMonth] = @Original_mailMonth)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_authKey = 1 AND [authKey] IS NULL) OR ([authKey] = @Original_authKey)) AND ((@IsNull_numAuth = 1 AND [numAuth] IS NULL) OR ([numAuth] = @Original_numAuth)) AND ((@IsNull_WOL_MAC = 1 AND [WOL_MAC] IS NULL) OR ([WOL_MAC] = @Original_WOL_MAC)) AND ((@IsNull_dominio = 1 AND [dominio] IS NULL) OR ([dominio] = @Original_dominio)) AND ((@IsNull_utente = 1 AND [utente] IS NULL) OR ([utente] = @Original_utente)) AND ((@IsNull_codDipendenteExt = 1 AND [codDipendenteExt] IS NULL) OR ([codDipendenteExt] = @Original_codDipendenteExt)) AND ((@IsNull_gruppo = 1 AND [gruppo] IS NULL) OR ([gruppo] = @Original_gruppo)) AND ((@IsNull_dataAssunzione = 1 AND [dataAssunzione] IS NULL) OR ([dataAssunzione] = @Original_dataAssunzione)) AND ((@IsNull_dataCessazione = 1 AND [dataCessazione] IS NULL) OR ([dataCessazione] = @Original_dataCessazione)) AND ((@IsNull_attivo = 1 AND [attivo] IS NULL) OR ([attivo] = @Original_attivo)));
SELECT idxDipendente, matricola, CF, Cognome, Nome, dataNascita, luogoNascita, provNascita, nazNascita, codHw, codOrario, mailLastOp, mailDay, mailWeek, mailMonth, email, authKey, numAuth, WOL_MAC, dominio, utente, codDipendenteExt, gruppo, dataAssunzione, dataCessazione, attivo FROM Dipendenti WHERE (idxDipendente = @idxDipendente)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matricola" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matricola" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CF" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -795,7 +810,12 @@ SELECT idxDipendente, matricola, CF, Cognome, Nome, dataNascita, luogoNascita, p
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@numAuth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="numAuth" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WOL_MAC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WOL_MAC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dominio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dominio" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@utente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@utente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@codDipendenteExt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codDipendenteExt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gruppo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@dataAssunzione" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataAssunzione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@dataCessazione" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataCessazione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="attivo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_matricola" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="matricola" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matricola" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matricola" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -835,8 +855,18 @@ SELECT idxDipendente, matricola, CF, Cognome, Nome, dataNascita, luogoNascita, p
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_WOL_MAC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WOL_MAC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dominio" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dominio" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dominio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dominio" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_utente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_utente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_utente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_utente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="utente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_codDipendenteExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="codDipendenteExt" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_codDipendenteExt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codDipendenteExt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gruppo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gruppo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gruppo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dataAssunzione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dataAssunzione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_dataAssunzione" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataAssunzione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dataCessazione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dataCessazione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_dataCessazione" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataCessazione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_attivo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="attivo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="attivo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idxDipendente" ColumnName="idxDipendente" DataSourceName="GPW.dbo.Dipendenti" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
@@ -867,6 +897,11 @@ SELECT idxDipendente, matricola, CF, Cognome, Nome, dataNascita, luogoNascita, p
<Mapping SourceColumn="USER_NAME" DataSetColumn="utente" />
<Mapping SourceColumn="dominio" DataSetColumn="dominio" />
<Mapping SourceColumn="utente" DataSetColumn="utente" />
<Mapping SourceColumn="codDipendenteExt" DataSetColumn="codDipendenteExt" />
<Mapping SourceColumn="gruppo" DataSetColumn="gruppo" />
<Mapping SourceColumn="dataAssunzione" DataSetColumn="dataAssunzione" />
<Mapping SourceColumn="dataCessazione" DataSetColumn="dataCessazione" />
<Mapping SourceColumn="attivo" DataSetColumn="attivo" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
@@ -2616,7 +2651,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Timbrature" msprop:Generator_TableClassName="TimbratureDataTable" msprop:Generator_TableVarName="tableTimbrature" msprop:Generator_TablePropName="Timbrature" msprop:Generator_RowDeletingName="TimbratureRowDeleting" msprop:Generator_RowChangingName="TimbratureRowChanging" msprop:Generator_RowEvHandlerName="TimbratureRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureRowDeleted" msprop:Generator_UserTableName="Timbrature" msprop:Generator_RowChangedName="TimbratureRowChanged" msprop:Generator_RowEvArgName="TimbratureRowChangeEvent" msprop:Generator_RowClassName="TimbratureRow">
<xs:element name="Timbrature" msprop:Generator_TableClassName="TimbratureDataTable" msprop:Generator_TableVarName="tableTimbrature" msprop:Generator_RowChangedName="TimbratureRowChanged" msprop:Generator_TablePropName="Timbrature" msprop:Generator_RowDeletingName="TimbratureRowDeleting" msprop:Generator_RowChangingName="TimbratureRowChanging" msprop:Generator_RowEvHandlerName="TimbratureRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureRowDeleted" msprop:Generator_RowClassName="TimbratureRow" msprop:Generator_UserTableName="Timbrature" msprop:Generator_RowEvArgName="TimbratureRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="dataOra" msprop:Generator_ColumnVarNameInTable="columndataOra" msprop:Generator_ColumnPropNameInRow="dataOra" msprop:Generator_ColumnPropNameInTable="dataOraColumn" msprop:Generator_UserColumnName="dataOra" type="xs:dateTime" />
@@ -2640,7 +2675,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TimbratureExpl" msprop:Generator_TableClassName="TimbratureExplDataTable" msprop:Generator_TableVarName="tableTimbratureExpl" msprop:Generator_TablePropName="TimbratureExpl" msprop:Generator_RowDeletingName="TimbratureExplRowDeleting" msprop:Generator_RowChangingName="TimbratureExplRowChanging" msprop:Generator_RowEvHandlerName="TimbratureExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureExplRowDeleted" msprop:Generator_UserTableName="TimbratureExpl" msprop:Generator_RowChangedName="TimbratureExplRowChanged" msprop:Generator_RowEvArgName="TimbratureExplRowChangeEvent" msprop:Generator_RowClassName="TimbratureExplRow">
<xs:element name="TimbratureExpl" msprop:Generator_TableClassName="TimbratureExplDataTable" msprop:Generator_TableVarName="tableTimbratureExpl" msprop:Generator_RowChangedName="TimbratureExplRowChanged" msprop:Generator_TablePropName="TimbratureExpl" msprop:Generator_RowDeletingName="TimbratureExplRowDeleting" msprop:Generator_RowChangingName="TimbratureExplRowChanging" msprop:Generator_RowEvHandlerName="TimbratureExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureExplRowDeleted" msprop:Generator_RowClassName="TimbratureExplRow" msprop:Generator_UserTableName="TimbratureExpl" msprop:Generator_RowEvArgName="TimbratureExplRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" />
@@ -2693,7 +2728,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagDevices" msprop:Generator_TableClassName="AnagDevicesDataTable" msprop:Generator_TableVarName="tableAnagDevices" msprop:Generator_TablePropName="AnagDevices" msprop:Generator_RowDeletingName="AnagDevicesRowDeleting" msprop:Generator_RowChangingName="AnagDevicesRowChanging" msprop:Generator_RowEvHandlerName="AnagDevicesRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagDevicesRowDeleted" msprop:Generator_UserTableName="AnagDevices" msprop:Generator_RowChangedName="AnagDevicesRowChanged" msprop:Generator_RowEvArgName="AnagDevicesRowChangeEvent" msprop:Generator_RowClassName="AnagDevicesRow">
<xs:element name="AnagDevices" msprop:Generator_TableClassName="AnagDevicesDataTable" msprop:Generator_TableVarName="tableAnagDevices" msprop:Generator_RowChangedName="AnagDevicesRowChanged" msprop:Generator_TablePropName="AnagDevices" msprop:Generator_RowDeletingName="AnagDevicesRowDeleting" msprop:Generator_RowChangingName="AnagDevicesRowChanging" msprop:Generator_RowEvHandlerName="AnagDevicesRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagDevicesRowDeleted" msprop:Generator_RowClassName="AnagDevicesRow" msprop:Generator_UserTableName="AnagDevices" msprop:Generator_RowEvArgName="AnagDevicesRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxDevice" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxDevice" msprop:Generator_ColumnPropNameInRow="IdxDevice" msprop:Generator_ColumnPropNameInTable="IdxDeviceColumn" msprop:Generator_UserColumnName="IdxDevice" type="xs:int" />
@@ -2731,7 +2766,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent" msprop:Generator_RowClassName="DipendentiRow">
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_RowClassName="DipendentiRow" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -2839,10 +2874,27 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codDipendenteExt" msprop:Generator_ColumnVarNameInTable="columncodDipendenteExt" msprop:Generator_ColumnPropNameInRow="codDipendenteExt" msprop:Generator_ColumnPropNameInTable="codDipendenteExtColumn" msprop:Generator_UserColumnName="codDipendenteExt" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="gruppo" msprop:Generator_ColumnVarNameInTable="columngruppo" msprop:Generator_ColumnPropNameInRow="gruppo" msprop:Generator_ColumnPropNameInTable="gruppoColumn" msprop:Generator_UserColumnName="gruppo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dataAssunzione" msprop:Generator_ColumnVarNameInTable="columndataAssunzione" msprop:Generator_ColumnPropNameInRow="dataAssunzione" msprop:Generator_ColumnPropNameInTable="dataAssunzioneColumn" msprop:Generator_UserColumnName="dataAssunzione" type="xs:dateTime" minOccurs="0" />
<xs:element name="dataCessazione" msprop:Generator_ColumnVarNameInTable="columndataCessazione" msprop:Generator_ColumnPropNameInRow="dataCessazione" msprop:Generator_ColumnPropNameInTable="dataCessazioneColumn" msprop:Generator_UserColumnName="dataCessazione" type="xs:dateTime" minOccurs="0" />
<xs:element name="attivo" msprop:Generator_ColumnVarNameInTable="columnattivo" msprop:Generator_ColumnPropNameInRow="attivo" msprop:Generator_ColumnPropNameInTable="attivoColumn" msprop:Generator_UserColumnName="attivo" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxCliente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxCliente" msprop:Generator_ColumnPropNameInRow="idxCliente" msprop:Generator_ColumnPropNameInTable="idxClienteColumn" msprop:Generator_UserColumnName="idxCliente" type="xs:int" />
@@ -2935,7 +2987,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_RowClassName="AnagProgettiRow" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent" msprop:Generator_RowClassName="AnagProgettiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" />
@@ -2980,7 +3032,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dipendenti2Ruoli" msprop:Generator_TableClassName="Dipendenti2RuoliDataTable" msprop:Generator_TableVarName="tableDipendenti2Ruoli" msprop:Generator_RowChangedName="Dipendenti2RuoliRowChanged" msprop:Generator_TablePropName="Dipendenti2Ruoli" msprop:Generator_RowDeletingName="Dipendenti2RuoliRowDeleting" msprop:Generator_RowChangingName="Dipendenti2RuoliRowChanging" msprop:Generator_RowEvHandlerName="Dipendenti2RuoliRowChangeEventHandler" msprop:Generator_RowDeletedName="Dipendenti2RuoliRowDeleted" msprop:Generator_RowClassName="Dipendenti2RuoliRow" msprop:Generator_UserTableName="Dipendenti2Ruoli" msprop:Generator_RowEvArgName="Dipendenti2RuoliRowChangeEvent">
<xs:element name="Dipendenti2Ruoli" msprop:Generator_TableClassName="Dipendenti2RuoliDataTable" msprop:Generator_TableVarName="tableDipendenti2Ruoli" msprop:Generator_TablePropName="Dipendenti2Ruoli" msprop:Generator_RowDeletingName="Dipendenti2RuoliRowDeleting" msprop:Generator_RowChangingName="Dipendenti2RuoliRowChanging" msprop:Generator_RowEvHandlerName="Dipendenti2RuoliRowChangeEventHandler" msprop:Generator_RowDeletedName="Dipendenti2RuoliRowDeleted" msprop:Generator_UserTableName="Dipendenti2Ruoli" msprop:Generator_RowChangedName="Dipendenti2RuoliRowChanged" msprop:Generator_RowEvArgName="Dipendenti2RuoliRowChangeEvent" msprop:Generator_RowClassName="Dipendenti2RuoliRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -2994,7 +3046,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -3044,7 +3096,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_logCommUt" msprop:Generator_TableClassName="v_logCommUtDataTable" msprop:Generator_TableVarName="tablev_logCommUt" msprop:Generator_TablePropName="v_logCommUt" msprop:Generator_RowDeletingName="v_logCommUtRowDeleting" msprop:Generator_RowChangingName="v_logCommUtRowChanging" msprop:Generator_RowEvHandlerName="v_logCommUtRowChangeEventHandler" msprop:Generator_RowDeletedName="v_logCommUtRowDeleted" msprop:Generator_UserTableName="v_logCommUt" msprop:Generator_RowChangedName="v_logCommUtRowChanged" msprop:Generator_RowEvArgName="v_logCommUtRowChangeEvent" msprop:Generator_RowClassName="v_logCommUtRow">
<xs:element name="v_logCommUt" msprop:Generator_TableClassName="v_logCommUtDataTable" msprop:Generator_TableVarName="tablev_logCommUt" msprop:Generator_RowChangedName="v_logCommUtRowChanged" msprop:Generator_TablePropName="v_logCommUt" msprop:Generator_RowDeletingName="v_logCommUtRowDeleting" msprop:Generator_RowChangingName="v_logCommUtRowChanging" msprop:Generator_RowEvHandlerName="v_logCommUtRowChangeEventHandler" msprop:Generator_RowDeletedName="v_logCommUtRowDeleted" msprop:Generator_RowClassName="v_logCommUtRow" msprop:Generator_UserTableName="v_logCommUt" msprop:Generator_RowEvArgName="v_logCommUtRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msdata:Caption="dataLav" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -3077,7 +3129,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegAttivita" msprop:Generator_TableClassName="RegAttivitaDataTable" msprop:Generator_TableVarName="tableRegAttivita" msprop:Generator_RowChangedName="RegAttivitaRowChanged" msprop:Generator_TablePropName="RegAttivita" msprop:Generator_RowDeletingName="RegAttivitaRowDeleting" msprop:Generator_RowChangingName="RegAttivitaRowChanging" msprop:Generator_RowEvHandlerName="RegAttivitaRowChangeEventHandler" msprop:Generator_RowDeletedName="RegAttivitaRowDeleted" msprop:Generator_RowClassName="RegAttivitaRow" msprop:Generator_UserTableName="RegAttivita" msprop:Generator_RowEvArgName="RegAttivitaRowChangeEvent">
<xs:element name="RegAttivita" msprop:Generator_TableClassName="RegAttivitaDataTable" msprop:Generator_TableVarName="tableRegAttivita" msprop:Generator_TablePropName="RegAttivita" msprop:Generator_RowDeletingName="RegAttivitaRowDeleting" msprop:Generator_RowChangingName="RegAttivitaRowChanging" msprop:Generator_RowEvHandlerName="RegAttivitaRowChangeEventHandler" msprop:Generator_RowDeletedName="RegAttivitaRowDeleted" msprop:Generator_UserTableName="RegAttivita" msprop:Generator_RowChangedName="RegAttivitaRowChanged" msprop:Generator_RowEvArgName="RegAttivitaRowChangeEvent" msprop:Generator_RowClassName="RegAttivitaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxRA" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxRA" msprop:Generator_ColumnPropNameInRow="idxRA" msprop:Generator_ColumnPropNameInTable="idxRAColumn" msprop:Generator_UserColumnName="idxRA" type="xs:int" />
@@ -3097,7 +3149,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CalendFesteFerie" msprop:Generator_TableClassName="CalendFesteFerieDataTable" msprop:Generator_TableVarName="tableCalendFesteFerie" msprop:Generator_RowChangedName="CalendFesteFerieRowChanged" msprop:Generator_TablePropName="CalendFesteFerie" msprop:Generator_RowDeletingName="CalendFesteFerieRowDeleting" msprop:Generator_RowChangingName="CalendFesteFerieRowChanging" msprop:Generator_RowEvHandlerName="CalendFesteFerieRowChangeEventHandler" msprop:Generator_RowDeletedName="CalendFesteFerieRowDeleted" msprop:Generator_RowClassName="CalendFesteFerieRow" msprop:Generator_UserTableName="CalendFesteFerie" msprop:Generator_RowEvArgName="CalendFesteFerieRowChangeEvent">
<xs:element name="CalendFesteFerie" msprop:Generator_TableClassName="CalendFesteFerieDataTable" msprop:Generator_TableVarName="tableCalendFesteFerie" msprop:Generator_TablePropName="CalendFesteFerie" msprop:Generator_RowDeletingName="CalendFesteFerieRowDeleting" msprop:Generator_RowChangingName="CalendFesteFerieRowChanging" msprop:Generator_RowEvHandlerName="CalendFesteFerieRowChangeEventHandler" msprop:Generator_RowDeletedName="CalendFesteFerieRowDeleted" msprop:Generator_UserTableName="CalendFesteFerie" msprop:Generator_RowChangedName="CalendFesteFerieRowChanged" msprop:Generator_RowEvArgName="CalendFesteFerieRowChangeEvent" msprop:Generator_RowClassName="CalendFesteFerieRow">
<xs:complexType>
<xs:sequence>
<xs:element name="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" msprop:Generator_UserColumnName="data" type="xs:dateTime" />
@@ -3111,7 +3163,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagOrari" msprop:Generator_TableClassName="AnagOrariDataTable" msprop:Generator_TableVarName="tableAnagOrari" msprop:Generator_RowChangedName="AnagOrariRowChanged" msprop:Generator_TablePropName="AnagOrari" msprop:Generator_RowDeletingName="AnagOrariRowDeleting" msprop:Generator_RowChangingName="AnagOrariRowChanging" msprop:Generator_RowEvHandlerName="AnagOrariRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOrariRowDeleted" msprop:Generator_RowClassName="AnagOrariRow" msprop:Generator_UserTableName="AnagOrari" msprop:Generator_RowEvArgName="AnagOrariRowChangeEvent">
<xs:element name="AnagOrari" msprop:Generator_TableClassName="AnagOrariDataTable" msprop:Generator_TableVarName="tableAnagOrari" msprop:Generator_TablePropName="AnagOrari" msprop:Generator_RowDeletingName="AnagOrariRowDeleting" msprop:Generator_RowChangingName="AnagOrariRowChanging" msprop:Generator_RowEvHandlerName="AnagOrariRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOrariRowDeleted" msprop:Generator_UserTableName="AnagOrari" msprop:Generator_RowChangedName="AnagOrariRowChanged" msprop:Generator_RowEvArgName="AnagOrariRowChangeEvent" msprop:Generator_RowClassName="AnagOrariRow">
<xs:complexType>
<xs:sequence>
<xs:element name="codOrario" msprop:Generator_ColumnVarNameInTable="columncodOrario" msprop:Generator_ColumnPropNameInRow="codOrario" msprop:Generator_ColumnPropNameInTable="codOrarioColumn" msprop:Generator_UserColumnName="codOrario">
@@ -3147,7 +3199,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TimbMeseExpl" msprop:Generator_TableClassName="TimbMeseExplDataTable" msprop:Generator_TableVarName="tableTimbMeseExpl" msprop:Generator_TablePropName="TimbMeseExpl" msprop:Generator_RowDeletingName="TimbMeseExplRowDeleting" msprop:Generator_RowChangingName="TimbMeseExplRowChanging" msprop:Generator_RowEvHandlerName="TimbMeseExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbMeseExplRowDeleted" msprop:Generator_UserTableName="TimbMeseExpl" msprop:Generator_RowChangedName="TimbMeseExplRowChanged" msprop:Generator_RowEvArgName="TimbMeseExplRowChangeEvent" msprop:Generator_RowClassName="TimbMeseExplRow">
<xs:element name="TimbMeseExpl" msprop:Generator_TableClassName="TimbMeseExplDataTable" msprop:Generator_TableVarName="tableTimbMeseExpl" msprop:Generator_RowChangedName="TimbMeseExplRowChanged" msprop:Generator_TablePropName="TimbMeseExpl" msprop:Generator_RowDeletingName="TimbMeseExplRowDeleting" msprop:Generator_RowChangingName="TimbMeseExplRowChanging" msprop:Generator_RowEvHandlerName="TimbMeseExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbMeseExplRowDeleted" msprop:Generator_RowClassName="TimbMeseExplRow" msprop:Generator_UserTableName="TimbMeseExpl" msprop:Generator_RowEvArgName="TimbMeseExplRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
@@ -3172,7 +3224,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Giustificativi" msprop:Generator_TableClassName="GiustificativiDataTable" msprop:Generator_TableVarName="tableGiustificativi" msprop:Generator_TablePropName="Giustificativi" msprop:Generator_RowDeletingName="GiustificativiRowDeleting" msprop:Generator_RowChangingName="GiustificativiRowChanging" msprop:Generator_RowEvHandlerName="GiustificativiRowChangeEventHandler" msprop:Generator_RowDeletedName="GiustificativiRowDeleted" msprop:Generator_UserTableName="Giustificativi" msprop:Generator_RowChangedName="GiustificativiRowChanged" msprop:Generator_RowEvArgName="GiustificativiRowChangeEvent" msprop:Generator_RowClassName="GiustificativiRow">
<xs:element name="Giustificativi" msprop:Generator_TableClassName="GiustificativiDataTable" msprop:Generator_TableVarName="tableGiustificativi" msprop:Generator_RowChangedName="GiustificativiRowChanged" msprop:Generator_TablePropName="Giustificativi" msprop:Generator_RowDeletingName="GiustificativiRowDeleting" msprop:Generator_RowChangingName="GiustificativiRowChanging" msprop:Generator_RowEvHandlerName="GiustificativiRowChangeEventHandler" msprop:Generator_RowDeletedName="GiustificativiRowDeleted" msprop:Generator_RowClassName="GiustificativiRow" msprop:Generator_UserTableName="Giustificativi" msprop:Generator_RowEvArgName="GiustificativiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" />
@@ -3188,7 +3240,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_DipendentiAndAnomalie" msprop:Generator_TableClassName="stp_DipendentiAndAnomalieDataTable" msprop:Generator_TableVarName="tablestp_DipendentiAndAnomalie" msprop:Generator_TablePropName="stp_DipendentiAndAnomalie" msprop:Generator_RowDeletingName="stp_DipendentiAndAnomalieRowDeleting" msprop:Generator_RowChangingName="stp_DipendentiAndAnomalieRowChanging" msprop:Generator_RowEvHandlerName="stp_DipendentiAndAnomalieRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DipendentiAndAnomalieRowDeleted" msprop:Generator_UserTableName="stp_DipendentiAndAnomalie" msprop:Generator_RowChangedName="stp_DipendentiAndAnomalieRowChanged" msprop:Generator_RowEvArgName="stp_DipendentiAndAnomalieRowChangeEvent" msprop:Generator_RowClassName="stp_DipendentiAndAnomalieRow">
<xs:element name="stp_DipendentiAndAnomalie" msprop:Generator_TableClassName="stp_DipendentiAndAnomalieDataTable" msprop:Generator_TableVarName="tablestp_DipendentiAndAnomalie" msprop:Generator_RowChangedName="stp_DipendentiAndAnomalieRowChanged" msprop:Generator_TablePropName="stp_DipendentiAndAnomalie" msprop:Generator_RowDeletingName="stp_DipendentiAndAnomalieRowDeleting" msprop:Generator_RowChangingName="stp_DipendentiAndAnomalieRowChanging" msprop:Generator_RowEvHandlerName="stp_DipendentiAndAnomalieRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DipendentiAndAnomalieRowDeleted" msprop:Generator_RowClassName="stp_DipendentiAndAnomalieRow" msprop:Generator_UserTableName="stp_DipendentiAndAnomalie" msprop:Generator_RowEvArgName="stp_DipendentiAndAnomalieRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -3209,7 +3261,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TE_RA_Expl" msprop:Generator_TableClassName="TE_RA_ExplDataTable" msprop:Generator_TableVarName="tableTE_RA_Expl" msprop:Generator_TablePropName="TE_RA_Expl" msprop:Generator_RowDeletingName="TE_RA_ExplRowDeleting" msprop:Generator_RowChangingName="TE_RA_ExplRowChanging" msprop:Generator_RowEvHandlerName="TE_RA_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TE_RA_ExplRowDeleted" msprop:Generator_UserTableName="TE_RA_Expl" msprop:Generator_RowChangedName="TE_RA_ExplRowChanged" msprop:Generator_RowEvArgName="TE_RA_ExplRowChangeEvent" msprop:Generator_RowClassName="TE_RA_ExplRow">
<xs:element name="TE_RA_Expl" msprop:Generator_TableClassName="TE_RA_ExplDataTable" msprop:Generator_TableVarName="tableTE_RA_Expl" msprop:Generator_RowChangedName="TE_RA_ExplRowChanged" msprop:Generator_TablePropName="TE_RA_Expl" msprop:Generator_RowDeletingName="TE_RA_ExplRowDeleting" msprop:Generator_RowChangingName="TE_RA_ExplRowChanging" msprop:Generator_RowEvHandlerName="TE_RA_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TE_RA_ExplRowDeleted" msprop:Generator_RowClassName="TE_RA_ExplRow" msprop:Generator_UserTableName="TE_RA_Expl" msprop:Generator_RowEvArgName="TE_RA_ExplRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="dataLav" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" />
@@ -3272,7 +3324,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="regAttDayExpl" msprop:Generator_TableClassName="regAttDayExplDataTable" msprop:Generator_TableVarName="tableregAttDayExpl" msprop:Generator_TablePropName="regAttDayExpl" msprop:Generator_RowDeletingName="regAttDayExplRowDeleting" msprop:Generator_RowChangingName="regAttDayExplRowChanging" msprop:Generator_RowEvHandlerName="regAttDayExplRowChangeEventHandler" msprop:Generator_RowDeletedName="regAttDayExplRowDeleted" msprop:Generator_UserTableName="regAttDayExpl" msprop:Generator_RowChangedName="regAttDayExplRowChanged" msprop:Generator_RowEvArgName="regAttDayExplRowChangeEvent" msprop:Generator_RowClassName="regAttDayExplRow">
<xs:element name="regAttDayExpl" msprop:Generator_TableClassName="regAttDayExplDataTable" msprop:Generator_TableVarName="tableregAttDayExpl" msprop:Generator_RowChangedName="regAttDayExplRowChanged" msprop:Generator_TablePropName="regAttDayExpl" msprop:Generator_RowDeletingName="regAttDayExplRowDeleting" msprop:Generator_RowChangingName="regAttDayExplRowChanging" msprop:Generator_RowEvHandlerName="regAttDayExplRowChangeEventHandler" msprop:Generator_RowDeletedName="regAttDayExplRowDeleted" msprop:Generator_RowClassName="regAttDayExplRow" msprop:Generator_UserTableName="regAttDayExpl" msprop:Generator_RowEvArgName="regAttDayExplRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -3320,7 +3372,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagProgetti_Expl" msprop:Generator_TableClassName="AnagProgetti_ExplDataTable" msprop:Generator_TableVarName="tableAnagProgetti_Expl" msprop:Generator_RowChangedName="AnagProgetti_ExplRowChanged" msprop:Generator_TablePropName="AnagProgetti_Expl" msprop:Generator_RowDeletingName="AnagProgetti_ExplRowDeleting" msprop:Generator_RowChangingName="AnagProgetti_ExplRowChanging" msprop:Generator_RowEvHandlerName="AnagProgetti_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgetti_ExplRowDeleted" msprop:Generator_RowClassName="AnagProgetti_ExplRow" msprop:Generator_UserTableName="AnagProgetti_Expl" msprop:Generator_RowEvArgName="AnagProgetti_ExplRowChangeEvent">
<xs:element name="AnagProgetti_Expl" msprop:Generator_TableClassName="AnagProgetti_ExplDataTable" msprop:Generator_TableVarName="tableAnagProgetti_Expl" msprop:Generator_TablePropName="AnagProgetti_Expl" msprop:Generator_RowDeletingName="AnagProgetti_ExplRowDeleting" msprop:Generator_RowChangingName="AnagProgetti_ExplRowChanging" msprop:Generator_RowEvHandlerName="AnagProgetti_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgetti_ExplRowDeleted" msprop:Generator_UserTableName="AnagProgetti_Expl" msprop:Generator_RowChangedName="AnagProgetti_ExplRowChanged" msprop:Generator_RowEvArgName="AnagProgetti_ExplRowChangeEvent" msprop:Generator_RowClassName="AnagProgetti_ExplRow">
<xs:complexType>
<xs:sequence>
<xs:element name="RagSociale" msprop:Generator_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn" msprop:Generator_UserColumnName="RagSociale" minOccurs="0">
@@ -3361,7 +3413,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegistroEventi" msprop:Generator_TableClassName="RegistroEventiDataTable" msprop:Generator_TableVarName="tableRegistroEventi" msprop:Generator_TablePropName="RegistroEventi" msprop:Generator_RowDeletingName="RegistroEventiRowDeleting" msprop:Generator_RowChangingName="RegistroEventiRowChanging" msprop:Generator_RowEvHandlerName="RegistroEventiRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroEventiRowDeleted" msprop:Generator_UserTableName="RegistroEventi" msprop:Generator_RowChangedName="RegistroEventiRowChanged" msprop:Generator_RowEvArgName="RegistroEventiRowChangeEvent" msprop:Generator_RowClassName="RegistroEventiRow">
<xs:element name="RegistroEventi" msprop:Generator_TableClassName="RegistroEventiDataTable" msprop:Generator_TableVarName="tableRegistroEventi" msprop:Generator_RowChangedName="RegistroEventiRowChanged" msprop:Generator_TablePropName="RegistroEventi" msprop:Generator_RowDeletingName="RegistroEventiRowDeleting" msprop:Generator_RowChangingName="RegistroEventiRowChanging" msprop:Generator_RowEvHandlerName="RegistroEventiRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroEventiRowDeleted" msprop:Generator_RowClassName="RegistroEventiRow" msprop:Generator_UserTableName="RegistroEventi" msprop:Generator_RowEvArgName="RegistroEventiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DataOra" msprop:Generator_ColumnVarNameInTable="columnDataOra" msprop:Generator_ColumnPropNameInRow="DataOra" msprop:Generator_ColumnPropNameInTable="DataOraColumn" msprop:Generator_UserColumnName="DataOra" type="xs:dateTime" />
@@ -3473,12 +3525,12 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_Timbrature_Dipendenti" msdata:parent="Dipendenti" msdata:child="Timbrature" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="Timbrature" msprop:Generator_ChildPropName="GetTimbratureRows" msprop:Generator_UserRelationName="FK_Timbrature_Dipendenti" msprop:Generator_RelationVarName="relationFK_Timbrature_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
<msdata:Relationship name="FK_AnagProgetti_AnagClienti" msdata:parent="AnagClienti" msdata:child="AnagProgetti" msdata:parentkey="idxCliente" msdata:childkey="idxCliente" msprop:Generator_UserChildTable="AnagProgetti" msprop:Generator_ChildPropName="GetAnagProgettiRows" msprop:Generator_UserRelationName="FK_AnagProgetti_AnagClienti" msprop:Generator_RelationVarName="relationFK_AnagProgetti_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" />
<msdata:Relationship name="FK_AnagFasi_AnagProgetti" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="FK_AnagFasi_AnagProgetti" msprop:Generator_RelationVarName="relationFK_AnagFasi_AnagProgetti" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" />
<msdata:Relationship name="FK_RegAttivita_AnagFasi" msdata:parent="AnagFasi" msdata:child="RegAttivita" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_AnagFasi" msprop:Generator_RelationVarName="relationFK_RegAttivita_AnagFasi" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
<msdata:Relationship name="FK_RegAttivita_Dipendenti" msdata:parent="Dipendenti" msdata:child="RegAttivita" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_Dipendenti" msprop:Generator_RelationVarName="relationFK_RegAttivita_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
<msdata:Relationship name="FK_Dipendenti_AnagOrari" msdata:parent="AnagOrari" msdata:child="Dipendenti" msdata:parentkey="codOrario" msdata:childkey="codOrario" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_UserRelationName="FK_Dipendenti_AnagOrari" msprop:Generator_ParentPropName="AnagOrariRow" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagOrari" msprop:Generator_UserParentTable="AnagOrari" />
<msdata:Relationship name="FK_Timbrature_Dipendenti" msdata:parent="Dipendenti" msdata:child="Timbrature" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="Timbrature" msprop:Generator_ChildPropName="GetTimbratureRows" msprop:Generator_UserRelationName="FK_Timbrature_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_RelationVarName="relationFK_Timbrature_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" />
<msdata:Relationship name="FK_AnagProgetti_AnagClienti" msdata:parent="AnagClienti" msdata:child="AnagProgetti" msdata:parentkey="idxCliente" msdata:childkey="idxCliente" msprop:Generator_UserChildTable="AnagProgetti" msprop:Generator_ChildPropName="GetAnagProgettiRows" msprop:Generator_UserRelationName="FK_AnagProgetti_AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" msprop:Generator_RelationVarName="relationFK_AnagProgetti_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" />
<msdata:Relationship name="FK_AnagFasi_AnagProgetti" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="FK_AnagFasi_AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_RelationVarName="relationFK_AnagFasi_AnagProgetti" msprop:Generator_UserParentTable="AnagProgetti" />
<msdata:Relationship name="FK_RegAttivita_AnagFasi" msdata:parent="AnagFasi" msdata:child="RegAttivita" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationFK_RegAttivita_AnagFasi" msprop:Generator_UserParentTable="AnagFasi" />
<msdata:Relationship name="FK_RegAttivita_Dipendenti" msdata:parent="Dipendenti" msdata:child="RegAttivita" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_RelationVarName="relationFK_RegAttivita_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" />
<msdata:Relationship name="FK_Dipendenti_AnagOrari" msdata:parent="AnagOrari" msdata:child="Dipendenti" msdata:parentkey="codOrario" msdata:childkey="codOrario" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_UserRelationName="FK_Dipendenti_AnagOrari" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagOrari" msprop:Generator_UserParentTable="AnagOrari" msprop:Generator_ParentPropName="AnagOrariRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+8 -8
View File
@@ -4,18 +4,18 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="650" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:Timbrature" ZOrder="24" X="279" Y="76" Height="345" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:TimbratureExpl" ZOrder="14" X="604" Y="119" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagDevices" ZOrder="17" X="937" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:Dipendenti" ZOrder="5" X="279" Y="478" Height="533" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="311" />
<Shape ID="DesignTable:Dipendenti" ZOrder="5" X="279" Y="478" Height="457" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:AnagClienti" ZOrder="7" X="1234" Y="528" Height="438" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="311" />
<Shape ID="DesignTable:AnagProgetti" ZOrder="1" X="886" Y="976" Height="440" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="256" />
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="23" X="579" Y="943" Height="153" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagFasi" ZOrder="10" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_logCommUt" ZOrder="8" X="1204" Y="1309" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:RegAttivita" ZOrder="2" X="584" Y="591" Height="305" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:RegAttivita" ZOrder="2" X="598" Y="591" Height="305" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="19" X="584" Y="1151" Height="115" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagOrari" ZOrder="12" X="278" Y="1055" Height="343" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="16" X="1249" Y="134" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" />
@@ -86,12 +86,12 @@
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="20" LineWidth="11">
<RoutePoints>
<Point>
<X>523</X>
<Y>628</Y>
<X>532</X>
<Y>743</Y>
</Point>
<Point>
<X>584</X>
<Y>628</Y>
<X>598</X>
<Y>743</Y>
</Point>
</RoutePoints>
</Connector>
@@ -103,7 +103,7 @@
</Point>
<Point>
<X>324</X>
<Y>1011</Y>
<Y>935</Y>
</Point>
</RoutePoints>
</Connector>
+248 -213
View File
@@ -3,174 +3,174 @@ using System;
namespace GPW_data
{
/// <summary>
/// proxy accesso ai dati
/// </summary>
public class DataProxy
{
#region area table adapters
public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnCli;
public DS_ApplicazioneTableAdapters.TimbratureTableAdapter taTimb;
public DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter taTimbExpl;
public DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter taAnagDev;
public DS_ApplicazioneTableAdapters.DipendentiTableAdapter taDipendenti;
public DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter taDip2Ruoli;
public DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter taAP;
public DS_ApplicazioneTableAdapters.AnagFasiTableAdapter taAF;
public DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter taLCU;
public DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter taRA;
public DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter taRAExpl;
public DS_ApplicazioneTableAdapters.AnagOrariTableAdapter taAO;
public DS_ApplicazioneTableAdapters.GiustificativiTableAdapter taGiust;
public DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter taDipAnom;
public DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter taTimbRegAtt;
public DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter taRE;
public DS_UtilityTableAdapters.nextValContatoreTableAdapter taNextVal;
public DS_UtilityTableAdapters.AnagKeyValueTableAdapter taAKV;
public DS_UtilityTableAdapters.stp_VSProjFasi_searchTableAdapter taVSProjFasiSearch;
public DS_UtilityTableAdapters.v_selProjFasiTableAdapter taVSPF;
public DS_exportTableAdapters.TimbratureZucchettiTableAdapter taExpZucc;
public DS_exportTableAdapters.RegAtt_pivotTableAdapter taExpComm;
/// <summary>
/// proxy accesso ai dati
/// init dei table adapters
/// </summary>
public class DataProxy
protected void initTA()
{
#region area table adapters
taAnCli = new DS_ApplicazioneTableAdapters.AnagClientiTableAdapter();
taTimb = new DS_ApplicazioneTableAdapters.TimbratureTableAdapter();
taTimbExpl = new DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter();
taAnagDev = new DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter();
taDipendenti = new DS_ApplicazioneTableAdapters.DipendentiTableAdapter();
taDip2Ruoli = new DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter();
taAP = new DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter();
taAF = new DS_ApplicazioneTableAdapters.AnagFasiTableAdapter();
taLCU = new DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter();
taRA = new DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter();
taRAExpl = new DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter();
taAO = new DS_ApplicazioneTableAdapters.AnagOrariTableAdapter();
taGiust = new DS_ApplicazioneTableAdapters.GiustificativiTableAdapter();
taDipAnom = new DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter();
taTimbRegAtt = new DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter();
taRE = new DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter();
taNextVal = new DS_UtilityTableAdapters.nextValContatoreTableAdapter();
taAKV = new DS_UtilityTableAdapters.AnagKeyValueTableAdapter();
taVSProjFasiSearch = new DS_UtilityTableAdapters.stp_VSProjFasi_searchTableAdapter();
taVSPF = new DS_UtilityTableAdapters.v_selProjFasiTableAdapter();
taExpZucc = new DS_exportTableAdapters.TimbratureZucchettiTableAdapter();
taExpComm = new DS_exportTableAdapters.RegAtt_pivotTableAdapter();
}
/// <summary>
/// effettua setup dei connection strings da web.config delal singola applicazione
/// </summary>
protected virtual void setupConnectionStringBase()
{
// connections del db
taAnCli.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taTimb.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taTimbExpl.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAnagDev.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taDipendenti.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taDip2Ruoli.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAP.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAF.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taLCU.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taRA.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taRAExpl.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAO.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taGiust.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taDipAnom.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taTimbRegAtt.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taRE.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taNextVal.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAKV.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taVSProjFasiSearch.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taVSPF.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taExpZucc.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taExpComm.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
}
public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnCli;
public DS_ApplicazioneTableAdapters.TimbratureTableAdapter taTimb;
public DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter taTimbExpl;
public DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter taAnagDev;
public DS_ApplicazioneTableAdapters.DipendentiTableAdapter taDipendenti;
public DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter taDip2Ruoli;
public DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter taAP;
public DS_ApplicazioneTableAdapters.AnagFasiTableAdapter taAF;
public DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter taLCU;
public DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter taRA;
public DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter taRAExpl;
public DS_ApplicazioneTableAdapters.AnagOrariTableAdapter taAO;
public DS_ApplicazioneTableAdapters.GiustificativiTableAdapter taGiust;
public DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter taDipAnom;
public DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter taTimbRegAtt;
public DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter taRE;
#endregion
public DS_UtilityTableAdapters.nextValContatoreTableAdapter taNextVal;
public DS_UtilityTableAdapters.AnagKeyValueTableAdapter taAKV;
public DS_UtilityTableAdapters.stp_VSProjFasi_searchTableAdapter taVSProjFasiSearch;
public DS_UtilityTableAdapters.v_selProjFasiTableAdapter taVSPF;
protected DataProxy()
{
initTA();
setupConnectionStringBase();
}
/// <summary>
/// Singleton accesso a DataProxy
/// </summary>
public static DataProxy DP = new DataProxy();
public DS_exportTableAdapters.TimbratureZucchettiTableAdapter taExpZucc;
public DS_exportTableAdapters.RegAtt_pivotTableAdapter taExpComm;
#region utility public esposte
/// <summary>
/// init dei table adapters
/// </summary>
protected void initTA()
{
taAnCli = new DS_ApplicazioneTableAdapters.AnagClientiTableAdapter();
taTimb = new DS_ApplicazioneTableAdapters.TimbratureTableAdapter();
taTimbExpl = new DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter();
taAnagDev = new DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter();
taDipendenti = new DS_ApplicazioneTableAdapters.DipendentiTableAdapter();
taDip2Ruoli = new DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter();
taAP = new DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter();
taAF = new DS_ApplicazioneTableAdapters.AnagFasiTableAdapter();
taLCU = new DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter();
taRA = new DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter();
taRAExpl = new DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter();
taAO = new DS_ApplicazioneTableAdapters.AnagOrariTableAdapter();
taGiust = new DS_ApplicazioneTableAdapters.GiustificativiTableAdapter();
taDipAnom = new DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter();
taTimbRegAtt = new DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter();
taRE = new DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter();
taNextVal = new DS_UtilityTableAdapters.nextValContatoreTableAdapter();
taAKV = new DS_UtilityTableAdapters.AnagKeyValueTableAdapter();
taVSProjFasiSearch = new DS_UtilityTableAdapters.stp_VSProjFasi_searchTableAdapter();
taVSPF = new DS_UtilityTableAdapters.v_selProjFasiTableAdapter();
taExpZucc = new DS_exportTableAdapters.TimbratureZucchettiTableAdapter();
taExpComm = new DS_exportTableAdapters.RegAtt_pivotTableAdapter();
}
/// <summary>
/// effettua setup dei connection strings da web.config delal singola applicazione
/// </summary>
protected virtual void setupConnectionStringBase()
{
// connections del db
taAnCli.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taTimb.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taTimbExpl.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAnagDev.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taDipendenti.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taDip2Ruoli.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAP.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAF.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taLCU.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taRA.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taRAExpl.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAO.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taGiust.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taDipAnom.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taTimbRegAtt.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taRE.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taNextVal.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taAKV.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taVSProjFasiSearch.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taVSPF.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taExpZucc.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
taExpComm.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
}
/// <summary>
/// invia una mail al destinatario x linkare nuovi devices tramite URL
/// </summary>
/// <param name="destinatario"></param>
/// <param name="UserAuthKey"></param>
/// <param name="idxDipendente"></param>
/// <returns></returns>
public bool sendUserAuthEmail(string destinatario, string UserAuthKey, int idxDipendente)
{
bool fatto = false;
string mittente = "";
string oggetto = "";
string userUrl = "";
string baseUrl = "";
string userWebUrl = "";
string baseWebUrl = "";
string corpo = "";
try
{
// compongo la stringa
mittente = memLayer.ML.confReadString("_fromEmail");
oggetto = "Link autorizzazione device per GPW";
baseUrl = memLayer.ML.confReadString("baseUrl");
baseWebUrl = memLayer.ML.confReadString("baseWebUrl");
userUrl = string.Format("{2}jumper?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseUrl);
userWebUrl = string.Format("{2}jumper?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseWebUrl);
corpo = string.Format("Hai ricevuto questa email su richiesta tua o dell'Admin per poter procedere a registrare un (nuovo) devices con GPW:{0}<br/>Per proseguire clicca sul link seguente(rete interna):<br />{0}{0}{1}{0}{0}<br /><br />oppure sul link seguente (internet):<br />{0}{0}{2}{0}{0}<br /><br />Team GPW Steamware", Environment.NewLine, userUrl, userWebUrl);
fatto = gestEmail.geAuth.mandaEmail(mittente, destinatario, oggetto, corpo);
}
catch
{ }
return fatto;
}
/// <summary>
/// effettua enroll del device
/// </summary>
/// <param name="UserAuthKey"></param>
/// <param name="IPv4"></param>
/// <param name="DeviceName"></param>
/// <param name="Description"></param>
/// <param name="idxDipendente"></param>
/// <returns></returns>
public bool enrollDevice(string UserAuthKey, string IPv4, string DeviceName, string Description, int idxDipendente)
{
bool fatto = false;
// in primis testo se dipendente ed authKey sono validi..
if (DataProxy.DP.taDipendenti.getByAuthKey(idxDipendente, UserAuthKey).Rows.Count > 0)
{
#endregion
/************************************************
* Gestione riconoscimento devices
*
* - cerco IP del device, testo se è rete interna (A) o extranet/internet (B) cercando substring "localNet" da web.config
* (A): device interni: c'è un DHCP, e "dhcpLeaseTime" deve essere pari a lease time---
* - verifico se IP già in uso da un tempo < "dhcpLeaseTime" --> in questo caso segnalo errore e rimbalzo (NON permetto di registrare device a nuovo utente... sospetto uso "improprio" del device
* - se tempo > dhcpLeaseTime allora può aver cambiato IP: aggiorno IP e descrizione del device e proseguo
* (B): all'esterno vedo tutta una subnet NATtata con unico IP, non è + discriminante
* - le timbrature "da esterno" devono essere confermate (instrodurre "tipo timbratura" x cui interne sono autoconfermate, esterne sono "grayed" (da confermare, da admin o ad esempio se si accende secondo device utente entro 5/10 min)
* - le timbrature ext DOVREBBERO chiedere location (jScript?) e inviarla, visibile in conferma
*
*
* **********************************************/
protected DataProxy()
{
initTA();
setupConnectionStringBase();
}
/// <summary>
/// Singleton accesso a DataProxy
/// </summary>
public static DataProxy DP = new DataProxy();
#region utility public esposte
/// <summary>
/// invia una mail al destinatario x linkare nuovi devices tramite URL
/// </summary>
/// <param name="destinatario"></param>
/// <param name="UserAuthKey"></param>
/// <param name="idxDipendente"></param>
/// <returns></returns>
public bool sendUserAuthEmail(string destinatario, string UserAuthKey, int idxDipendente)
{
bool fatto = false;
string mittente = "";
string oggetto = "";
string userUrl = "";
string baseUrl = "";
string userWebUrl = "";
string baseWebUrl = "";
string corpo = "";
try
{
// compongo la stringa
mittente = memLayer.ML.confReadString("_fromEmail");
oggetto = "Link autorizzazione device per GPW";
baseUrl = memLayer.ML.confReadString("baseUrl");
baseWebUrl = memLayer.ML.confReadString("baseWebUrl");
userUrl = string.Format("{2}jumper?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseUrl);
userWebUrl = string.Format("{2}jumper?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseWebUrl);
corpo = string.Format("Hai ricevuto questa email su richiesta tua o dell'Admin per poter procedere a registrare un (nuovo) devices con GPW:{0}<br/>Per proseguire clicca sul link seguente(rete interna):<br />{0}{0}{1}{0}{0}<br /><br />oppure sul link seguente (internet):<br />{0}{0}{2}{0}{0}<br /><br />Team GPW Steamware", Environment.NewLine, userUrl, userWebUrl);
fatto = gestEmail.geAuth.mandaEmail(mittente, destinatario, oggetto, corpo);
}
catch
{ }
return fatto;
}
/// <summary>
/// effettua enroll del device
/// </summary>
/// <param name="UserAuthKey"></param>
/// <param name="IPv4"></param>
/// <param name="DeviceName"></param>
/// <param name="Description"></param>
/// <param name="idxDipendente"></param>
/// <returns></returns>
public bool enrollDevice(string UserAuthKey, string IPv4, string DeviceName, string Description, int idxDipendente)
{
bool fatto = false;
// in primis testo se dipendente ed authKey sono validi..
if (DataProxy.DP.taDipendenti.getByAuthKey(idxDipendente, UserAuthKey).Rows.Count > 0)
{
/************************************************
* Gestione riconoscimento devices
*
* - cerco IP del device, testo se è rete interna (A) o extranet/internet (B) cercando substring "localNet" da web.config
* (A): device interni: c'è un DHCP, e "dhcpLeaseTime" deve essere pari a lease time---
* - verifico se IP già in uso da un tempo < "dhcpLeaseTime" --> in questo caso segnalo errore e rimbalzo (NON permetto di registrare device a nuovo utente... sospetto uso "improprio" del device
* - se tempo > dhcpLeaseTime allora può aver cambiato IP: aggiorno IP e descrizione del device e proseguo
* (B): all'esterno vedo tutta una subnet NATtata con unico IP, non è + discriminante
* - le timbrature "da esterno" devono essere confermate (instrodurre "tipo timbratura" x cui interne sono autoconfermate, esterne sono "grayed" (da confermare, da admin o ad esempio se si accende secondo device utente entro 5/10 min)
* - le timbrature ext DOVREBBERO chiedere location (jScript?) e inviarla, visibile in conferma
*
*
* **********************************************/
//!!!RIFARE!!! non è + importante device name e description come distinti ma "quasi distinti" gli IP "intranet" o meglio anche ripetuto se a distanza di tempo
//!!!RIFARE!!! non è + importante device name e description come distinti ma "quasi distinti" gli IP "intranet" o meglio anche ripetuto se a distanza di tempo
#if false
// controllo se esiste già device con quel secret code...
if (DataProxy.DP.taAnagDev.getByDeviceName(DeviceName).Rows.Count > 0)
@@ -187,61 +187,96 @@ namespace GPW_data
}
}
#endif
// calcolo il secret...
DateTime adesso = DateTime.Now;
string Secret = string.Format("{0}|{1}|{2}", idxDipendente, DeviceName, adesso);
string devSecret = SteamCrypto.EncryptString(Secret, "AuthGPW");
try
{
DataProxy.DP.taAnagDev.insertQuery(devSecret, idxDipendente, DeviceName, Description, adesso, IPv4);
// registro "consumo" della authKey
DataProxy.DP.taDipendenti.recordAuthKeyUse(idxDipendente);
// salvo il cookie nel browser
memLayer.ML.setCookieVal("AuthGPW", devSecret, DateTime.Now.AddYears(5));
// indico come fatto
fatto = true;
}
catch
{ }
}
return fatto;
}
/// <summary>
/// idxDipendente in sessione
/// </summary>
public static int idxDipendente
// calcolo il secret...
DateTime adesso = DateTime.Now;
string Secret = string.Format("{0}|{1}|{2}", idxDipendente, DeviceName, adesso);
string devSecret = SteamCrypto.EncryptString(Secret, "AuthGPW");
try
{
get
{
int idx = 0;
try
{
idx = memLayer.ML.IntSessionObj("IdxDipendente");
}
catch
{ }
return idx;
}
set
{
memLayer.ML.setSessionVal("idxDipendente", value);
}
DataProxy.DP.taAnagDev.insertQuery(devSecret, idxDipendente, DeviceName, Description, adesso, IPv4);
// registro "consumo" della authKey
DataProxy.DP.taDipendenti.recordAuthKeyUse(idxDipendente);
// salvo il cookie nel browser
memLayer.ML.setCookieVal("AuthGPW", devSecret, DateTime.Now.AddYears(5));
// indico come fatto
fatto = true;
}
public string CognomeNomeByIdx(int idxDip)
{
string answ = "";
try
{
DS_Applicazione.DipendentiRow rigaDip = taDipendenti.getByIdx(idxDip)[0];
answ = string.Format("{0} {1}", rigaDip.Cognome, rigaDip.Nome);
}
catch
{ }
return answ;
}
#endregion
catch
{ }
}
return fatto;
}
/// <summary>
/// idxDipendente in sessione
/// </summary>
public static int idxDipendente
{
get
{
int idx = 0;
try
{
idx = memLayer.ML.IntSessionObj("IdxDipendente");
}
catch
{ }
return idx;
}
set
{
memLayer.ML.setSessionVal("idxDipendente", value);
}
}
/// <summary>
/// Verifica se il dip corrente sia attivo
/// </summary>
public static bool currDipIsActive
{
get
{
bool answ = false;
try
{
DS_Applicazione.DipendentiRow rigaDip = DP.taDipendenti.getByIdx(idxDipendente)[0];
answ = rigaDip.attivo;
}
catch
{ }
return answ;
}
}
/// <summary>
/// Verifica se il dip RICHIESTO sia attivo
/// </summary>
/// <param name="_idxDipendente"></param>
/// <returns></returns>
public bool dipIsActive(int _idxDipendente)
{
bool answ = false;
try
{
DS_Applicazione.DipendentiRow rigaDip = DP.taDipendenti.getByIdx(_idxDipendente)[0];
answ = rigaDip.attivo;
}
catch
{ }
return answ;
}
public string CognomeNomeByIdx(int idxDip)
{
string answ = "";
try
{
DS_Applicazione.DipendentiRow rigaDip = taDipendenti.getByIdx(idxDip)[0];
answ = string.Format("{0} {1}", rigaDip.Cognome, rigaDip.Nome);
}
catch
{ }
return answ;
}
#endregion
}
}
+12 -1
View File
@@ -22,6 +22,7 @@
<UseGlobalApplicationHostFile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<Use64BitIISExpress />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -58,14 +59,24 @@
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.RedisSessionStateProvider, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Web.RedisSessionStateProvider.2.2.5\lib\net40\Microsoft.Web.RedisSessionStateProvider.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="StackExchange.Redis, Version=1.2.6.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.1.2.6\lib\net46\StackExchange.Redis.dll</HintPath>
</Reference>
<Reference Include="StackExchange.Redis.StrongName, Version=1.2.6.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.StrongName.1.2.6\lib\net46\StackExchange.Redis.StrongName.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Core" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Drawing" />
+6
View File
@@ -4,6 +4,12 @@
<UseIISExpress>true</UseIISExpress>
<ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>IIS02</NameOfLastUsedPublishProfile>
<Use64BitIISExpress />
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
+32 -1
View File
@@ -31,7 +31,34 @@
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
</system.web>
<sessionState mode="Custom" customProvider="MySessionStateStore">
<providers>
<!-- For more details check https://github.com/Azure/aspnet-redis-providers/wiki -->
<!-- Either use 'connectionString' OR 'settingsClassName' and 'settingsMethodName' OR use 'host','port','accessKey','ssl','connectionTimeoutInMilliseconds' and 'operationTimeoutInMilliseconds'. -->
<!-- 'throwOnError','retryTimeoutInMilliseconds','databaseId' and 'applicationName' can be used with both options. -->
<!--
<add name="MySessionStateStore"
host = "127.0.0.1" [String]
port = "" [number]
accessKey = "" [String]
ssl = "false" [true|false]
throwOnError = "true" [true|false]
retryTimeoutInMilliseconds = "5000" [number]
databaseId = "0" [number]
applicationName = "" [String]
connectionTimeoutInMilliseconds = "5000" [number]
operationTimeoutInMilliseconds = "1000" [number]
connectionString = "<Valid StackExchange.Redis connection string>" [String]
settingsClassName = "<Assembly qualified class name that contains settings method specified below. Which basically return 'connectionString' value>" [String]
settingsMethodName = "<Settings method should be defined in settingsClass. It should be public, static, does not take any parameters and should have a return type of 'String', which is basically 'connectionString' value.>" [String]
loggingClassName = "<Assembly qualified class name that contains logging method specified below>" [String]
loggingMethodName = "<Logging method should be defined in loggingClass. It should be public, static, does not take any parameters and should have a return type of System.IO.TextWriter.>" [String]
redisSerializerType = "<Assembly qualified class name that implements Microsoft.Web.Redis.ISerializer>" [String]
/>
-->
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="" accessKey="" ssl="true" />
</providers>
</sessionState></system.web>
<appSettings>
<!--Conf generale-->
<add key="appName" value="GPW" />
@@ -146,6 +173,10 @@
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="StackExchange.Redis.StrongName" publicKeyToken="c219ff1ca8c2ce46" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.webServer>
+4 -1
View File
@@ -16,8 +16,11 @@
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.AspNet.Web.Optimization.WebForms" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net462" />
<package id="Microsoft.Web.RedisSessionStateProvider" version="2.2.5" targetFramework="net462" />
<package id="Modernizr" version="2.8.3" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net462" />
<package id="Respond" version="1.4.2" targetFramework="net462" />
<package id="StackExchange.Redis" version="1.2.6" targetFramework="net462" />
<package id="StackExchange.Redis.StrongName" version="1.2.6" targetFramework="net462" />
<package id="WebGrease" version="1.6.0" targetFramework="net462" />
</packages>
+5 -7
View File
@@ -24,6 +24,7 @@
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<TargetFrameworkProfile />
<Use64BitIISExpress />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -56,15 +57,12 @@
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AI.Agent.Intercept, Version=2.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.ApplicationInsights.Agent.Intercept.2.0.7\lib\net45\Microsoft.AI.Agent.Intercept.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
<HintPath>..\packages\NLog.4.4.7\lib\net45\NLog.dll</HintPath>
<HintPath>..\packages\NLog.4.4.12\lib\net45\NLog.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
@@ -341,13 +339,13 @@
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<Import Project="..\packages\BuildWebCompiler.1.11.359\build\BuildWebCompiler.targets" Condition="Exists('..\packages\BuildWebCompiler.1.11.359\build\BuildWebCompiler.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>Questo progetto fa riferimento a uno o più pacchetti NuGet che non sono presenti in questo computer. Usare lo strumento di ripristino dei pacchetti NuGet per scaricarli. Per altre informazioni, vedere http://go.microsoft.com/fwlink/?LinkID=322105. Il file mancante è {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\BuildWebCompiler.1.11.328\build\BuildWebCompiler.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\BuildWebCompiler.1.11.328\build\BuildWebCompiler.targets'))" />
<Error Condition="!Exists('..\packages\BuildWebCompiler.1.11.359\build\BuildWebCompiler.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\BuildWebCompiler.1.11.359\build\BuildWebCompiler.targets'))" />
</Target>
<Import Project="..\packages\BuildWebCompiler.1.11.328\build\BuildWebCompiler.targets" Condition="Exists('..\packages\BuildWebCompiler.1.11.328\build\BuildWebCompiler.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
+6
View File
@@ -4,6 +4,12 @@
<UseIISExpress>true</UseIISExpress>
<ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>ETS</NameOfLastUsedPublishProfile>
<Use64BitIISExpress />
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
+6 -22
View File
@@ -15,34 +15,19 @@
See https://github.com/nlog/nlog/wiki/Configuration-file
for information on customizing logging rules and outputs.
-->
<targets async="true">
<!--
add your targets here
<targets>
<!--
add your targets here
See https://github.com/nlog/NLog/wiki/Targets for possible targets.
See https://github.com/nlog/NLog/wiki/Layout-Renderers for the possible layout renderers.
-->
<!--
Write events to a file with the date in the filename.
Write events to a file with the date in the filename.
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${message}" />
-->
<target xsi:type="File"
name="f"
fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${message}"
/>
<!--viewer interattivo sentinel... http://sentinel.codeplex.com/-->
<target xsi:type="NLogViewer" name="sentinel" address="udp://127.0.0.1:9999"/>
<!--<target xsi:type="File"
name="default"
layout="${longdate} - ${level:uppercase=true}: ${message}${onexception:${newline}EXCEPTION\: ${exception:format=ToString}}"
fileName="${specialfolder:ApplicationData}\${appName}\Debug.log"
keepFileOpen="false"
archiveFileName="${specialfolder:ApplicationData}\${appName}\Debug_${shortdate}.{##}.log"
archiveNumbering="Sequence"
archiveEvery="Day"
maxArchiveFiles="30"
/>-->
</targets>
<rules>
@@ -52,6 +37,5 @@
Write all events with minimal level of Debug (So Debug, Info, Warn, Error and Fatal, but not Trace) to "f"
<logger name="*" minlevel="Debug" writeTo="f" />
-->
<logger name="*" minlevel="Debug" writeTo="f,sentinel" />
</rules>
</nlog>
+156 -31
View File
@@ -164,6 +164,7 @@
<xs:element name="whenEqual" type="whenEqual" />
<xs:element name="whenNotContains" type="whenNotContains" />
<xs:element name="whenNotEqual" type="whenNotEqual" />
<xs:element name="whenRepeated" type="whenRepeated" />
</xs:choice>
</xs:complexType>
<xs:simpleType name="NLogLevel">
@@ -409,13 +410,14 @@
<xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
@@ -483,9 +485,9 @@
<xs:documentation>Maximum queue size.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:attribute name="includeNdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeSourceInfo" type="xs:boolean">
@@ -498,9 +500,9 @@
<xs:documentation>Indicates whether to include NLog-specific extensions to log4j schema.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeNdc" type="xs:boolean">
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeCallSite" type="xs:boolean">
@@ -518,6 +520,11 @@
<xs:documentation>NDC item separator.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdlc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferReuse" type="xs:boolean">
<xs:annotation>
<xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
@@ -1007,6 +1014,7 @@
<xs:element name="source" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.EventLogTargetOverflowAction" />
<xs:element name="entryType" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="maxKilobytes" minOccurs="0" maxOccurs="1" type="xs:long" />
<xs:element name="maxMessageLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
@@ -1055,6 +1063,11 @@
<xs:documentation>Optional entrytype. When not set, or when not convertable to then determined by </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxKilobytes" type="xs:long">
<xs:annotation>
<xs:documentation>Maximum Event log size in kilobytes. If null, the value won't be set. Default is 512 Kilobytes as specified by Eventlog API</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxMessageLength" type="xs:integer">
<xs:annotation>
<xs:documentation>Message length limit to write to the Event Log.</xs:documentation>
@@ -1123,18 +1136,19 @@
<xs:element name="discardAll" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="fileNameKind" minOccurs="0" maxOccurs="1" type="NLog.Targets.FilePathKind" />
<xs:element name="forceMutexConcurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="maxLogFilenames" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="writeFooterOnArchivingOnly" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="fileName" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="archiveDateFormat" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="archiveOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="createDirs" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="enableFileDelete" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="fileAttributes" minOccurs="0" maxOccurs="1" type="NLog.Targets.Win32FileAttributes" />
<xs:element name="deleteOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="replaceFileContentsOnEachWrite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="enableFileDelete" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="concurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="keepFileOpen" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="maxLogFilenames" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="networkWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="openFileCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="openFileCacheTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
@@ -1142,7 +1156,6 @@
<xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="concurrentWriteAttemptDelay" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
@@ -1234,6 +1247,11 @@
<xs:documentation>Value indicationg whether file creation calls should be synchronized by a system global mutex.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLogFilenames" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum number of log filenames that should be stored as existing.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="writeFooterOnArchivingOnly" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether the footer should be written only when the file is archived.</xs:documentation>
@@ -1259,11 +1277,6 @@
<xs:documentation>Indicates whether to create directories if they do not exist.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enableFileDelete" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to enable log file(s) to be deleted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileAttributes" type="NLog.Targets.Win32FileAttributes">
<xs:annotation>
<xs:documentation>File attributes (Windows only).</xs:documentation>
@@ -1279,6 +1292,16 @@
<xs:documentation>Indicates whether to replace file contents on each write instead of appending log message at the end.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enableFileDelete" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to enable log file(s) to be deleted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concurrentWriteAttempts" type="xs:integer">
<xs:annotation>
<xs:documentation>Number of times the write is appended on the file before NLog discards the log message.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concurrentWrites" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on the same host.</xs:documentation>
@@ -1289,11 +1312,6 @@
<xs:documentation>Indicates whether to keep log file open instead of opening and closing it on each logging event.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLogFilenames" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum number of log filenames that should be stored as existing.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="networkWrites" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on different network hosts.</xs:documentation>
@@ -1329,11 +1347,6 @@
<xs:documentation>Delay in milliseconds to wait before attempting to write to the file again.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concurrentWriteAttempts" type="xs:integer">
<xs:annotation>
<xs:documentation>Number of times the write is appended on the file before NLog discards the log message.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -2032,13 +2045,14 @@
<xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
@@ -2106,9 +2120,9 @@
<xs:documentation>Maximum queue size.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:attribute name="includeNdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeSourceInfo" type="xs:boolean">
@@ -2121,9 +2135,9 @@
<xs:documentation>Indicates whether to include NLog-specific extensions to log4j schema.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeNdc" type="xs:boolean">
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeCallSite" type="xs:boolean">
@@ -2141,6 +2155,11 @@
<xs:documentation>NDC item separator.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdlc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferReuse" type="xs:boolean">
<xs:annotation>
<xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
@@ -2499,8 +2518,10 @@
<xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="escapeDataNLogLegacy" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="escapeDataRfc3986" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="header" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
<xs:element name="methodName" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="namespace" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="preAuthenticate" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="protocol" minOccurs="0" maxOccurs="1" type="NLog.Targets.WebServiceProtocol" />
<xs:element name="url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
<xs:element name="xmlRoot" minOccurs="0" maxOccurs="1" type="xs:string" />
@@ -2546,6 +2567,11 @@
<xs:documentation>Web service namespace. Only used with Soap.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="preAuthenticate" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="protocol" type="NLog.Targets.WebServiceProtocol">
<xs:annotation>
<xs:documentation>Protocol to be used when calling web service.</xs:documentation>
@@ -2689,8 +2715,10 @@
<xs:element name="attribute" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.JsonAttribute" />
<xs:element name="excludeProperties" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="renderEmptyObject" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="suppressSpaces" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="excludeProperties" type="xs:string">
<xs:annotation>
@@ -2702,6 +2730,11 @@
<xs:documentation>Option to include all properties from the log events</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="renderEmptyObject" type="xs:boolean">
<xs:annotation>
<xs:documentation>Option to render the empty object value {}</xs:documentation>
@@ -2712,6 +2745,11 @@
<xs:documentation>Option to suppress the extra spaces in the output json</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdlc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -2772,7 +2810,26 @@
<xs:complexType name="Log4JXmlEventLayout">
<xs:complexContent>
<xs:extension base="Layout">
<xs:choice minOccurs="0" maxOccurs="unbounded" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="includeAllProperties" type="xs:boolean">
<xs:annotation>
<xs:documentation>Option to include all properties from the log events</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdlc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -2947,6 +3004,74 @@
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="whenRepeated">
<xs:complexContent>
<xs:extension base="Filter">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
<xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="defaultFilterCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="filterCountMessageAppendFormat" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="filterCountPropertyName" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="maxFilterCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="maxLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="optimizeBufferDefaultLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="timeoutSeconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
</xs:choice>
<xs:attribute name="action" type="FilterResult">
<xs:annotation>
<xs:documentation>Action to be taken when filter matches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Layout to be used to filter log messages.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="defaultFilterCacheSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Default number of unique filter values to expect, will automatically increase if needed</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="filterCountMessageAppendFormat" type="xs:string">
<xs:annotation>
<xs:documentation>Append FilterCount to the when an event is no longer filtered</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="filterCountPropertyName" type="xs:string">
<xs:annotation>
<xs:documentation>Insert FilterCount value into when an event is no longer filtered</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxFilterCacheSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Max number of unique filter values to expect simultaneously</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLength" type="xs:integer">
<xs:annotation>
<xs:documentation>Max length of filter values, will truncate if above limit</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferDefaultLength" type="xs:integer">
<xs:annotation>
<xs:documentation>Default buffer size for the internal buffers</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferReuse" type="xs:boolean">
<xs:annotation>
<xs:documentation>Reuse internal buffers, and doesn't have to constantly allocate new buffers</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="timeoutSeconds" type="xs:integer">
<xs:annotation>
<xs:documentation>How long before a filter expires, and logging is accepted again</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AccurateLocal">
<xs:complexContent>
<xs:extension base="TimeSource">
+45 -45
View File
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
https://go.microsoft.com/fwlink/?LinkId=301880
@@ -6,30 +6,30 @@
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<sectionGroup name="elmah">
<section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/>
<section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/>
<section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah"/>
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah"/>
<section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
<section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
<section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
</sectionGroup>
</configSections>
<appSettings>
<!--modalità operativa e refresh-->
<add key="Environment" value="Dev"/>
<add key="Environment" value="Dev" />
<add key="UrlAdmin" value="../ADMIN" />
<add key="UrlBCode" value="../BCODE" />
<add key="UrlSmart" value="../SMART" />
<add key="UrlWrkLg" value="../WRKLG" />
<!--gestione logs-->
<add key="_logDir" value="~/logs/"/>
<add key="_logLevel" value="7"/>
<add key="_logMaxMb" value="30"/>
<add key="_logDir" value="~/logs/" />
<add key="_logLevel" value="7" />
<add key="_logMaxMb" value="30" />
<!-- conf base MVC -->
<add key="webpages:Version" value="3.0.0.0"/>
<add key="webpages:Enabled" value="false"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
</appSettings>
<!--
Per una descrizione delle modifiche al file web.config, vedere il sito Web all'indirizzo http://go.microsoft.com/fwlink/?LinkId=235367.
@@ -40,83 +40,83 @@
</system.Web>
-->
<system.web>
<compilation debug="true" targetFramework="4.6.2"/>
<httpRuntime targetFramework="4.6.2"/>
<compilation debug="true" targetFramework="4.6.2" />
<httpRuntime targetFramework="4.6.2" />
<httpModules>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/>
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.AI.Agent.Intercept" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.0.7.0" newVersion="2.0.7.0"/>
<assemblyIdentity name="Microsoft.AI.Agent.Intercept" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.7.0" newVersion="2.0.7.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler"/>
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler"/>
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler"/>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" />
</modules>
</system.webServer>
<connectionStrings>
<add name="GPWEntities" connectionString="metadata=res://*/Models.GPWModel.csdl|res://*/Models.GPWModel.ssdl|res://*/Models.GPWModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=SQL-STEAM\SQL2012;initial catalog=GPW;persist security info=True;user id=sa;password=keyhammer;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
<add name="GPWEntities" connectionString="metadata=res://*/Models.GPWModel.csdl|res://*/Models.GPWModel.ssdl|res://*/Models.GPWModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=SQL-STEAM\SQL2012;initial catalog=GPW;persist security info=True;user id=sa;password=keyhammer;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb"/>
<parameter value="mssqllocaldb" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<elmah>
<security allowRemoteAccess="false"/>
<security allowRemoteAccess="false" />
</elmah>
<location path="elmah.axd" inheritInChildApplications="false">
<system.web>
<httpHandlers>
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah"/>
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
</httpHandlers>
</system.web>
<system.webServer>
<handlers>
<add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode"/>
<add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
</handlers>
</system.webServer>
</location>
+5 -6
View File
@@ -2,14 +2,13 @@
<packages>
<package id="Antlr" version="3.5.0.2" targetFramework="net452" />
<package id="bootstrap" version="3.3.7" targetFramework="net452" />
<package id="BuildWebCompiler" version="1.11.328" targetFramework="net452" />
<package id="BuildWebCompiler" version="1.11.359" targetFramework="net462" />
<package id="elmah" version="1.2.2" targetFramework="net452" />
<package id="elmah.corelibrary" version="1.2.2" targetFramework="net452" />
<package id="EntityFramework" version="6.1.3" targetFramework="net452" />
<package id="EntityFramework.it" version="6.1.3" targetFramework="net452" />
<package id="jQuery" version="3.1.1" targetFramework="net452" />
<package id="jQuery.Validation" version="1.16.0" targetFramework="net452" />
<package id="Microsoft.ApplicationInsights.Agent.Intercept" version="2.0.7" targetFramework="net452" />
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net452" />
<package id="Microsoft.AspNet.Mvc.it" version="5.2.3" targetFramework="net452" />
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net452" />
@@ -21,10 +20,10 @@
<package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.2.3" targetFramework="net452" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net452" />
<package id="Modernizr" version="2.8.3" targetFramework="net452" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net452" />
<package id="NLog" version="4.4.7" targetFramework="net452" />
<package id="NLog.Config" version="4.4.7" targetFramework="net452" />
<package id="NLog.Schema" version="4.4.7" targetFramework="net452" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net462" />
<package id="NLog" version="4.4.12" targetFramework="net462" />
<package id="NLog.Config" version="4.4.12" targetFramework="net462" />
<package id="NLog.Schema" version="4.4.12" targetFramework="net462" />
<package id="Respond" version="1.4.2" targetFramework="net452" />
<package id="WebGrease" version="1.6.0" targetFramework="net452" />
</packages>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,15 @@
Microsoft.Web.Redis.RedisSessionStateProvider Nuget package has been added to your project.
A new <sessionstate> entry has been added to your web.config. However, any existing session state entries will not have been modified.
If you believe you had an existing sessionstate entry, you will need to manually modify the web.config to make the Redis Session State Provider as the default.
More information on Azure Redis Session State Provider can be found here -
Blog - http://blogs.msdn.com/b/webdev/archive/2014/05/12/announcing-asp-net-session-state-provider-for-redis-preview-release.aspx
MSDN - http://msdn.microsoft.com/en-us/library/azure/dn690522.aspx
More info on Azure Redis Cache service can be found here -
Blog - http://azure.microsoft.com/blog/2014/06/04/lap-around-azure-redis-cache-preview/
MSDN - http://msdn.microsoft.com/en-us/library/azure/dn690523.aspx
## Version 2.0.0
* This release contains a breaking change from '1.*' versions in the format of key names used to store session data. In order to support Redis Clusters, key names now include brackets. As a result of this change, existing session data will not be recognized by this session state provider. For more details: https://github.com/Azure/aspnet-redis-providers/wiki/v2.0.0-Breaking-Change-Details
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<sessionState mode="Custom" customProvider="MySessionStateStore">
<providers>
<!-- For more details check https://github.com/Azure/aspnet-redis-providers/wiki -->
<!-- Either use 'connectionString' OR 'settingsClassName' and 'settingsMethodName' OR use 'host','port','accessKey','ssl','connectionTimeoutInMilliseconds' and 'operationTimeoutInMilliseconds'. -->
<!-- 'throwOnError','retryTimeoutInMilliseconds','databaseId' and 'applicationName' can be used with both options. -->
<!--
<add name="MySessionStateStore"
host = "127.0.0.1" [String]
port = "" [number]
accessKey = "" [String]
ssl = "false" [true|false]
throwOnError = "true" [true|false]
retryTimeoutInMilliseconds = "5000" [number]
databaseId = "0" [number]
applicationName = "" [String]
connectionTimeoutInMilliseconds = "5000" [number]
operationTimeoutInMilliseconds = "1000" [number]
connectionString = "<Valid StackExchange.Redis connection string>" [String]
settingsClassName = "<Assembly qualified class name that contains settings method specified below. Which basically return 'connectionString' value>" [String]
settingsMethodName = "<Settings method should be defined in settingsClass. It should be public, static, does not take any parameters and should have a return type of 'String', which is basically 'connectionString' value.>" [String]
loggingClassName = "<Assembly qualified class name that contains logging method specified below>" [String]
loggingMethodName = "<Logging method should be defined in loggingClass. It should be public, static, does not take any parameters and should have a return type of System.IO.TextWriter.>" [String]
redisSerializerType = "<Assembly qualified class name that implements Microsoft.Web.Redis.ISerializer>" [String]
/>
-->
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider"
host=""
accessKey=""
ssl="true" />
</providers>
</sessionState>
</system.web>
</configuration>
Binary file not shown.
Binary file not shown.
@@ -8827,12 +8827,13 @@
</summary>
<returns>Allocated slot key.</returns>
</member>
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object)">
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object,System.Boolean)">
<summary>
Gets the data for a slot in thread-local storage.
</summary>
<typeparam name="T">Type of the data.</typeparam>
<param name="slot">The slot to get data for.</param>
<param name="create">Automatically create the object if it doesn't exist.</param>
<returns>
Slot data (will create T if null).
</returns>
@@ -8919,7 +8920,7 @@
<param name="value">Object value</param>
<returns>Object value converted to string</returns>
</member>
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode@)">
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode)">
<summary>
Converts object value to invariant format (understood by JavaScript)
</summary>
@@ -9963,6 +9964,12 @@
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.NestedDiagnosticsContext"/> stack.
@@ -11861,6 +11868,11 @@
Initializes a new instance of the <see cref="T:NLog.Layouts.JsonLayout"/> class.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.InitializeLayout">
<summary>
Initializes the layout.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.RenderFormattedMessage(NLog.LogEventInfo,System.Text.StringBuilder)">
<summary>
Formats the log event as a JSON document for writing.
@@ -11891,6 +11903,11 @@
Gets or sets the option to render the empty object value {}
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
@@ -11949,6 +11966,18 @@
Gets the <see cref="T:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer"/> instance that renders log events.
</summary>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="T:NLog.Layouts.SimpleLayout">
<summary>
Represents a string with embedded placeholders that can render contextual information.
@@ -16691,6 +16720,13 @@
Mostly for compatibility with log4net.
</summary>
</member>
<member name="M:NLog.MappedDiagnosticsContext.GetThreadDictionary(System.Boolean)">
<summary>
Gets the thread-local dictionary
</summary>
<param name="create">Must be true for any subsequent dictionary modification operation</param>
<returns></returns>
</member>
<member name="M:NLog.MappedDiagnosticsContext.Set(System.String,System.String)">
<summary>
Sets the current thread MDC item to the specified value.
@@ -18320,11 +18356,12 @@
Serialized value.
</returns>
</member>
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.Boolean,System.Boolean@)">
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.TypeCode,System.Boolean,System.Boolean@)">
<summary>
Converts object value into JSON escaped string
</summary>
<param name="value">Object value</param>
<param name="objTypeCode">Object TypeCode</param>
<param name="escapeUnicode">Should non-ascii characters be encoded</param>
<param name="encodeString">Should string be JSON encoded with quotes</param>
<returns>Object value converted to JSON escaped string</returns>
Binary file not shown.
@@ -8757,12 +8757,13 @@
</summary>
<returns>Allocated slot key.</returns>
</member>
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object)">
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object,System.Boolean)">
<summary>
Gets the data for a slot in thread-local storage.
</summary>
<typeparam name="T">Type of the data.</typeparam>
<param name="slot">The slot to get data for.</param>
<param name="create">Automatically create the object if it doesn't exist.</param>
<returns>
Slot data (will create T if null).
</returns>
@@ -8849,7 +8850,7 @@
<param name="value">Object value</param>
<returns>Object value converted to string</returns>
</member>
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode@)">
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode)">
<summary>
Converts object value to invariant format (understood by JavaScript)
</summary>
@@ -9893,6 +9894,12 @@
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.NestedDiagnosticsContext"/> stack.
@@ -11761,6 +11768,11 @@
Initializes a new instance of the <see cref="T:NLog.Layouts.JsonLayout"/> class.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.InitializeLayout">
<summary>
Initializes the layout.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.RenderFormattedMessage(NLog.LogEventInfo,System.Text.StringBuilder)">
<summary>
Formats the log event as a JSON document for writing.
@@ -11791,6 +11803,11 @@
Gets or sets the option to render the empty object value {}
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
@@ -11849,6 +11866,18 @@
Gets the <see cref="T:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer"/> instance that renders log events.
</summary>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="T:NLog.Layouts.SimpleLayout">
<summary>
Represents a string with embedded placeholders that can render contextual information.
@@ -16591,6 +16620,13 @@
Mostly for compatibility with log4net.
</summary>
</member>
<member name="M:NLog.MappedDiagnosticsContext.GetThreadDictionary(System.Boolean)">
<summary>
Gets the thread-local dictionary
</summary>
<param name="create">Must be true for any subsequent dictionary modification operation</param>
<returns></returns>
</member>
<member name="M:NLog.MappedDiagnosticsContext.Set(System.String,System.String)">
<summary>
Sets the current thread MDC item to the specified value.
@@ -18220,11 +18256,12 @@
Serialized value.
</returns>
</member>
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.Boolean,System.Boolean@)">
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.TypeCode,System.Boolean,System.Boolean@)">
<summary>
Converts object value into JSON escaped string
</summary>
<param name="value">Object value</param>
<param name="objTypeCode">Object TypeCode</param>
<param name="escapeUnicode">Should non-ascii characters be encoded</param>
<param name="encodeString">Should string be JSON encoded with quotes</param>
<returns>Object value converted to JSON escaped string</returns>
Binary file not shown.
@@ -9135,12 +9135,13 @@
</summary>
<returns>Allocated slot key.</returns>
</member>
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object)">
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object,System.Boolean)">
<summary>
Gets the data for a slot in thread-local storage.
</summary>
<typeparam name="T">Type of the data.</typeparam>
<param name="slot">The slot to get data for.</param>
<param name="create">Automatically create the object if it doesn't exist.</param>
<returns>
Slot data (will create T if null).
</returns>
@@ -9261,7 +9262,7 @@
<param name="value">Object value</param>
<returns>Object value converted to string</returns>
</member>
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode@)">
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode)">
<summary>
Converts object value to invariant format (understood by JavaScript)
</summary>
@@ -10305,6 +10306,12 @@
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.NestedDiagnosticsContext"/> stack.
@@ -12385,6 +12392,11 @@
Initializes a new instance of the <see cref="T:NLog.Layouts.JsonLayout"/> class.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.InitializeLayout">
<summary>
Initializes the layout.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.RenderFormattedMessage(NLog.LogEventInfo,System.Text.StringBuilder)">
<summary>
Formats the log event as a JSON document for writing.
@@ -12415,6 +12427,11 @@
Gets or sets the option to render the empty object value {}
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
@@ -12473,6 +12490,18 @@
Gets the <see cref="T:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer"/> instance that renders log events.
</summary>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="T:NLog.Layouts.SimpleLayout">
<summary>
Represents a string with embedded placeholders that can render contextual information.
@@ -17947,6 +17976,13 @@
Mostly for compatibility with log4net.
</summary>
</member>
<member name="M:NLog.MappedDiagnosticsContext.GetThreadDictionary(System.Boolean)">
<summary>
Gets the thread-local dictionary
</summary>
<param name="create">Must be true for any subsequent dictionary modification operation</param>
<returns></returns>
</member>
<member name="M:NLog.MappedDiagnosticsContext.Set(System.String,System.String)">
<summary>
Sets the current thread MDC item to the specified value.
@@ -19715,6 +19751,11 @@
to initialize logging.
</summary>
</member>
<member name="M:NLog.Targets.DatabaseTarget.SetConnectionType">
<summary>
Set the <see cref="P:NLog.Targets.DatabaseTarget.ConnectionType"/> to use it for opening connections to the database.
</summary>
</member>
<member name="M:NLog.Targets.DatabaseTarget.CloseTarget">
<summary>
Closes the target and releases any unmanaged resources.
@@ -20083,11 +20124,12 @@
Serialized value.
</returns>
</member>
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.Boolean,System.Boolean@)">
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.TypeCode,System.Boolean,System.Boolean@)">
<summary>
Converts object value into JSON escaped string
</summary>
<param name="value">Object value</param>
<param name="objTypeCode">Object TypeCode</param>
<param name="escapeUnicode">Should non-ascii characters be encoded</param>
<param name="encodeString">Should string be JSON encoded with quotes</param>
<returns>Object value converted to JSON escaped string</returns>
@@ -20247,6 +20289,16 @@
</summary>
<remarks><value>MaxMessageLength</value> cannot be zero or negative</remarks>
</member>
<member name="P:NLog.Targets.EventLogTarget.MaxKilobytes">
<summary>
Gets or sets the maximum Event log size in kilobytes.
If <c>null</c>, the value won't be set.
Default is 512 Kilobytes as specified by Eventlog API
</summary>
<remarks><value>MaxKilobytes</value> cannot be less than 64 or greater than 4194240 or not a multiple of 64. If <c>null</c>, use the default value</remarks>
</member>
<member name="P:NLog.Targets.EventLogTarget.OnOverflow">
<summary>
Gets or sets the action to take if the message is larger than the <see cref="P:NLog.Targets.EventLogTarget.MaxMessageLength"/> option.
Binary file not shown.
@@ -9130,12 +9130,13 @@
</summary>
<returns>Allocated slot key.</returns>
</member>
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object)">
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object,System.Boolean)">
<summary>
Gets the data for a slot in thread-local storage.
</summary>
<typeparam name="T">Type of the data.</typeparam>
<param name="slot">The slot to get data for.</param>
<param name="create">Automatically create the object if it doesn't exist.</param>
<returns>
Slot data (will create T if null).
</returns>
@@ -9263,7 +9264,7 @@
<param name="value">Object value</param>
<returns>Object value converted to string</returns>
</member>
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode@)">
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode)">
<summary>
Converts object value to invariant format (understood by JavaScript)
</summary>
@@ -10307,6 +10308,18 @@
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeMdlc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsLogicalContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.NestedDiagnosticsContext"/> stack.
@@ -10477,6 +10490,41 @@
</summary>
<docgen category='Rendering Options' order='10' />
</member>
<member name="T:NLog.LayoutRenderers.NdlcLayoutRenderer">
<summary>
<see cref="T:NLog.NestedDiagnosticsLogicalContext"/> Renderer (Async scope)
</summary>
</member>
<member name="M:NLog.LayoutRenderers.NdlcLayoutRenderer.#ctor">
<summary>
Initializes a new instance of the <see cref="T:NLog.LayoutRenderers.NdlcLayoutRenderer"/> class.
</summary>
</member>
<member name="M:NLog.LayoutRenderers.NdlcLayoutRenderer.Append(System.Text.StringBuilder,NLog.LogEventInfo)">
<summary>
Renders the specified Nested Logical Context item and appends it to the specified <see cref="T:System.Text.StringBuilder"/>.
</summary>
<param name="builder">The <see cref="T:System.Text.StringBuilder"/> to append the rendered data to.</param>
<param name="logEvent">Logging event.</param>
</member>
<member name="P:NLog.LayoutRenderers.NdlcLayoutRenderer.TopFrames">
<summary>
Gets or sets the number of top stack frames to be rendered.
</summary>
<docgen category='Rendering Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.NdlcLayoutRenderer.BottomFrames">
<summary>
Gets or sets the number of bottom stack frames to be rendered.
</summary>
<docgen category='Rendering Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.NdlcLayoutRenderer.Separator">
<summary>
Gets or sets the separator to be used for concatenating nested logical context output.
</summary>
<docgen category='Rendering Options' order='10' />
</member>
<member name="T:NLog.LayoutRenderers.NewLineLayoutRenderer">
<summary>
A newline literal.
@@ -12411,6 +12459,11 @@
Initializes a new instance of the <see cref="T:NLog.Layouts.JsonLayout"/> class.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.InitializeLayout">
<summary>
Initializes the layout.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.RenderFormattedMessage(NLog.LogEventInfo,System.Text.StringBuilder)">
<summary>
Formats the log event as a JSON document for writing.
@@ -12441,6 +12494,16 @@
Gets or sets the option to render the empty object value {}
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdlc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsLogicalContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
@@ -12499,6 +12562,24 @@
Gets the <see cref="T:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer"/> instance that renders log events.
</summary>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdlc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsLogicalContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="T:NLog.Layouts.SimpleLayout">
<summary>
Represents a string with embedded placeholders that can render contextual information.
@@ -17973,6 +18054,13 @@
Mostly for compatibility with log4net.
</summary>
</member>
<member name="M:NLog.MappedDiagnosticsContext.GetThreadDictionary(System.Boolean)">
<summary>
Gets the thread-local dictionary
</summary>
<param name="create">Must be true for any subsequent dictionary modification operation</param>
<returns></returns>
</member>
<member name="M:NLog.MappedDiagnosticsContext.Set(System.String,System.String)">
<summary>
Sets the current thread MDC item to the specified value.
@@ -18315,6 +18403,36 @@
Reverts the stack to original item count.
</summary>
</member>
<member name="T:NLog.NestedDiagnosticsLogicalContext">
<summary>
Async version of <see cref="T:NLog.NestedDiagnosticsContext"/> - a logical context structure that keeps a stack
Allows for maintaining scope across asynchronous tasks and call contexts.
</summary>
</member>
<member name="M:NLog.NestedDiagnosticsLogicalContext.Push``1(``0)">
<summary>
Pushes the specified value on current stack
</summary>
<param name="value">The value to be pushed.</param>
<returns>An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.</returns>
</member>
<member name="M:NLog.NestedDiagnosticsLogicalContext.Pop">
<summary>
Pops the top message off the current stack
</summary>
<returns>The top message which is no longer on the stack.</returns>
</member>
<member name="M:NLog.NestedDiagnosticsLogicalContext.Clear">
<summary>
Clears current stack.
</summary>
</member>
<member name="M:NLog.NestedDiagnosticsLogicalContext.GetAllObjects">
<summary>
Gets all objects on the stack. The objects are not removed from the stack.
</summary>
<returns>Array of objects on the stack.</returns>
</member>
<member name="T:NLog.NLogConfigurationException">
<summary>
Exception thrown during NLog configuration.
@@ -19215,6 +19333,12 @@
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Targets.NLogViewerTarget.IncludeMdlc">
<summary>
Gets or sets a value indicating whether to include <see cref="T:NLog.MappedDiagnosticsLogicalContext"/> dictionary contents.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Targets.NLogViewerTarget.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include <see cref="T:NLog.NestedDiagnosticsContext"/> stack contents.
@@ -19918,6 +20042,11 @@
to initialize logging.
</summary>
</member>
<member name="M:NLog.Targets.DatabaseTarget.SetConnectionType">
<summary>
Set the <see cref="P:NLog.Targets.DatabaseTarget.ConnectionType"/> to use it for opening connections to the database.
</summary>
</member>
<member name="M:NLog.Targets.DatabaseTarget.CloseTarget">
<summary>
Closes the target and releases any unmanaged resources.
@@ -20286,11 +20415,12 @@
Serialized value.
</returns>
</member>
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.Boolean,System.Boolean@)">
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.TypeCode,System.Boolean,System.Boolean@)">
<summary>
Converts object value into JSON escaped string
</summary>
<param name="value">Object value</param>
<param name="objTypeCode">Object TypeCode</param>
<param name="escapeUnicode">Should non-ascii characters be encoded</param>
<param name="encodeString">Should string be JSON encoded with quotes</param>
<returns>Object value converted to JSON escaped string</returns>
@@ -20450,6 +20580,16 @@
</summary>
<remarks><value>MaxMessageLength</value> cannot be zero or negative</remarks>
</member>
<member name="P:NLog.Targets.EventLogTarget.MaxKilobytes">
<summary>
Gets or sets the maximum Event log size in kilobytes.
If <c>null</c>, the value won't be set.
Default is 512 Kilobytes as specified by Eventlog API
</summary>
<remarks><value>MaxKilobytes</value> cannot be less than 64 or greater than 4194240 or not a multiple of 64. If <c>null</c>, use the default value</remarks>
</member>
<member name="P:NLog.Targets.EventLogTarget.OnOverflow">
<summary>
Gets or sets the action to take if the message is larger than the <see cref="P:NLog.Targets.EventLogTarget.MaxMessageLength"/> option.
Binary file not shown.
@@ -9234,12 +9234,13 @@
</summary>
<returns>Allocated slot key.</returns>
</member>
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object)">
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object,System.Boolean)">
<summary>
Gets the data for a slot in thread-local storage.
</summary>
<typeparam name="T">Type of the data.</typeparam>
<param name="slot">The slot to get data for.</param>
<param name="create">Automatically create the object if it doesn't exist.</param>
<returns>
Slot data (will create T if null).
</returns>
@@ -9367,7 +9368,7 @@
<param name="value">Object value</param>
<returns>Object value converted to string</returns>
</member>
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode@)">
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode)">
<summary>
Converts object value to invariant format (understood by JavaScript)
</summary>
@@ -10432,6 +10433,18 @@
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeMdlc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsLogicalContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.NestedDiagnosticsContext"/> stack.
@@ -10602,6 +10615,41 @@
</summary>
<docgen category='Rendering Options' order='10' />
</member>
<member name="T:NLog.LayoutRenderers.NdlcLayoutRenderer">
<summary>
<see cref="T:NLog.NestedDiagnosticsLogicalContext"/> Renderer (Async scope)
</summary>
</member>
<member name="M:NLog.LayoutRenderers.NdlcLayoutRenderer.#ctor">
<summary>
Initializes a new instance of the <see cref="T:NLog.LayoutRenderers.NdlcLayoutRenderer"/> class.
</summary>
</member>
<member name="M:NLog.LayoutRenderers.NdlcLayoutRenderer.Append(System.Text.StringBuilder,NLog.LogEventInfo)">
<summary>
Renders the specified Nested Logical Context item and appends it to the specified <see cref="T:System.Text.StringBuilder"/>.
</summary>
<param name="builder">The <see cref="T:System.Text.StringBuilder"/> to append the rendered data to.</param>
<param name="logEvent">Logging event.</param>
</member>
<member name="P:NLog.LayoutRenderers.NdlcLayoutRenderer.TopFrames">
<summary>
Gets or sets the number of top stack frames to be rendered.
</summary>
<docgen category='Rendering Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.NdlcLayoutRenderer.BottomFrames">
<summary>
Gets or sets the number of bottom stack frames to be rendered.
</summary>
<docgen category='Rendering Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.NdlcLayoutRenderer.Separator">
<summary>
Gets or sets the separator to be used for concatenating nested logical context output.
</summary>
<docgen category='Rendering Options' order='10' />
</member>
<member name="T:NLog.LayoutRenderers.NewLineLayoutRenderer">
<summary>
A newline literal.
@@ -12536,6 +12584,11 @@
Initializes a new instance of the <see cref="T:NLog.Layouts.JsonLayout"/> class.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.InitializeLayout">
<summary>
Initializes the layout.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.RenderFormattedMessage(NLog.LogEventInfo,System.Text.StringBuilder)">
<summary>
Formats the log event as a JSON document for writing.
@@ -12566,6 +12619,16 @@
Gets or sets the option to render the empty object value {}
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdlc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsLogicalContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
@@ -12624,6 +12687,24 @@
Gets the <see cref="T:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer"/> instance that renders log events.
</summary>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdlc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsLogicalContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="T:NLog.Layouts.SimpleLayout">
<summary>
Represents a string with embedded placeholders that can render contextual information.
@@ -18155,6 +18236,13 @@
Mostly for compatibility with log4net.
</summary>
</member>
<member name="M:NLog.MappedDiagnosticsContext.GetThreadDictionary(System.Boolean)">
<summary>
Gets the thread-local dictionary
</summary>
<param name="create">Must be true for any subsequent dictionary modification operation</param>
<returns></returns>
</member>
<member name="M:NLog.MappedDiagnosticsContext.Set(System.String,System.String)">
<summary>
Sets the current thread MDC item to the specified value.
@@ -18497,6 +18585,36 @@
Reverts the stack to original item count.
</summary>
</member>
<member name="T:NLog.NestedDiagnosticsLogicalContext">
<summary>
Async version of <see cref="T:NLog.NestedDiagnosticsContext"/> - a logical context structure that keeps a stack
Allows for maintaining scope across asynchronous tasks and call contexts.
</summary>
</member>
<member name="M:NLog.NestedDiagnosticsLogicalContext.Push``1(``0)">
<summary>
Pushes the specified value on current stack
</summary>
<param name="value">The value to be pushed.</param>
<returns>An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.</returns>
</member>
<member name="M:NLog.NestedDiagnosticsLogicalContext.Pop">
<summary>
Pops the top message off the current stack
</summary>
<returns>The top message which is no longer on the stack.</returns>
</member>
<member name="M:NLog.NestedDiagnosticsLogicalContext.Clear">
<summary>
Clears current stack.
</summary>
</member>
<member name="M:NLog.NestedDiagnosticsLogicalContext.GetAllObjects">
<summary>
Gets all objects on the stack. The objects are not removed from the stack.
</summary>
<returns>Array of objects on the stack.</returns>
</member>
<member name="T:NLog.NLogConfigurationException">
<summary>
Exception thrown during NLog configuration.
@@ -19397,6 +19515,12 @@
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Targets.NLogViewerTarget.IncludeMdlc">
<summary>
Gets or sets a value indicating whether to include <see cref="T:NLog.MappedDiagnosticsLogicalContext"/> dictionary contents.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Targets.NLogViewerTarget.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include <see cref="T:NLog.NestedDiagnosticsContext"/> stack contents.
@@ -20100,6 +20224,11 @@
to initialize logging.
</summary>
</member>
<member name="M:NLog.Targets.DatabaseTarget.SetConnectionType">
<summary>
Set the <see cref="P:NLog.Targets.DatabaseTarget.ConnectionType"/> to use it for opening connections to the database.
</summary>
</member>
<member name="M:NLog.Targets.DatabaseTarget.CloseTarget">
<summary>
Closes the target and releases any unmanaged resources.
@@ -20468,11 +20597,12 @@
Serialized value.
</returns>
</member>
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.Boolean,System.Boolean@)">
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.TypeCode,System.Boolean,System.Boolean@)">
<summary>
Converts object value into JSON escaped string
</summary>
<param name="value">Object value</param>
<param name="objTypeCode">Object TypeCode</param>
<param name="escapeUnicode">Should non-ascii characters be encoded</param>
<param name="encodeString">Should string be JSON encoded with quotes</param>
<returns>Object value converted to JSON escaped string</returns>
@@ -20632,6 +20762,16 @@
</summary>
<remarks><value>MaxMessageLength</value> cannot be zero or negative</remarks>
</member>
<member name="P:NLog.Targets.EventLogTarget.MaxKilobytes">
<summary>
Gets or sets the maximum Event log size in kilobytes.
If <c>null</c>, the value won't be set.
Default is 512 Kilobytes as specified by Eventlog API
</summary>
<remarks><value>MaxKilobytes</value> cannot be less than 64 or greater than 4194240 or not a multiple of 64. If <c>null</c>, use the default value</remarks>
</member>
<member name="P:NLog.Targets.EventLogTarget.OnOverflow">
<summary>
Gets or sets the action to take if the message is larger than the <see cref="P:NLog.Targets.EventLogTarget.MaxMessageLength"/> option.
Binary file not shown.
@@ -6949,12 +6949,13 @@
</summary>
<returns>Allocated slot key.</returns>
</member>
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object)">
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object,System.Boolean)">
<summary>
Gets the data for a slot in thread-local storage.
</summary>
<typeparam name="T">Type of the data.</typeparam>
<param name="slot">The slot to get data for.</param>
<param name="create">Automatically create the object if it doesn't exist.</param>
<returns>
Slot data (will create T if null).
</returns>
@@ -7041,7 +7042,7 @@
<param name="value">Object value</param>
<returns>Object value converted to string</returns>
</member>
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode@)">
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode)">
<summary>
Converts object value to invariant format (understood by JavaScript)
</summary>
@@ -7981,6 +7982,12 @@
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.NestedDiagnosticsContext"/> stack.
@@ -9404,6 +9411,11 @@
Gets or sets the option to render the empty object value {}
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
@@ -9414,6 +9426,11 @@
List of property names to exclude when <see cref="P:NLog.Layouts.JsonLayout.IncludeAllProperties"/> is true
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.InitializeLayout">
<summary>
Initializes the layout.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.RenderFormattedMessage(NLog.LogEventInfo,System.Text.StringBuilder)">
<summary>
Formats the log event as a JSON document for writing.
@@ -9652,6 +9669,18 @@
Gets the <see cref="T:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer"/> instance that renders log events.
</summary>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="M:NLog.Layouts.Log4JXmlEventLayout.GetFormattedMessage(NLog.LogEventInfo)">
<summary>
Renders the layout for the specified logging event by invoking layout renderers.
@@ -13428,6 +13457,13 @@
Mostly for compatibility with log4net.
</summary>
</member>
<member name="M:NLog.MappedDiagnosticsContext.GetThreadDictionary(System.Boolean)">
<summary>
Gets the thread-local dictionary
</summary>
<param name="create">Must be true for any subsequent dictionary modification operation</param>
<returns></returns>
</member>
<member name="M:NLog.MappedDiagnosticsContext.Set(System.String,System.String)">
<summary>
Sets the current thread MDC item to the specified value.
@@ -14098,11 +14134,12 @@
Serialized value.
</returns>
</member>
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.Boolean,System.Boolean@)">
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.TypeCode,System.Boolean,System.Boolean@)">
<summary>
Converts object value into JSON escaped string
</summary>
<param name="value">Object value</param>
<param name="objTypeCode">Object TypeCode</param>
<param name="escapeUnicode">Should non-ascii characters be encoded</param>
<param name="encodeString">Should string be JSON encoded with quotes</param>
<returns>Object value converted to JSON escaped string</returns>
Binary file not shown.
@@ -6949,12 +6949,13 @@
</summary>
<returns>Allocated slot key.</returns>
</member>
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object)">
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object,System.Boolean)">
<summary>
Gets the data for a slot in thread-local storage.
</summary>
<typeparam name="T">Type of the data.</typeparam>
<param name="slot">The slot to get data for.</param>
<param name="create">Automatically create the object if it doesn't exist.</param>
<returns>
Slot data (will create T if null).
</returns>
@@ -7041,7 +7042,7 @@
<param name="value">Object value</param>
<returns>Object value converted to string</returns>
</member>
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode@)">
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode)">
<summary>
Converts object value to invariant format (understood by JavaScript)
</summary>
@@ -7981,6 +7982,12 @@
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.NestedDiagnosticsContext"/> stack.
@@ -9404,6 +9411,11 @@
Gets or sets the option to render the empty object value {}
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
@@ -9414,6 +9426,11 @@
List of property names to exclude when <see cref="P:NLog.Layouts.JsonLayout.IncludeAllProperties"/> is true
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.InitializeLayout">
<summary>
Initializes the layout.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.RenderFormattedMessage(NLog.LogEventInfo,System.Text.StringBuilder)">
<summary>
Formats the log event as a JSON document for writing.
@@ -9652,6 +9669,18 @@
Gets the <see cref="T:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer"/> instance that renders log events.
</summary>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="M:NLog.Layouts.Log4JXmlEventLayout.GetFormattedMessage(NLog.LogEventInfo)">
<summary>
Renders the layout for the specified logging event by invoking layout renderers.
@@ -13428,6 +13457,13 @@
Mostly for compatibility with log4net.
</summary>
</member>
<member name="M:NLog.MappedDiagnosticsContext.GetThreadDictionary(System.Boolean)">
<summary>
Gets the thread-local dictionary
</summary>
<param name="create">Must be true for any subsequent dictionary modification operation</param>
<returns></returns>
</member>
<member name="M:NLog.MappedDiagnosticsContext.Set(System.String,System.String)">
<summary>
Sets the current thread MDC item to the specified value.
@@ -14188,11 +14224,12 @@
Serialized value.
</returns>
</member>
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.Boolean,System.Boolean@)">
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.TypeCode,System.Boolean,System.Boolean@)">
<summary>
Converts object value into JSON escaped string
</summary>
<param name="value">Object value</param>
<param name="objTypeCode">Object TypeCode</param>
<param name="escapeUnicode">Should non-ascii characters be encoded</param>
<param name="encodeString">Should string be JSON encoded with quotes</param>
<returns>Object value converted to JSON escaped string</returns>
Binary file not shown.
@@ -6999,12 +6999,13 @@
</summary>
<returns>Allocated slot key.</returns>
</member>
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object)">
<member name="M:NLog.Internal.ThreadLocalStorageHelper.GetDataForSlot``1(System.Object,System.Boolean)">
<summary>
Gets the data for a slot in thread-local storage.
</summary>
<typeparam name="T">Type of the data.</typeparam>
<param name="slot">The slot to get data for.</param>
<param name="create">Automatically create the object if it doesn't exist.</param>
<returns>
Slot data (will create T if null).
</returns>
@@ -7091,7 +7092,7 @@
<param name="value">Object value</param>
<returns>Object value converted to string</returns>
</member>
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode@)">
<member name="M:NLog.Internal.XmlHelper.XmlConvertToString(System.Object,System.TypeCode)">
<summary>
Converts object value to invariant format (understood by JavaScript)
</summary>
@@ -7996,6 +7997,12 @@
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="P:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer.IncludeNdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.NestedDiagnosticsContext"/> stack.
@@ -9563,6 +9570,11 @@
Initializes a new instance of the <see cref="T:NLog.Layouts.JsonLayout"/> class.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.InitializeLayout">
<summary>
Initializes the layout.
</summary>
</member>
<member name="M:NLog.Layouts.JsonLayout.RenderFormattedMessage(NLog.LogEventInfo,System.Text.StringBuilder)">
<summary>
Formats the log event as a JSON document for writing.
@@ -9593,6 +9605,11 @@
Gets or sets the option to render the empty object value {}
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
</member>
<member name="P:NLog.Layouts.JsonLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
@@ -9651,6 +9668,18 @@
Gets the <see cref="T:NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer"/> instance that renders log events.
</summary>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeMdc">
<summary>
Gets or sets a value indicating whether to include contents of the <see cref="T:NLog.MappedDiagnosticsContext"/> dictionary.
</summary>
<docgen category="Payload Options" order="10"/>
</member>
<member name="P:NLog.Layouts.Log4JXmlEventLayout.IncludeAllProperties">
<summary>
Gets or sets the option to include all properties from the log events
</summary>
<docgen category='Payload Options' order='10' />
</member>
<member name="T:NLog.Layouts.SimpleLayout">
<summary>
Represents a string with embedded placeholders that can render contextual information.
@@ -12749,6 +12778,13 @@
Mostly for compatibility with log4net.
</summary>
</member>
<member name="M:NLog.MappedDiagnosticsContext.GetThreadDictionary(System.Boolean)">
<summary>
Gets the thread-local dictionary
</summary>
<param name="create">Must be true for any subsequent dictionary modification operation</param>
<returns></returns>
</member>
<member name="M:NLog.MappedDiagnosticsContext.Set(System.String,System.String)">
<summary>
Sets the current thread MDC item to the specified value.
@@ -14062,11 +14098,12 @@
Serialized value.
</returns>
</member>
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.Boolean,System.Boolean@)">
<member name="M:NLog.Targets.DefaultJsonSerializer.JsonStringEncode(System.Object,System.TypeCode,System.Boolean,System.Boolean@)">
<summary>
Converts object value into JSON escaped string
</summary>
<param name="value">Object value</param>
<param name="objTypeCode">Object TypeCode</param>
<param name="escapeUnicode">Should non-ascii characters be encoded</param>
<param name="encodeString">Should string be JSON encoded with quotes</param>
<returns>Object value converted to JSON escaped string</returns>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -164,6 +164,7 @@
<xs:element name="whenEqual" type="whenEqual" />
<xs:element name="whenNotContains" type="whenNotContains" />
<xs:element name="whenNotEqual" type="whenNotEqual" />
<xs:element name="whenRepeated" type="whenRepeated" />
</xs:choice>
</xs:complexType>
<xs:simpleType name="NLogLevel">
@@ -409,13 +410,14 @@
<xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
@@ -483,9 +485,9 @@
<xs:documentation>Maximum queue size.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:attribute name="includeNdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeSourceInfo" type="xs:boolean">
@@ -498,9 +500,9 @@
<xs:documentation>Indicates whether to include NLog-specific extensions to log4j schema.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeNdc" type="xs:boolean">
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeCallSite" type="xs:boolean">
@@ -518,6 +520,11 @@
<xs:documentation>NDC item separator.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdlc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferReuse" type="xs:boolean">
<xs:annotation>
<xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
@@ -1007,6 +1014,7 @@
<xs:element name="source" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.EventLogTargetOverflowAction" />
<xs:element name="entryType" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="maxKilobytes" minOccurs="0" maxOccurs="1" type="xs:long" />
<xs:element name="maxMessageLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
@@ -1055,6 +1063,11 @@
<xs:documentation>Optional entrytype. When not set, or when not convertable to then determined by </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxKilobytes" type="xs:long">
<xs:annotation>
<xs:documentation>Maximum Event log size in kilobytes. If null, the value won't be set. Default is 512 Kilobytes as specified by Eventlog API</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxMessageLength" type="xs:integer">
<xs:annotation>
<xs:documentation>Message length limit to write to the Event Log.</xs:documentation>
@@ -1123,18 +1136,19 @@
<xs:element name="discardAll" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="fileNameKind" minOccurs="0" maxOccurs="1" type="NLog.Targets.FilePathKind" />
<xs:element name="forceMutexConcurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="maxLogFilenames" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="writeFooterOnArchivingOnly" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="fileName" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="archiveDateFormat" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="archiveOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="createDirs" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="enableFileDelete" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="fileAttributes" minOccurs="0" maxOccurs="1" type="NLog.Targets.Win32FileAttributes" />
<xs:element name="deleteOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="replaceFileContentsOnEachWrite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="enableFileDelete" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="concurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="keepFileOpen" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="maxLogFilenames" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="networkWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="openFileCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="openFileCacheTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
@@ -1142,7 +1156,6 @@
<xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="concurrentWriteAttemptDelay" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
@@ -1234,6 +1247,11 @@
<xs:documentation>Value indicationg whether file creation calls should be synchronized by a system global mutex.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLogFilenames" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum number of log filenames that should be stored as existing.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="writeFooterOnArchivingOnly" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether the footer should be written only when the file is archived.</xs:documentation>
@@ -1259,11 +1277,6 @@
<xs:documentation>Indicates whether to create directories if they do not exist.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enableFileDelete" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to enable log file(s) to be deleted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileAttributes" type="NLog.Targets.Win32FileAttributes">
<xs:annotation>
<xs:documentation>File attributes (Windows only).</xs:documentation>
@@ -1279,6 +1292,16 @@
<xs:documentation>Indicates whether to replace file contents on each write instead of appending log message at the end.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enableFileDelete" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to enable log file(s) to be deleted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concurrentWriteAttempts" type="xs:integer">
<xs:annotation>
<xs:documentation>Number of times the write is appended on the file before NLog discards the log message.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concurrentWrites" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on the same host.</xs:documentation>
@@ -1289,11 +1312,6 @@
<xs:documentation>Indicates whether to keep log file open instead of opening and closing it on each logging event.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLogFilenames" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum number of log filenames that should be stored as existing.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="networkWrites" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on different network hosts.</xs:documentation>
@@ -1329,11 +1347,6 @@
<xs:documentation>Delay in milliseconds to wait before attempting to write to the file again.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concurrentWriteAttempts" type="xs:integer">
<xs:annotation>
<xs:documentation>Number of times the write is appended on the file before NLog discards the log message.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -2032,13 +2045,14 @@
<xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
@@ -2106,9 +2120,9 @@
<xs:documentation>Maximum queue size.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:attribute name="includeNdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeSourceInfo" type="xs:boolean">
@@ -2121,9 +2135,9 @@
<xs:documentation>Indicates whether to include NLog-specific extensions to log4j schema.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeNdc" type="xs:boolean">
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeCallSite" type="xs:boolean">
@@ -2141,6 +2155,11 @@
<xs:documentation>NDC item separator.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdlc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferReuse" type="xs:boolean">
<xs:annotation>
<xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
@@ -2499,8 +2518,10 @@
<xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="escapeDataNLogLegacy" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="escapeDataRfc3986" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="header" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
<xs:element name="methodName" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="namespace" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="preAuthenticate" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="protocol" minOccurs="0" maxOccurs="1" type="NLog.Targets.WebServiceProtocol" />
<xs:element name="url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
<xs:element name="xmlRoot" minOccurs="0" maxOccurs="1" type="xs:string" />
@@ -2546,6 +2567,11 @@
<xs:documentation>Web service namespace. Only used with Soap.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="preAuthenticate" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="protocol" type="NLog.Targets.WebServiceProtocol">
<xs:annotation>
<xs:documentation>Protocol to be used when calling web service.</xs:documentation>
@@ -2689,8 +2715,10 @@
<xs:element name="attribute" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.JsonAttribute" />
<xs:element name="excludeProperties" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="renderEmptyObject" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="suppressSpaces" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="excludeProperties" type="xs:string">
<xs:annotation>
@@ -2702,6 +2730,11 @@
<xs:documentation>Option to include all properties from the log events</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="renderEmptyObject" type="xs:boolean">
<xs:annotation>
<xs:documentation>Option to render the empty object value {}</xs:documentation>
@@ -2712,6 +2745,11 @@
<xs:documentation>Option to suppress the extra spaces in the output json</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdlc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -2772,7 +2810,26 @@
<xs:complexType name="Log4JXmlEventLayout">
<xs:complexContent>
<xs:extension base="Layout">
<xs:choice minOccurs="0" maxOccurs="unbounded" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="includeAllProperties" type="xs:boolean">
<xs:annotation>
<xs:documentation>Option to include all properties from the log events</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeMdlc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -2947,6 +3004,74 @@
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="whenRepeated">
<xs:complexContent>
<xs:extension base="Filter">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
<xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="defaultFilterCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="filterCountMessageAppendFormat" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="filterCountPropertyName" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="maxFilterCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="maxLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="optimizeBufferDefaultLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="timeoutSeconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
</xs:choice>
<xs:attribute name="action" type="FilterResult">
<xs:annotation>
<xs:documentation>Action to be taken when filter matches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Layout to be used to filter log messages.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="defaultFilterCacheSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Default number of unique filter values to expect, will automatically increase if needed</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="filterCountMessageAppendFormat" type="xs:string">
<xs:annotation>
<xs:documentation>Append FilterCount to the when an event is no longer filtered</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="filterCountPropertyName" type="xs:string">
<xs:annotation>
<xs:documentation>Insert FilterCount value into when an event is no longer filtered</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxFilterCacheSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Max number of unique filter values to expect simultaneously</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLength" type="xs:integer">
<xs:annotation>
<xs:documentation>Max length of filter values, will truncate if above limit</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferDefaultLength" type="xs:integer">
<xs:annotation>
<xs:documentation>Default buffer size for the internal buffers</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferReuse" type="xs:boolean">
<xs:annotation>
<xs:documentation>Reuse internal buffers, and doesn't have to constantly allocate new buffers</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="timeoutSeconds" type="xs:integer">
<xs:annotation>
<xs:documentation>How long before a filter expires, and logging is accepted again</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AccurateLocal">
<xs:complexContent>
<xs:extension base="TimeSource">
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More