2618 lines
61 KiB
C#
2618 lines
61 KiB
C#
#pragma warning disable 1591
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// Il codice è stato generato da uno strumento.
|
|
// Versione runtime:4.0.30319.18052
|
|
//
|
|
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
|
|
// il codice viene rigenerato.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace PhotoData
|
|
{
|
|
using System.Data.Linq;
|
|
using System.Data.Linq.Mapping;
|
|
using System.Data;
|
|
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
using System.Linq;
|
|
using System.Linq.Expressions;
|
|
using System.ComponentModel;
|
|
using System;
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.DatabaseAttribute(Name="ConsulenzaEvoluta")]
|
|
public partial class DataClassesStorTrimDataContext : System.Data.Linq.DataContext
|
|
{
|
|
|
|
private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
|
|
|
|
#region Definizioni metodo Extensibility
|
|
partial void OnCreated();
|
|
partial void InsertMonitoraggioStorico(MonitoraggioStorico instance);
|
|
partial void UpdateMonitoraggioStorico(MonitoraggioStorico instance);
|
|
partial void DeleteMonitoraggioStorico(MonitoraggioStorico instance);
|
|
partial void InsertMonPosizioni(MonPosizioni instance);
|
|
partial void UpdateMonPosizioni(MonPosizioni instance);
|
|
partial void DeleteMonPosizioni(MonPosizioni instance);
|
|
partial void InsertCaricamentoMassivo(CaricamentoMassivo instance);
|
|
partial void UpdateCaricamentoMassivo(CaricamentoMassivo instance);
|
|
partial void DeleteCaricamentoMassivo(CaricamentoMassivo instance);
|
|
partial void InsertMonPartiteViaggianti(MonPartiteViaggianti instance);
|
|
partial void UpdateMonPartiteViaggianti(MonPartiteViaggianti instance);
|
|
partial void DeleteMonPartiteViaggianti(MonPartiteViaggianti instance);
|
|
partial void InsertErroriPhotodata(ErroriPhotodata instance);
|
|
partial void UpdateErroriPhotodata(ErroriPhotodata instance);
|
|
partial void DeleteErroriPhotodata(ErroriPhotodata instance);
|
|
#endregion
|
|
|
|
public DataClassesStorTrimDataContext() :
|
|
base(global::PhotoData.Properties.Settings.Default.ConsulenzaEvolutaConnectionString, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public DataClassesStorTrimDataContext(string connection) :
|
|
base(connection, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public DataClassesStorTrimDataContext(System.Data.IDbConnection connection) :
|
|
base(connection, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public DataClassesStorTrimDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
|
base(connection, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public DataClassesStorTrimDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
|
base(connection, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public System.Data.Linq.Table<MonitoraggioStorico> MonitoraggioStorico
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<MonitoraggioStorico>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<MonPosizioni> MonPosizioni
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<MonPosizioni>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<vInfoCliente> vInfoCliente
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<vInfoCliente>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<CaricamentoMassivo> CaricamentoMassivo
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<CaricamentoMassivo>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<MonPartiteViaggianti> MonPartiteViaggianti
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<MonPartiteViaggianti>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ErroriPhotodata> ErroriPhotodata
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ErroriPhotodata>();
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.Mon_InserisciPhotodata")]
|
|
public int Mon_InserisciPhotodata([global::System.Data.Linq.Mapping.ParameterAttribute(DbType="Int")] System.Nullable<int> chiaveClientePB, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType="VarChar(20)")] string azione)
|
|
{
|
|
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), chiaveClientePB, azione);
|
|
return ((int)(result.ReturnValue));
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.Mon_AppPhotodata")]
|
|
public int Mon_AppPhotodata([global::System.Data.Linq.Mapping.ParameterAttribute(DbType="Int")] System.Nullable<int> chiaveClientePB, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType="Int")] System.Nullable<int> idmonitoraggio)
|
|
{
|
|
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), chiaveClientePB, idmonitoraggio);
|
|
return ((int)(result.ReturnValue));
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.Mon_Inserisci_MonPosizioni")]
|
|
public int Mon_Inserisci_MonPosizioni([global::System.Data.Linq.Mapping.ParameterAttribute(DbType="Int")] System.Nullable<int> chiaveClientePB, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType="Int")] System.Nullable<int> idmonitoraggio)
|
|
{
|
|
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), chiaveClientePB, idmonitoraggio);
|
|
return ((int)(result.ReturnValue));
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="ConsulenzaEvoluta.dbo.MonitoraggioStorico")]
|
|
public partial class MonitoraggioStorico : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private long _idMonitoraggio;
|
|
|
|
private int _chiaveClientePB;
|
|
|
|
private System.Nullable<System.DateTime> _dtAvvio;
|
|
|
|
private System.Nullable<decimal> _ctvExt;
|
|
|
|
private System.Nullable<decimal> _ctvInv;
|
|
|
|
private System.Nullable<decimal> _ctvRis;
|
|
|
|
private System.Nullable<decimal> _ctvLiq;
|
|
|
|
private System.Nullable<decimal> _ctvPre;
|
|
|
|
private System.Nullable<decimal> _ctvNa;
|
|
|
|
private System.Nullable<decimal> _ctvCC;
|
|
|
|
private System.Nullable<decimal> _partiteViaggianti;
|
|
|
|
private System.Nullable<decimal> _var;
|
|
|
|
private System.Nullable<decimal> _copertura;
|
|
|
|
private string _rischioCredito;
|
|
|
|
private string _codiceProfilo;
|
|
|
|
private System.Nullable<int> _stato;
|
|
|
|
private System.Nullable<System.DateTime> _dtSalvataggio;
|
|
|
|
private string _classe_rischio_max;
|
|
|
|
private System.Nullable<decimal> _var_max_profilo;
|
|
|
|
#region Definizioni metodo Extensibility
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnidMonitoraggioChanging(long value);
|
|
partial void OnidMonitoraggioChanged();
|
|
partial void OnchiaveClientePBChanging(int value);
|
|
partial void OnchiaveClientePBChanged();
|
|
partial void OndtAvvioChanging(System.Nullable<System.DateTime> value);
|
|
partial void OndtAvvioChanged();
|
|
partial void OnctvExtChanging(System.Nullable<decimal> value);
|
|
partial void OnctvExtChanged();
|
|
partial void OnctvInvChanging(System.Nullable<decimal> value);
|
|
partial void OnctvInvChanged();
|
|
partial void OnctvRisChanging(System.Nullable<decimal> value);
|
|
partial void OnctvRisChanged();
|
|
partial void OnctvLiqChanging(System.Nullable<decimal> value);
|
|
partial void OnctvLiqChanged();
|
|
partial void OnctvPreChanging(System.Nullable<decimal> value);
|
|
partial void OnctvPreChanged();
|
|
partial void OnctvNaChanging(System.Nullable<decimal> value);
|
|
partial void OnctvNaChanged();
|
|
partial void OnctvCCChanging(System.Nullable<decimal> value);
|
|
partial void OnctvCCChanged();
|
|
partial void OnpartiteViaggiantiChanging(System.Nullable<decimal> value);
|
|
partial void OnpartiteViaggiantiChanged();
|
|
partial void OnvarChanging(System.Nullable<decimal> value);
|
|
partial void OnvarChanged();
|
|
partial void OncoperturaChanging(System.Nullable<decimal> value);
|
|
partial void OncoperturaChanged();
|
|
partial void OnrischioCreditoChanging(string value);
|
|
partial void OnrischioCreditoChanged();
|
|
partial void OncodiceProfiloChanging(string value);
|
|
partial void OncodiceProfiloChanged();
|
|
partial void OnstatoChanging(System.Nullable<int> value);
|
|
partial void OnstatoChanged();
|
|
partial void OndtSalvataggioChanging(System.Nullable<System.DateTime> value);
|
|
partial void OndtSalvataggioChanged();
|
|
partial void Onclasse_rischio_maxChanging(string value);
|
|
partial void Onclasse_rischio_maxChanged();
|
|
partial void Onvar_max_profiloChanging(System.Nullable<decimal> value);
|
|
partial void Onvar_max_profiloChanged();
|
|
#endregion
|
|
|
|
public MonitoraggioStorico()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_idMonitoraggio", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
|
|
public long idMonitoraggio
|
|
{
|
|
get
|
|
{
|
|
return this._idMonitoraggio;
|
|
}
|
|
set
|
|
{
|
|
if ((this._idMonitoraggio != value))
|
|
{
|
|
this.OnidMonitoraggioChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._idMonitoraggio = value;
|
|
this.SendPropertyChanged("idMonitoraggio");
|
|
this.OnidMonitoraggioChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiaveClientePB", DbType="Int NOT NULL", IsPrimaryKey=true)]
|
|
public int chiaveClientePB
|
|
{
|
|
get
|
|
{
|
|
return this._chiaveClientePB;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiaveClientePB != value))
|
|
{
|
|
this.OnchiaveClientePBChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._chiaveClientePB = value;
|
|
this.SendPropertyChanged("chiaveClientePB");
|
|
this.OnchiaveClientePBChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtAvvio", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtAvvio
|
|
{
|
|
get
|
|
{
|
|
return this._dtAvvio;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtAvvio != value))
|
|
{
|
|
this.OndtAvvioChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._dtAvvio = value;
|
|
this.SendPropertyChanged("dtAvvio");
|
|
this.OndtAvvioChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ctvExt", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> ctvExt
|
|
{
|
|
get
|
|
{
|
|
return this._ctvExt;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ctvExt != value))
|
|
{
|
|
this.OnctvExtChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ctvExt = value;
|
|
this.SendPropertyChanged("ctvExt");
|
|
this.OnctvExtChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ctvInv", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> ctvInv
|
|
{
|
|
get
|
|
{
|
|
return this._ctvInv;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ctvInv != value))
|
|
{
|
|
this.OnctvInvChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ctvInv = value;
|
|
this.SendPropertyChanged("ctvInv");
|
|
this.OnctvInvChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ctvRis", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> ctvRis
|
|
{
|
|
get
|
|
{
|
|
return this._ctvRis;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ctvRis != value))
|
|
{
|
|
this.OnctvRisChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ctvRis = value;
|
|
this.SendPropertyChanged("ctvRis");
|
|
this.OnctvRisChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ctvLiq", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> ctvLiq
|
|
{
|
|
get
|
|
{
|
|
return this._ctvLiq;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ctvLiq != value))
|
|
{
|
|
this.OnctvLiqChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ctvLiq = value;
|
|
this.SendPropertyChanged("ctvLiq");
|
|
this.OnctvLiqChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ctvPre", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> ctvPre
|
|
{
|
|
get
|
|
{
|
|
return this._ctvPre;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ctvPre != value))
|
|
{
|
|
this.OnctvPreChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ctvPre = value;
|
|
this.SendPropertyChanged("ctvPre");
|
|
this.OnctvPreChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ctvNa", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> ctvNa
|
|
{
|
|
get
|
|
{
|
|
return this._ctvNa;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ctvNa != value))
|
|
{
|
|
this.OnctvNaChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ctvNa = value;
|
|
this.SendPropertyChanged("ctvNa");
|
|
this.OnctvNaChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ctvCC", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> ctvCC
|
|
{
|
|
get
|
|
{
|
|
return this._ctvCC;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ctvCC != value))
|
|
{
|
|
this.OnctvCCChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ctvCC = value;
|
|
this.SendPropertyChanged("ctvCC");
|
|
this.OnctvCCChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_partiteViaggianti", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> partiteViaggianti
|
|
{
|
|
get
|
|
{
|
|
return this._partiteViaggianti;
|
|
}
|
|
set
|
|
{
|
|
if ((this._partiteViaggianti != value))
|
|
{
|
|
this.OnpartiteViaggiantiChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._partiteViaggianti = value;
|
|
this.SendPropertyChanged("partiteViaggianti");
|
|
this.OnpartiteViaggiantiChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="[var]", Storage="_var", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> var
|
|
{
|
|
get
|
|
{
|
|
return this._var;
|
|
}
|
|
set
|
|
{
|
|
if ((this._var != value))
|
|
{
|
|
this.OnvarChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._var = value;
|
|
this.SendPropertyChanged("var");
|
|
this.OnvarChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_copertura", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> copertura
|
|
{
|
|
get
|
|
{
|
|
return this._copertura;
|
|
}
|
|
set
|
|
{
|
|
if ((this._copertura != value))
|
|
{
|
|
this.OncoperturaChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._copertura = value;
|
|
this.SendPropertyChanged("copertura");
|
|
this.OncoperturaChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_rischioCredito", DbType="VarChar(50)")]
|
|
public string rischioCredito
|
|
{
|
|
get
|
|
{
|
|
return this._rischioCredito;
|
|
}
|
|
set
|
|
{
|
|
if ((this._rischioCredito != value))
|
|
{
|
|
this.OnrischioCreditoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._rischioCredito = value;
|
|
this.SendPropertyChanged("rischioCredito");
|
|
this.OnrischioCreditoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_codiceProfilo", DbType="VarChar(50)")]
|
|
public string codiceProfilo
|
|
{
|
|
get
|
|
{
|
|
return this._codiceProfilo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._codiceProfilo != value))
|
|
{
|
|
this.OncodiceProfiloChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._codiceProfilo = value;
|
|
this.SendPropertyChanged("codiceProfilo");
|
|
this.OncodiceProfiloChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_stato", DbType="Int")]
|
|
public System.Nullable<int> stato
|
|
{
|
|
get
|
|
{
|
|
return this._stato;
|
|
}
|
|
set
|
|
{
|
|
if ((this._stato != value))
|
|
{
|
|
this.OnstatoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._stato = value;
|
|
this.SendPropertyChanged("stato");
|
|
this.OnstatoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtSalvataggio", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtSalvataggio
|
|
{
|
|
get
|
|
{
|
|
return this._dtSalvataggio;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtSalvataggio != value))
|
|
{
|
|
this.OndtSalvataggioChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._dtSalvataggio = value;
|
|
this.SendPropertyChanged("dtSalvataggio");
|
|
this.OndtSalvataggioChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_classe_rischio_max", DbType="VarChar(50)")]
|
|
public string classe_rischio_max
|
|
{
|
|
get
|
|
{
|
|
return this._classe_rischio_max;
|
|
}
|
|
set
|
|
{
|
|
if ((this._classe_rischio_max != value))
|
|
{
|
|
this.Onclasse_rischio_maxChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._classe_rischio_max = value;
|
|
this.SendPropertyChanged("classe_rischio_max");
|
|
this.Onclasse_rischio_maxChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_var_max_profilo", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> var_max_profilo
|
|
{
|
|
get
|
|
{
|
|
return this._var_max_profilo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._var_max_profilo != value))
|
|
{
|
|
this.Onvar_max_profiloChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._var_max_profilo = value;
|
|
this.SendPropertyChanged("var_max_profilo");
|
|
this.Onvar_max_profiloChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
public event PropertyChangingEventHandler PropertyChanging;
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected virtual void SendPropertyChanging()
|
|
{
|
|
if ((this.PropertyChanging != null))
|
|
{
|
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
|
}
|
|
}
|
|
|
|
protected virtual void SendPropertyChanged(String propertyName)
|
|
{
|
|
if ((this.PropertyChanged != null))
|
|
{
|
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="ConsulenzaEvoluta.dbo.MonPosizioni")]
|
|
public partial class MonPosizioni : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private long _chiavePosizione;
|
|
|
|
private long _IdMonitoraggio;
|
|
|
|
private int _chiaveClientePB;
|
|
|
|
private System.Nullable<long> _chiaveProgetto;
|
|
|
|
private System.Nullable<int> _flagAvviatoMonitoraggio;
|
|
|
|
private string _area;
|
|
|
|
private System.Nullable<int> _chiaveProdotto;
|
|
|
|
private string _conto;
|
|
|
|
private string _rubricato;
|
|
|
|
private string _codConf;
|
|
|
|
private string _numPolizza;
|
|
|
|
private string _custGar;
|
|
|
|
private string _codAbi;
|
|
|
|
private string _termId;
|
|
|
|
private System.Nullable<int> _anno;
|
|
|
|
private string _prog;
|
|
|
|
private System.Nullable<decimal> _ctv;
|
|
|
|
private System.Nullable<System.DateTime> _dtSaldo;
|
|
|
|
#region Definizioni metodo Extensibility
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnchiavePosizioneChanging(long value);
|
|
partial void OnchiavePosizioneChanged();
|
|
partial void OnIdMonitoraggioChanging(long value);
|
|
partial void OnIdMonitoraggioChanged();
|
|
partial void OnchiaveClientePBChanging(int value);
|
|
partial void OnchiaveClientePBChanged();
|
|
partial void OnchiaveProgettoChanging(System.Nullable<long> value);
|
|
partial void OnchiaveProgettoChanged();
|
|
partial void OnflagAvviatoMonitoraggioChanging(System.Nullable<int> value);
|
|
partial void OnflagAvviatoMonitoraggioChanged();
|
|
partial void OnareaChanging(string value);
|
|
partial void OnareaChanged();
|
|
partial void OnchiaveProdottoChanging(System.Nullable<int> value);
|
|
partial void OnchiaveProdottoChanged();
|
|
partial void OncontoChanging(string value);
|
|
partial void OncontoChanged();
|
|
partial void OnrubricatoChanging(string value);
|
|
partial void OnrubricatoChanged();
|
|
partial void OncodConfChanging(string value);
|
|
partial void OncodConfChanged();
|
|
partial void OnnumPolizzaChanging(string value);
|
|
partial void OnnumPolizzaChanged();
|
|
partial void OncustGarChanging(string value);
|
|
partial void OncustGarChanged();
|
|
partial void OncodAbiChanging(string value);
|
|
partial void OncodAbiChanged();
|
|
partial void OntermIdChanging(string value);
|
|
partial void OntermIdChanged();
|
|
partial void OnannoChanging(System.Nullable<int> value);
|
|
partial void OnannoChanged();
|
|
partial void OnprogChanging(string value);
|
|
partial void OnprogChanged();
|
|
partial void OnctvChanging(System.Nullable<decimal> value);
|
|
partial void OnctvChanged();
|
|
partial void OndtSaldoChanging(System.Nullable<System.DateTime> value);
|
|
partial void OndtSaldoChanged();
|
|
#endregion
|
|
|
|
public MonPosizioni()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiavePosizione", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
|
|
public long chiavePosizione
|
|
{
|
|
get
|
|
{
|
|
return this._chiavePosizione;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiavePosizione != value))
|
|
{
|
|
this.OnchiavePosizioneChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._chiavePosizione = value;
|
|
this.SendPropertyChanged("chiavePosizione");
|
|
this.OnchiavePosizioneChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdMonitoraggio", DbType="BigInt NOT NULL", IsPrimaryKey=true)]
|
|
public long IdMonitoraggio
|
|
{
|
|
get
|
|
{
|
|
return this._IdMonitoraggio;
|
|
}
|
|
set
|
|
{
|
|
if ((this._IdMonitoraggio != value))
|
|
{
|
|
this.OnIdMonitoraggioChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._IdMonitoraggio = value;
|
|
this.SendPropertyChanged("IdMonitoraggio");
|
|
this.OnIdMonitoraggioChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiaveClientePB", DbType="Int NOT NULL", IsPrimaryKey=true)]
|
|
public int chiaveClientePB
|
|
{
|
|
get
|
|
{
|
|
return this._chiaveClientePB;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiaveClientePB != value))
|
|
{
|
|
this.OnchiaveClientePBChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._chiaveClientePB = value;
|
|
this.SendPropertyChanged("chiaveClientePB");
|
|
this.OnchiaveClientePBChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiaveProgetto", DbType="BigInt")]
|
|
public System.Nullable<long> chiaveProgetto
|
|
{
|
|
get
|
|
{
|
|
return this._chiaveProgetto;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiaveProgetto != value))
|
|
{
|
|
this.OnchiaveProgettoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._chiaveProgetto = value;
|
|
this.SendPropertyChanged("chiaveProgetto");
|
|
this.OnchiaveProgettoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_flagAvviatoMonitoraggio", DbType="Int")]
|
|
public System.Nullable<int> flagAvviatoMonitoraggio
|
|
{
|
|
get
|
|
{
|
|
return this._flagAvviatoMonitoraggio;
|
|
}
|
|
set
|
|
{
|
|
if ((this._flagAvviatoMonitoraggio != value))
|
|
{
|
|
this.OnflagAvviatoMonitoraggioChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._flagAvviatoMonitoraggio = value;
|
|
this.SendPropertyChanged("flagAvviatoMonitoraggio");
|
|
this.OnflagAvviatoMonitoraggioChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_area", DbType="VarChar(20)")]
|
|
public string area
|
|
{
|
|
get
|
|
{
|
|
return this._area;
|
|
}
|
|
set
|
|
{
|
|
if ((this._area != value))
|
|
{
|
|
this.OnareaChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._area = value;
|
|
this.SendPropertyChanged("area");
|
|
this.OnareaChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiaveProdotto", DbType="Int")]
|
|
public System.Nullable<int> chiaveProdotto
|
|
{
|
|
get
|
|
{
|
|
return this._chiaveProdotto;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiaveProdotto != value))
|
|
{
|
|
this.OnchiaveProdottoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._chiaveProdotto = value;
|
|
this.SendPropertyChanged("chiaveProdotto");
|
|
this.OnchiaveProdottoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_conto", DbType="VarChar(12)")]
|
|
public string conto
|
|
{
|
|
get
|
|
{
|
|
return this._conto;
|
|
}
|
|
set
|
|
{
|
|
if ((this._conto != value))
|
|
{
|
|
this.OncontoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._conto = value;
|
|
this.SendPropertyChanged("conto");
|
|
this.OncontoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_rubricato", DbType="VarChar(5)")]
|
|
public string rubricato
|
|
{
|
|
get
|
|
{
|
|
return this._rubricato;
|
|
}
|
|
set
|
|
{
|
|
if ((this._rubricato != value))
|
|
{
|
|
this.OnrubricatoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._rubricato = value;
|
|
this.SendPropertyChanged("rubricato");
|
|
this.OnrubricatoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_codConf", DbType="VarChar(11)")]
|
|
public string codConf
|
|
{
|
|
get
|
|
{
|
|
return this._codConf;
|
|
}
|
|
set
|
|
{
|
|
if ((this._codConf != value))
|
|
{
|
|
this.OncodConfChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._codConf = value;
|
|
this.SendPropertyChanged("codConf");
|
|
this.OncodConfChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_numPolizza", DbType="VarChar(11)")]
|
|
public string numPolizza
|
|
{
|
|
get
|
|
{
|
|
return this._numPolizza;
|
|
}
|
|
set
|
|
{
|
|
if ((this._numPolizza != value))
|
|
{
|
|
this.OnnumPolizzaChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._numPolizza = value;
|
|
this.SendPropertyChanged("numPolizza");
|
|
this.OnnumPolizzaChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_custGar", DbType="VarChar(1)")]
|
|
public string custGar
|
|
{
|
|
get
|
|
{
|
|
return this._custGar;
|
|
}
|
|
set
|
|
{
|
|
if ((this._custGar != value))
|
|
{
|
|
this.OncustGarChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._custGar = value;
|
|
this.SendPropertyChanged("custGar");
|
|
this.OncustGarChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_codAbi", DbType="VarChar(50)")]
|
|
public string codAbi
|
|
{
|
|
get
|
|
{
|
|
return this._codAbi;
|
|
}
|
|
set
|
|
{
|
|
if ((this._codAbi != value))
|
|
{
|
|
this.OncodAbiChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._codAbi = value;
|
|
this.SendPropertyChanged("codAbi");
|
|
this.OncodAbiChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_termId", DbType="VarChar(7)")]
|
|
public string termId
|
|
{
|
|
get
|
|
{
|
|
return this._termId;
|
|
}
|
|
set
|
|
{
|
|
if ((this._termId != value))
|
|
{
|
|
this.OntermIdChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._termId = value;
|
|
this.SendPropertyChanged("termId");
|
|
this.OntermIdChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_anno", DbType="Int")]
|
|
public System.Nullable<int> anno
|
|
{
|
|
get
|
|
{
|
|
return this._anno;
|
|
}
|
|
set
|
|
{
|
|
if ((this._anno != value))
|
|
{
|
|
this.OnannoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._anno = value;
|
|
this.SendPropertyChanged("anno");
|
|
this.OnannoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_prog", DbType="VarChar(6)")]
|
|
public string prog
|
|
{
|
|
get
|
|
{
|
|
return this._prog;
|
|
}
|
|
set
|
|
{
|
|
if ((this._prog != value))
|
|
{
|
|
this.OnprogChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._prog = value;
|
|
this.SendPropertyChanged("prog");
|
|
this.OnprogChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ctv", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> ctv
|
|
{
|
|
get
|
|
{
|
|
return this._ctv;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ctv != value))
|
|
{
|
|
this.OnctvChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ctv = value;
|
|
this.SendPropertyChanged("ctv");
|
|
this.OnctvChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtSaldo", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtSaldo
|
|
{
|
|
get
|
|
{
|
|
return this._dtSaldo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtSaldo != value))
|
|
{
|
|
this.OndtSaldoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._dtSaldo = value;
|
|
this.SendPropertyChanged("dtSaldo");
|
|
this.OndtSaldoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
public event PropertyChangingEventHandler PropertyChanging;
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected virtual void SendPropertyChanging()
|
|
{
|
|
if ((this.PropertyChanging != null))
|
|
{
|
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
|
}
|
|
}
|
|
|
|
protected virtual void SendPropertyChanged(String propertyName)
|
|
{
|
|
if ((this.PropertyChanged != null))
|
|
{
|
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="ConsulenzaBase.dbo.vInfoCliente")]
|
|
public partial class vInfoCliente
|
|
{
|
|
|
|
private int _chiaveClientePB;
|
|
|
|
private int _chiaveCliente;
|
|
|
|
private string _codFis;
|
|
|
|
private string _pIva;
|
|
|
|
private string _codMan;
|
|
|
|
private string _NomeCliente;
|
|
|
|
private string _CognomeCliente;
|
|
|
|
private string _tipologia;
|
|
|
|
private System.Nullable<System.DateTime> _dtScadQuest;
|
|
|
|
private System.Nullable<short> _profilo;
|
|
|
|
private System.Nullable<System.DateTime> _dtQuestionario;
|
|
|
|
private System.Nullable<int> _frequenza;
|
|
|
|
private string _Agente;
|
|
|
|
private string _NomePb;
|
|
|
|
private string _CognomePb;
|
|
|
|
private string _StatoPb;
|
|
|
|
private System.Nullable<char> _rete;
|
|
|
|
private string _codiceContratto;
|
|
|
|
private string _StatoContratto;
|
|
|
|
private System.Nullable<System.DateTime> _dtFirmaBase;
|
|
|
|
private System.Nullable<System.DateTime> _dtEndBase;
|
|
|
|
private System.Nullable<System.DateTime> _dtFirmaSei;
|
|
|
|
private System.Nullable<System.DateTime> _dtEndSei;
|
|
|
|
private string _rendicSemestrale;
|
|
|
|
private System.Nullable<System.DateTime> _dtNascita;
|
|
|
|
private string _sesso;
|
|
|
|
private string _TipContratto;
|
|
|
|
private string _ModPagamento;
|
|
|
|
private int _chiavePB;
|
|
|
|
private string _flagrol;
|
|
|
|
public vInfoCliente()
|
|
{
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiaveClientePB", DbType="Int NOT NULL")]
|
|
public int chiaveClientePB
|
|
{
|
|
get
|
|
{
|
|
return this._chiaveClientePB;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiaveClientePB != value))
|
|
{
|
|
this._chiaveClientePB = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiaveCliente", DbType="Int NOT NULL")]
|
|
public int chiaveCliente
|
|
{
|
|
get
|
|
{
|
|
return this._chiaveCliente;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiaveCliente != value))
|
|
{
|
|
this._chiaveCliente = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_codFis", DbType="VarChar(16)")]
|
|
public string codFis
|
|
{
|
|
get
|
|
{
|
|
return this._codFis;
|
|
}
|
|
set
|
|
{
|
|
if ((this._codFis != value))
|
|
{
|
|
this._codFis = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_pIva", DbType="VarChar(11)")]
|
|
public string pIva
|
|
{
|
|
get
|
|
{
|
|
return this._pIva;
|
|
}
|
|
set
|
|
{
|
|
if ((this._pIva != value))
|
|
{
|
|
this._pIva = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_codMan", DbType="VarChar(5)")]
|
|
public string codMan
|
|
{
|
|
get
|
|
{
|
|
return this._codMan;
|
|
}
|
|
set
|
|
{
|
|
if ((this._codMan != value))
|
|
{
|
|
this._codMan = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NomeCliente", DbType="VarChar(50)")]
|
|
public string NomeCliente
|
|
{
|
|
get
|
|
{
|
|
return this._NomeCliente;
|
|
}
|
|
set
|
|
{
|
|
if ((this._NomeCliente != value))
|
|
{
|
|
this._NomeCliente = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CognomeCliente", DbType="VarChar(50)")]
|
|
public string CognomeCliente
|
|
{
|
|
get
|
|
{
|
|
return this._CognomeCliente;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CognomeCliente != value))
|
|
{
|
|
this._CognomeCliente = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_tipologia", DbType="VarChar(50)")]
|
|
public string tipologia
|
|
{
|
|
get
|
|
{
|
|
return this._tipologia;
|
|
}
|
|
set
|
|
{
|
|
if ((this._tipologia != value))
|
|
{
|
|
this._tipologia = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtScadQuest", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtScadQuest
|
|
{
|
|
get
|
|
{
|
|
return this._dtScadQuest;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtScadQuest != value))
|
|
{
|
|
this._dtScadQuest = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_profilo", DbType="SmallInt")]
|
|
public System.Nullable<short> profilo
|
|
{
|
|
get
|
|
{
|
|
return this._profilo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._profilo != value))
|
|
{
|
|
this._profilo = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtQuestionario", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtQuestionario
|
|
{
|
|
get
|
|
{
|
|
return this._dtQuestionario;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtQuestionario != value))
|
|
{
|
|
this._dtQuestionario = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_frequenza", DbType="Int")]
|
|
public System.Nullable<int> frequenza
|
|
{
|
|
get
|
|
{
|
|
return this._frequenza;
|
|
}
|
|
set
|
|
{
|
|
if ((this._frequenza != value))
|
|
{
|
|
this._frequenza = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Agente", DbType="Char(6)")]
|
|
public string Agente
|
|
{
|
|
get
|
|
{
|
|
return this._Agente;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Agente != value))
|
|
{
|
|
this._Agente = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NomePb", DbType="VarChar(40)")]
|
|
public string NomePb
|
|
{
|
|
get
|
|
{
|
|
return this._NomePb;
|
|
}
|
|
set
|
|
{
|
|
if ((this._NomePb != value))
|
|
{
|
|
this._NomePb = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CognomePb", DbType="VarChar(40)")]
|
|
public string CognomePb
|
|
{
|
|
get
|
|
{
|
|
return this._CognomePb;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CognomePb != value))
|
|
{
|
|
this._CognomePb = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StatoPb", DbType="Char(2)")]
|
|
public string StatoPb
|
|
{
|
|
get
|
|
{
|
|
return this._StatoPb;
|
|
}
|
|
set
|
|
{
|
|
if ((this._StatoPb != value))
|
|
{
|
|
this._StatoPb = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_rete", DbType="Char(1)")]
|
|
public System.Nullable<char> rete
|
|
{
|
|
get
|
|
{
|
|
return this._rete;
|
|
}
|
|
set
|
|
{
|
|
if ((this._rete != value))
|
|
{
|
|
this._rete = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_codiceContratto", DbType="VarChar(11)")]
|
|
public string codiceContratto
|
|
{
|
|
get
|
|
{
|
|
return this._codiceContratto;
|
|
}
|
|
set
|
|
{
|
|
if ((this._codiceContratto != value))
|
|
{
|
|
this._codiceContratto = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StatoContratto", DbType="VarChar(50)")]
|
|
public string StatoContratto
|
|
{
|
|
get
|
|
{
|
|
return this._StatoContratto;
|
|
}
|
|
set
|
|
{
|
|
if ((this._StatoContratto != value))
|
|
{
|
|
this._StatoContratto = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtFirmaBase", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtFirmaBase
|
|
{
|
|
get
|
|
{
|
|
return this._dtFirmaBase;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtFirmaBase != value))
|
|
{
|
|
this._dtFirmaBase = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtEndBase", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtEndBase
|
|
{
|
|
get
|
|
{
|
|
return this._dtEndBase;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtEndBase != value))
|
|
{
|
|
this._dtEndBase = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtFirmaSei", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtFirmaSei
|
|
{
|
|
get
|
|
{
|
|
return this._dtFirmaSei;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtFirmaSei != value))
|
|
{
|
|
this._dtFirmaSei = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtEndSei", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtEndSei
|
|
{
|
|
get
|
|
{
|
|
return this._dtEndSei;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtEndSei != value))
|
|
{
|
|
this._dtEndSei = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_rendicSemestrale", DbType="Char(10)")]
|
|
public string rendicSemestrale
|
|
{
|
|
get
|
|
{
|
|
return this._rendicSemestrale;
|
|
}
|
|
set
|
|
{
|
|
if ((this._rendicSemestrale != value))
|
|
{
|
|
this._rendicSemestrale = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtNascita", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtNascita
|
|
{
|
|
get
|
|
{
|
|
return this._dtNascita;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtNascita != value))
|
|
{
|
|
this._dtNascita = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_sesso", DbType="VarChar(10)")]
|
|
public string sesso
|
|
{
|
|
get
|
|
{
|
|
return this._sesso;
|
|
}
|
|
set
|
|
{
|
|
if ((this._sesso != value))
|
|
{
|
|
this._sesso = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TipContratto", DbType="VarChar(1)")]
|
|
public string TipContratto
|
|
{
|
|
get
|
|
{
|
|
return this._TipContratto;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TipContratto != value))
|
|
{
|
|
this._TipContratto = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ModPagamento", DbType="VarChar(1)")]
|
|
public string ModPagamento
|
|
{
|
|
get
|
|
{
|
|
return this._ModPagamento;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ModPagamento != value))
|
|
{
|
|
this._ModPagamento = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiavePB", DbType="Int NOT NULL")]
|
|
public int chiavePB
|
|
{
|
|
get
|
|
{
|
|
return this._chiavePB;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiavePB != value))
|
|
{
|
|
this._chiavePB = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_flagrol", DbType="VarChar(1)")]
|
|
public string flagrol
|
|
{
|
|
get
|
|
{
|
|
return this._flagrol;
|
|
}
|
|
set
|
|
{
|
|
if ((this._flagrol != value))
|
|
{
|
|
this._flagrol = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="ConsulenzaEvolutaFL.dbo.CaricamentoMassivo")]
|
|
public partial class CaricamentoMassivo : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private int _ChiaveClientePB;
|
|
|
|
private string _Cod;
|
|
|
|
private System.Nullable<System.DateTime> _Datariq;
|
|
|
|
private System.Nullable<decimal> _TokeinSimPB;
|
|
|
|
private System.Nullable<System.DateTime> _Dataese;
|
|
|
|
private int _Esito;
|
|
|
|
private string _Utente;
|
|
|
|
private System.Nullable<double> _Var_PTF;
|
|
|
|
private System.Nullable<System.DateTime> _Dtscaque;
|
|
|
|
private System.Nullable<double> _Iscontr6;
|
|
|
|
private System.Nullable<double> _Movimentazioni;
|
|
|
|
private System.Nullable<double> _Div_PTF;
|
|
|
|
private System.Nullable<double> _Matrice;
|
|
|
|
private string _Errori;
|
|
|
|
#region Definizioni metodo Extensibility
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnChiaveClientePBChanging(int value);
|
|
partial void OnChiaveClientePBChanged();
|
|
partial void OnCodChanging(string value);
|
|
partial void OnCodChanged();
|
|
partial void OnDatariqChanging(System.Nullable<System.DateTime> value);
|
|
partial void OnDatariqChanged();
|
|
partial void OnTokeinSimPBChanging(System.Nullable<decimal> value);
|
|
partial void OnTokeinSimPBChanged();
|
|
partial void OnDataeseChanging(System.Nullable<System.DateTime> value);
|
|
partial void OnDataeseChanged();
|
|
partial void OnEsitoChanging(int value);
|
|
partial void OnEsitoChanged();
|
|
partial void OnUtenteChanging(string value);
|
|
partial void OnUtenteChanged();
|
|
partial void OnVar_PTFChanging(System.Nullable<double> value);
|
|
partial void OnVar_PTFChanged();
|
|
partial void OnDtscaqueChanging(System.Nullable<System.DateTime> value);
|
|
partial void OnDtscaqueChanged();
|
|
partial void OnIscontr6Changing(System.Nullable<double> value);
|
|
partial void OnIscontr6Changed();
|
|
partial void OnMovimentazioniChanging(System.Nullable<double> value);
|
|
partial void OnMovimentazioniChanged();
|
|
partial void OnDiv_PTFChanging(System.Nullable<double> value);
|
|
partial void OnDiv_PTFChanged();
|
|
partial void OnMatriceChanging(System.Nullable<double> value);
|
|
partial void OnMatriceChanged();
|
|
partial void OnErroriChanging(string value);
|
|
partial void OnErroriChanged();
|
|
#endregion
|
|
|
|
public CaricamentoMassivo()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ChiaveClientePB", DbType="Int NOT NULL", IsPrimaryKey=true)]
|
|
public int ChiaveClientePB
|
|
{
|
|
get
|
|
{
|
|
return this._ChiaveClientePB;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ChiaveClientePB != value))
|
|
{
|
|
this.OnChiaveClientePBChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ChiaveClientePB = value;
|
|
this.SendPropertyChanged("ChiaveClientePB");
|
|
this.OnChiaveClientePBChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cod", DbType="VarChar(10)")]
|
|
public string Cod
|
|
{
|
|
get
|
|
{
|
|
return this._Cod;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Cod != value))
|
|
{
|
|
this.OnCodChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Cod = value;
|
|
this.SendPropertyChanged("Cod");
|
|
this.OnCodChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Datariq", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> Datariq
|
|
{
|
|
get
|
|
{
|
|
return this._Datariq;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Datariq != value))
|
|
{
|
|
this.OnDatariqChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Datariq = value;
|
|
this.SendPropertyChanged("Datariq");
|
|
this.OnDatariqChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TokeinSimPB", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> TokeinSimPB
|
|
{
|
|
get
|
|
{
|
|
return this._TokeinSimPB;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TokeinSimPB != value))
|
|
{
|
|
this.OnTokeinSimPBChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TokeinSimPB = value;
|
|
this.SendPropertyChanged("TokeinSimPB");
|
|
this.OnTokeinSimPBChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dataese", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> Dataese
|
|
{
|
|
get
|
|
{
|
|
return this._Dataese;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Dataese != value))
|
|
{
|
|
this.OnDataeseChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Dataese = value;
|
|
this.SendPropertyChanged("Dataese");
|
|
this.OnDataeseChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Esito", DbType="Int NOT NULL")]
|
|
public int Esito
|
|
{
|
|
get
|
|
{
|
|
return this._Esito;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Esito != value))
|
|
{
|
|
this.OnEsitoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Esito = value;
|
|
this.SendPropertyChanged("Esito");
|
|
this.OnEsitoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Utente", DbType="VarChar(20)")]
|
|
public string Utente
|
|
{
|
|
get
|
|
{
|
|
return this._Utente;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Utente != value))
|
|
{
|
|
this.OnUtenteChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Utente = value;
|
|
this.SendPropertyChanged("Utente");
|
|
this.OnUtenteChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Var_PTF", DbType="Float")]
|
|
public System.Nullable<double> Var_PTF
|
|
{
|
|
get
|
|
{
|
|
return this._Var_PTF;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Var_PTF != value))
|
|
{
|
|
this.OnVar_PTFChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Var_PTF = value;
|
|
this.SendPropertyChanged("Var_PTF");
|
|
this.OnVar_PTFChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dtscaque", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> Dtscaque
|
|
{
|
|
get
|
|
{
|
|
return this._Dtscaque;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Dtscaque != value))
|
|
{
|
|
this.OnDtscaqueChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Dtscaque = value;
|
|
this.SendPropertyChanged("Dtscaque");
|
|
this.OnDtscaqueChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Iscontr6", DbType="Float")]
|
|
public System.Nullable<double> Iscontr6
|
|
{
|
|
get
|
|
{
|
|
return this._Iscontr6;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Iscontr6 != value))
|
|
{
|
|
this.OnIscontr6Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._Iscontr6 = value;
|
|
this.SendPropertyChanged("Iscontr6");
|
|
this.OnIscontr6Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Movimentazioni", DbType="Float")]
|
|
public System.Nullable<double> Movimentazioni
|
|
{
|
|
get
|
|
{
|
|
return this._Movimentazioni;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Movimentazioni != value))
|
|
{
|
|
this.OnMovimentazioniChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Movimentazioni = value;
|
|
this.SendPropertyChanged("Movimentazioni");
|
|
this.OnMovimentazioniChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Div_PTF", DbType="Float")]
|
|
public System.Nullable<double> Div_PTF
|
|
{
|
|
get
|
|
{
|
|
return this._Div_PTF;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Div_PTF != value))
|
|
{
|
|
this.OnDiv_PTFChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Div_PTF = value;
|
|
this.SendPropertyChanged("Div_PTF");
|
|
this.OnDiv_PTFChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Matrice", DbType="Float")]
|
|
public System.Nullable<double> Matrice
|
|
{
|
|
get
|
|
{
|
|
return this._Matrice;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Matrice != value))
|
|
{
|
|
this.OnMatriceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Matrice = value;
|
|
this.SendPropertyChanged("Matrice");
|
|
this.OnMatriceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Errori", DbType="VarChar(200)")]
|
|
public string Errori
|
|
{
|
|
get
|
|
{
|
|
return this._Errori;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Errori != value))
|
|
{
|
|
this.OnErroriChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Errori = value;
|
|
this.SendPropertyChanged("Errori");
|
|
this.OnErroriChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
public event PropertyChangingEventHandler PropertyChanging;
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected virtual void SendPropertyChanging()
|
|
{
|
|
if ((this.PropertyChanging != null))
|
|
{
|
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
|
}
|
|
}
|
|
|
|
protected virtual void SendPropertyChanged(String propertyName)
|
|
{
|
|
if ((this.PropertyChanged != null))
|
|
{
|
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="ConsulenzaEvoluta.dbo.MonPartiteViaggianti")]
|
|
public partial class MonPartiteViaggianti : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private long _chiavePartiteViaggianti;
|
|
|
|
private System.Nullable<long> _IdMonitoraggio;
|
|
|
|
private string _codconf;
|
|
|
|
private string _tipoOperazione;
|
|
|
|
private System.Nullable<int> _chiaveClientePB;
|
|
|
|
private string _tipoprodotto;
|
|
|
|
private System.Nullable<double> _ctvppvv;
|
|
|
|
private System.Nullable<System.DateTime> _dtIncasso;
|
|
|
|
private System.Nullable<System.DateTime> _dtValidita;
|
|
|
|
private System.Nullable<System.DateTime> _dtValuta;
|
|
|
|
private string _codProd;
|
|
|
|
private string _codAna;
|
|
|
|
private System.Nullable<double> _progMovimento;
|
|
|
|
private string _sottoTipoOperazione;
|
|
|
|
private System.Nullable<System.DateTime> _dtStoricizzazione;
|
|
|
|
private System.Nullable<System.DateTime> _dtAcquisizione;
|
|
|
|
#region Definizioni metodo Extensibility
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnchiavePartiteViaggiantiChanging(long value);
|
|
partial void OnchiavePartiteViaggiantiChanged();
|
|
partial void OnIdMonitoraggioChanging(System.Nullable<long> value);
|
|
partial void OnIdMonitoraggioChanged();
|
|
partial void OncodconfChanging(string value);
|
|
partial void OncodconfChanged();
|
|
partial void OntipoOperazioneChanging(string value);
|
|
partial void OntipoOperazioneChanged();
|
|
partial void OnchiaveClientePBChanging(System.Nullable<int> value);
|
|
partial void OnchiaveClientePBChanged();
|
|
partial void OntipoprodottoChanging(string value);
|
|
partial void OntipoprodottoChanged();
|
|
partial void OnctvppvvChanging(System.Nullable<double> value);
|
|
partial void OnctvppvvChanged();
|
|
partial void OndtIncassoChanging(System.Nullable<System.DateTime> value);
|
|
partial void OndtIncassoChanged();
|
|
partial void OndtValiditaChanging(System.Nullable<System.DateTime> value);
|
|
partial void OndtValiditaChanged();
|
|
partial void OndtValutaChanging(System.Nullable<System.DateTime> value);
|
|
partial void OndtValutaChanged();
|
|
partial void OncodProdChanging(string value);
|
|
partial void OncodProdChanged();
|
|
partial void OncodAnaChanging(string value);
|
|
partial void OncodAnaChanged();
|
|
partial void OnprogMovimentoChanging(System.Nullable<double> value);
|
|
partial void OnprogMovimentoChanged();
|
|
partial void OnsottoTipoOperazioneChanging(string value);
|
|
partial void OnsottoTipoOperazioneChanged();
|
|
partial void OndtStoricizzazioneChanging(System.Nullable<System.DateTime> value);
|
|
partial void OndtStoricizzazioneChanged();
|
|
partial void OndtAcquisizioneChanging(System.Nullable<System.DateTime> value);
|
|
partial void OndtAcquisizioneChanged();
|
|
#endregion
|
|
|
|
public MonPartiteViaggianti()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiavePartiteViaggianti", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
|
|
public long chiavePartiteViaggianti
|
|
{
|
|
get
|
|
{
|
|
return this._chiavePartiteViaggianti;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiavePartiteViaggianti != value))
|
|
{
|
|
this.OnchiavePartiteViaggiantiChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._chiavePartiteViaggianti = value;
|
|
this.SendPropertyChanged("chiavePartiteViaggianti");
|
|
this.OnchiavePartiteViaggiantiChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdMonitoraggio", DbType="BigInt")]
|
|
public System.Nullable<long> IdMonitoraggio
|
|
{
|
|
get
|
|
{
|
|
return this._IdMonitoraggio;
|
|
}
|
|
set
|
|
{
|
|
if ((this._IdMonitoraggio != value))
|
|
{
|
|
this.OnIdMonitoraggioChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._IdMonitoraggio = value;
|
|
this.SendPropertyChanged("IdMonitoraggio");
|
|
this.OnIdMonitoraggioChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_codconf", DbType="VarChar(20)")]
|
|
public string codconf
|
|
{
|
|
get
|
|
{
|
|
return this._codconf;
|
|
}
|
|
set
|
|
{
|
|
if ((this._codconf != value))
|
|
{
|
|
this.OncodconfChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._codconf = value;
|
|
this.SendPropertyChanged("codconf");
|
|
this.OncodconfChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_tipoOperazione", DbType="VarChar(15)")]
|
|
public string tipoOperazione
|
|
{
|
|
get
|
|
{
|
|
return this._tipoOperazione;
|
|
}
|
|
set
|
|
{
|
|
if ((this._tipoOperazione != value))
|
|
{
|
|
this.OntipoOperazioneChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._tipoOperazione = value;
|
|
this.SendPropertyChanged("tipoOperazione");
|
|
this.OntipoOperazioneChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiaveClientePB", DbType="Int")]
|
|
public System.Nullable<int> chiaveClientePB
|
|
{
|
|
get
|
|
{
|
|
return this._chiaveClientePB;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiaveClientePB != value))
|
|
{
|
|
this.OnchiaveClientePBChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._chiaveClientePB = value;
|
|
this.SendPropertyChanged("chiaveClientePB");
|
|
this.OnchiaveClientePBChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_tipoprodotto", DbType="VarChar(20)")]
|
|
public string tipoprodotto
|
|
{
|
|
get
|
|
{
|
|
return this._tipoprodotto;
|
|
}
|
|
set
|
|
{
|
|
if ((this._tipoprodotto != value))
|
|
{
|
|
this.OntipoprodottoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._tipoprodotto = value;
|
|
this.SendPropertyChanged("tipoprodotto");
|
|
this.OntipoprodottoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ctvppvv", DbType="Float")]
|
|
public System.Nullable<double> ctvppvv
|
|
{
|
|
get
|
|
{
|
|
return this._ctvppvv;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ctvppvv != value))
|
|
{
|
|
this.OnctvppvvChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ctvppvv = value;
|
|
this.SendPropertyChanged("ctvppvv");
|
|
this.OnctvppvvChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtIncasso", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtIncasso
|
|
{
|
|
get
|
|
{
|
|
return this._dtIncasso;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtIncasso != value))
|
|
{
|
|
this.OndtIncassoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._dtIncasso = value;
|
|
this.SendPropertyChanged("dtIncasso");
|
|
this.OndtIncassoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtValidita", DbType="Date")]
|
|
public System.Nullable<System.DateTime> dtValidita
|
|
{
|
|
get
|
|
{
|
|
return this._dtValidita;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtValidita != value))
|
|
{
|
|
this.OndtValiditaChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._dtValidita = value;
|
|
this.SendPropertyChanged("dtValidita");
|
|
this.OndtValiditaChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtValuta", DbType="Date")]
|
|
public System.Nullable<System.DateTime> dtValuta
|
|
{
|
|
get
|
|
{
|
|
return this._dtValuta;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtValuta != value))
|
|
{
|
|
this.OndtValutaChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._dtValuta = value;
|
|
this.SendPropertyChanged("dtValuta");
|
|
this.OndtValutaChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_codProd", DbType="VarChar(5)")]
|
|
public string codProd
|
|
{
|
|
get
|
|
{
|
|
return this._codProd;
|
|
}
|
|
set
|
|
{
|
|
if ((this._codProd != value))
|
|
{
|
|
this.OncodProdChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._codProd = value;
|
|
this.SendPropertyChanged("codProd");
|
|
this.OncodProdChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_codAna", DbType="VarChar(15)")]
|
|
public string codAna
|
|
{
|
|
get
|
|
{
|
|
return this._codAna;
|
|
}
|
|
set
|
|
{
|
|
if ((this._codAna != value))
|
|
{
|
|
this.OncodAnaChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._codAna = value;
|
|
this.SendPropertyChanged("codAna");
|
|
this.OncodAnaChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_progMovimento", DbType="Float")]
|
|
public System.Nullable<double> progMovimento
|
|
{
|
|
get
|
|
{
|
|
return this._progMovimento;
|
|
}
|
|
set
|
|
{
|
|
if ((this._progMovimento != value))
|
|
{
|
|
this.OnprogMovimentoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._progMovimento = value;
|
|
this.SendPropertyChanged("progMovimento");
|
|
this.OnprogMovimentoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_sottoTipoOperazione", DbType="VarChar(5)")]
|
|
public string sottoTipoOperazione
|
|
{
|
|
get
|
|
{
|
|
return this._sottoTipoOperazione;
|
|
}
|
|
set
|
|
{
|
|
if ((this._sottoTipoOperazione != value))
|
|
{
|
|
this.OnsottoTipoOperazioneChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._sottoTipoOperazione = value;
|
|
this.SendPropertyChanged("sottoTipoOperazione");
|
|
this.OnsottoTipoOperazioneChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtStoricizzazione", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtStoricizzazione
|
|
{
|
|
get
|
|
{
|
|
return this._dtStoricizzazione;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtStoricizzazione != value))
|
|
{
|
|
this.OndtStoricizzazioneChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._dtStoricizzazione = value;
|
|
this.SendPropertyChanged("dtStoricizzazione");
|
|
this.OndtStoricizzazioneChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dtAcquisizione", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> dtAcquisizione
|
|
{
|
|
get
|
|
{
|
|
return this._dtAcquisizione;
|
|
}
|
|
set
|
|
{
|
|
if ((this._dtAcquisizione != value))
|
|
{
|
|
this.OndtAcquisizioneChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._dtAcquisizione = value;
|
|
this.SendPropertyChanged("dtAcquisizione");
|
|
this.OndtAcquisizioneChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
public event PropertyChangingEventHandler PropertyChanging;
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected virtual void SendPropertyChanging()
|
|
{
|
|
if ((this.PropertyChanging != null))
|
|
{
|
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
|
}
|
|
}
|
|
|
|
protected virtual void SendPropertyChanged(String propertyName)
|
|
{
|
|
if ((this.PropertyChanged != null))
|
|
{
|
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="ConsulenzaEvolutaFL.dbo.ErroriPhotodata")]
|
|
public partial class ErroriPhotodata : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private int _chiaveClientePB;
|
|
|
|
private long _IdMonitoraggio;
|
|
|
|
private System.Nullable<int> _stato;
|
|
|
|
private string _CausaleErrore;
|
|
|
|
private System.Nullable<System.DateTime> _Data;
|
|
|
|
#region Definizioni metodo Extensibility
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnchiaveClientePBChanging(int value);
|
|
partial void OnchiaveClientePBChanged();
|
|
partial void OnIdMonitoraggioChanging(long value);
|
|
partial void OnIdMonitoraggioChanged();
|
|
partial void OnstatoChanging(System.Nullable<int> value);
|
|
partial void OnstatoChanged();
|
|
partial void OnCausaleErroreChanging(string value);
|
|
partial void OnCausaleErroreChanged();
|
|
partial void OnDataChanging(System.Nullable<System.DateTime> value);
|
|
partial void OnDataChanged();
|
|
#endregion
|
|
|
|
public ErroriPhotodata()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_chiaveClientePB", DbType="Int NOT NULL", IsPrimaryKey=true)]
|
|
public int chiaveClientePB
|
|
{
|
|
get
|
|
{
|
|
return this._chiaveClientePB;
|
|
}
|
|
set
|
|
{
|
|
if ((this._chiaveClientePB != value))
|
|
{
|
|
this.OnchiaveClientePBChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._chiaveClientePB = value;
|
|
this.SendPropertyChanged("chiaveClientePB");
|
|
this.OnchiaveClientePBChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdMonitoraggio", DbType="BigInt NOT NULL", IsPrimaryKey=true)]
|
|
public long IdMonitoraggio
|
|
{
|
|
get
|
|
{
|
|
return this._IdMonitoraggio;
|
|
}
|
|
set
|
|
{
|
|
if ((this._IdMonitoraggio != value))
|
|
{
|
|
this.OnIdMonitoraggioChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._IdMonitoraggio = value;
|
|
this.SendPropertyChanged("IdMonitoraggio");
|
|
this.OnIdMonitoraggioChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_stato", DbType="Int")]
|
|
public System.Nullable<int> stato
|
|
{
|
|
get
|
|
{
|
|
return this._stato;
|
|
}
|
|
set
|
|
{
|
|
if ((this._stato != value))
|
|
{
|
|
this.OnstatoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._stato = value;
|
|
this.SendPropertyChanged("stato");
|
|
this.OnstatoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CausaleErrore", DbType="VarChar(50)")]
|
|
public string CausaleErrore
|
|
{
|
|
get
|
|
{
|
|
return this._CausaleErrore;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CausaleErrore != value))
|
|
{
|
|
this.OnCausaleErroreChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CausaleErrore = value;
|
|
this.SendPropertyChanged("CausaleErrore");
|
|
this.OnCausaleErroreChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Data", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> Data
|
|
{
|
|
get
|
|
{
|
|
return this._Data;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Data != value))
|
|
{
|
|
this.OnDataChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Data = value;
|
|
this.SendPropertyChanged("Data");
|
|
this.OnDataChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
public event PropertyChangingEventHandler PropertyChanging;
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected virtual void SendPropertyChanging()
|
|
{
|
|
if ((this.PropertyChanging != null))
|
|
{
|
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
|
}
|
|
}
|
|
|
|
protected virtual void SendPropertyChanged(String propertyName)
|
|
{
|
|
if ((this.PropertyChanged != null))
|
|
{
|
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore 1591
|