30129 lines
1.8 MiB
Plaintext
30129 lines
1.8 MiB
Plaintext
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// Il codice è stato generato da uno strumento.
|
|
// Versione runtime:4.0.30319.42000
|
|
//
|
|
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
|
|
// il codice viene rigenerato.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
#pragma warning disable 1591
|
|
|
|
namespace GPW_data {
|
|
|
|
|
|
/// <summary>
|
|
///Represents a strongly typed in-memory cache of data.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
|
|
[global::System.Xml.Serialization.XmlRootAttribute("DS_Applicazione")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
|
|
public partial class DS_Applicazione : global::System.Data.DataSet {
|
|
|
|
private TimbratureDataTable tableTimbrature;
|
|
|
|
private TimbratureExplDataTable tableTimbratureExpl;
|
|
|
|
private AnagDevicesDataTable tableAnagDevices;
|
|
|
|
private DipendentiDataTable tableDipendenti;
|
|
|
|
private AnagClientiDataTable tableAnagClienti;
|
|
|
|
private AnagProgettiDataTable tableAnagProgetti;
|
|
|
|
private Dipendenti2RuoliDataTable tableDipendenti2Ruoli;
|
|
|
|
private AnagFasiDataTable tableAnagFasi;
|
|
|
|
private v_logCommUtDataTable tablev_logCommUt;
|
|
|
|
private RegAttivitaDataTable tableRegAttivita;
|
|
|
|
private CalendFesteFerieDataTable tableCalendFesteFerie;
|
|
|
|
private AnagOrariDataTable tableAnagOrari;
|
|
|
|
private TimbMeseExplDataTable tableTimbMeseExpl;
|
|
|
|
private GiustificativiDataTable tableGiustificativi;
|
|
|
|
private stp_DipendentiAndAnomalieDataTable tablestp_DipendentiAndAnomalie;
|
|
|
|
private TE_RA_ExplDataTable tableTE_RA_Expl;
|
|
|
|
private regAttDayExplDataTable tableregAttDayExpl;
|
|
|
|
private AnagProgetti_ExplDataTable tableAnagProgetti_Expl;
|
|
|
|
private RegistroEventiDataTable tableRegistroEventi;
|
|
|
|
private global::System.Data.DataRelation relationFK_Timbrature_Dipendenti;
|
|
|
|
private global::System.Data.DataRelation relationFK_AnagProgetti_AnagClienti;
|
|
|
|
private global::System.Data.DataRelation relationFK_AnagFasi_AnagProgetti;
|
|
|
|
private global::System.Data.DataRelation relationFK_RegAttivita_AnagFasi;
|
|
|
|
private global::System.Data.DataRelation relationFK_RegAttivita_Dipendenti;
|
|
|
|
private global::System.Data.DataRelation relationFK_Dipendenti_AnagOrari;
|
|
|
|
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DS_Applicazione() {
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
|
base.Tables.CollectionChanged += schemaChangedHandler;
|
|
base.Relations.CollectionChanged += schemaChangedHandler;
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected DS_Applicazione(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context, false) {
|
|
if ((this.IsBinarySerialized(info, context) == true)) {
|
|
this.InitVars(false);
|
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
|
this.Tables.CollectionChanged += schemaChangedHandler1;
|
|
this.Relations.CollectionChanged += schemaChangedHandler1;
|
|
return;
|
|
}
|
|
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
|
|
if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
|
|
global::System.Data.DataSet ds = new global::System.Data.DataSet();
|
|
ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
|
|
if ((ds.Tables["Timbrature"] != null)) {
|
|
base.Tables.Add(new TimbratureDataTable(ds.Tables["Timbrature"]));
|
|
}
|
|
if ((ds.Tables["TimbratureExpl"] != null)) {
|
|
base.Tables.Add(new TimbratureExplDataTable(ds.Tables["TimbratureExpl"]));
|
|
}
|
|
if ((ds.Tables["AnagDevices"] != null)) {
|
|
base.Tables.Add(new AnagDevicesDataTable(ds.Tables["AnagDevices"]));
|
|
}
|
|
if ((ds.Tables["Dipendenti"] != null)) {
|
|
base.Tables.Add(new DipendentiDataTable(ds.Tables["Dipendenti"]));
|
|
}
|
|
if ((ds.Tables["AnagClienti"] != null)) {
|
|
base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"]));
|
|
}
|
|
if ((ds.Tables["AnagProgetti"] != null)) {
|
|
base.Tables.Add(new AnagProgettiDataTable(ds.Tables["AnagProgetti"]));
|
|
}
|
|
if ((ds.Tables["Dipendenti2Ruoli"] != null)) {
|
|
base.Tables.Add(new Dipendenti2RuoliDataTable(ds.Tables["Dipendenti2Ruoli"]));
|
|
}
|
|
if ((ds.Tables["AnagFasi"] != null)) {
|
|
base.Tables.Add(new AnagFasiDataTable(ds.Tables["AnagFasi"]));
|
|
}
|
|
if ((ds.Tables["v_logCommUt"] != null)) {
|
|
base.Tables.Add(new v_logCommUtDataTable(ds.Tables["v_logCommUt"]));
|
|
}
|
|
if ((ds.Tables["RegAttivita"] != null)) {
|
|
base.Tables.Add(new RegAttivitaDataTable(ds.Tables["RegAttivita"]));
|
|
}
|
|
if ((ds.Tables["CalendFesteFerie"] != null)) {
|
|
base.Tables.Add(new CalendFesteFerieDataTable(ds.Tables["CalendFesteFerie"]));
|
|
}
|
|
if ((ds.Tables["AnagOrari"] != null)) {
|
|
base.Tables.Add(new AnagOrariDataTable(ds.Tables["AnagOrari"]));
|
|
}
|
|
if ((ds.Tables["TimbMeseExpl"] != null)) {
|
|
base.Tables.Add(new TimbMeseExplDataTable(ds.Tables["TimbMeseExpl"]));
|
|
}
|
|
if ((ds.Tables["Giustificativi"] != null)) {
|
|
base.Tables.Add(new GiustificativiDataTable(ds.Tables["Giustificativi"]));
|
|
}
|
|
if ((ds.Tables["stp_DipendentiAndAnomalie"] != null)) {
|
|
base.Tables.Add(new stp_DipendentiAndAnomalieDataTable(ds.Tables["stp_DipendentiAndAnomalie"]));
|
|
}
|
|
if ((ds.Tables["TE_RA_Expl"] != null)) {
|
|
base.Tables.Add(new TE_RA_ExplDataTable(ds.Tables["TE_RA_Expl"]));
|
|
}
|
|
if ((ds.Tables["regAttDayExpl"] != null)) {
|
|
base.Tables.Add(new regAttDayExplDataTable(ds.Tables["regAttDayExpl"]));
|
|
}
|
|
if ((ds.Tables["AnagProgetti_Expl"] != null)) {
|
|
base.Tables.Add(new AnagProgetti_ExplDataTable(ds.Tables["AnagProgetti_Expl"]));
|
|
}
|
|
if ((ds.Tables["RegistroEventi"] != null)) {
|
|
base.Tables.Add(new RegistroEventiDataTable(ds.Tables["RegistroEventi"]));
|
|
}
|
|
this.DataSetName = ds.DataSetName;
|
|
this.Prefix = ds.Prefix;
|
|
this.Namespace = ds.Namespace;
|
|
this.Locale = ds.Locale;
|
|
this.CaseSensitive = ds.CaseSensitive;
|
|
this.EnforceConstraints = ds.EnforceConstraints;
|
|
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
|
|
this.InitVars();
|
|
}
|
|
else {
|
|
this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
|
|
}
|
|
this.GetSerializationData(info, context);
|
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
|
base.Tables.CollectionChanged += schemaChangedHandler;
|
|
this.Relations.CollectionChanged += schemaChangedHandler;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public TimbratureDataTable Timbrature {
|
|
get {
|
|
return this.tableTimbrature;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public TimbratureExplDataTable TimbratureExpl {
|
|
get {
|
|
return this.tableTimbratureExpl;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public AnagDevicesDataTable AnagDevices {
|
|
get {
|
|
return this.tableAnagDevices;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public DipendentiDataTable Dipendenti {
|
|
get {
|
|
return this.tableDipendenti;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public AnagClientiDataTable AnagClienti {
|
|
get {
|
|
return this.tableAnagClienti;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public AnagProgettiDataTable AnagProgetti {
|
|
get {
|
|
return this.tableAnagProgetti;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public Dipendenti2RuoliDataTable Dipendenti2Ruoli {
|
|
get {
|
|
return this.tableDipendenti2Ruoli;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public AnagFasiDataTable AnagFasi {
|
|
get {
|
|
return this.tableAnagFasi;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public v_logCommUtDataTable v_logCommUt {
|
|
get {
|
|
return this.tablev_logCommUt;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public RegAttivitaDataTable RegAttivita {
|
|
get {
|
|
return this.tableRegAttivita;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public CalendFesteFerieDataTable CalendFesteFerie {
|
|
get {
|
|
return this.tableCalendFesteFerie;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public AnagOrariDataTable AnagOrari {
|
|
get {
|
|
return this.tableAnagOrari;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public TimbMeseExplDataTable TimbMeseExpl {
|
|
get {
|
|
return this.tableTimbMeseExpl;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public GiustificativiDataTable Giustificativi {
|
|
get {
|
|
return this.tableGiustificativi;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public stp_DipendentiAndAnomalieDataTable stp_DipendentiAndAnomalie {
|
|
get {
|
|
return this.tablestp_DipendentiAndAnomalie;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public TE_RA_ExplDataTable TE_RA_Expl {
|
|
get {
|
|
return this.tableTE_RA_Expl;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public regAttDayExplDataTable regAttDayExpl {
|
|
get {
|
|
return this.tableregAttDayExpl;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public AnagProgetti_ExplDataTable AnagProgetti_Expl {
|
|
get {
|
|
return this.tableAnagProgetti_Expl;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public RegistroEventiDataTable RegistroEventi {
|
|
get {
|
|
return this.tableRegistroEventi;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.BrowsableAttribute(true)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
|
|
public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
|
|
get {
|
|
return this._schemaSerializationMode;
|
|
}
|
|
set {
|
|
this._schemaSerializationMode = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
|
public new global::System.Data.DataTableCollection Tables {
|
|
get {
|
|
return base.Tables;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
|
public new global::System.Data.DataRelationCollection Relations {
|
|
get {
|
|
return base.Relations;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void InitializeDerivedDataSet() {
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataSet Clone() {
|
|
DS_Applicazione cln = ((DS_Applicazione)(base.Clone()));
|
|
cln.InitVars();
|
|
cln.SchemaSerializationMode = this.SchemaSerializationMode;
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override bool ShouldSerializeTables() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override bool ShouldSerializeRelations() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
|
|
if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
|
|
this.Reset();
|
|
global::System.Data.DataSet ds = new global::System.Data.DataSet();
|
|
ds.ReadXml(reader);
|
|
if ((ds.Tables["Timbrature"] != null)) {
|
|
base.Tables.Add(new TimbratureDataTable(ds.Tables["Timbrature"]));
|
|
}
|
|
if ((ds.Tables["TimbratureExpl"] != null)) {
|
|
base.Tables.Add(new TimbratureExplDataTable(ds.Tables["TimbratureExpl"]));
|
|
}
|
|
if ((ds.Tables["AnagDevices"] != null)) {
|
|
base.Tables.Add(new AnagDevicesDataTable(ds.Tables["AnagDevices"]));
|
|
}
|
|
if ((ds.Tables["Dipendenti"] != null)) {
|
|
base.Tables.Add(new DipendentiDataTable(ds.Tables["Dipendenti"]));
|
|
}
|
|
if ((ds.Tables["AnagClienti"] != null)) {
|
|
base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"]));
|
|
}
|
|
if ((ds.Tables["AnagProgetti"] != null)) {
|
|
base.Tables.Add(new AnagProgettiDataTable(ds.Tables["AnagProgetti"]));
|
|
}
|
|
if ((ds.Tables["Dipendenti2Ruoli"] != null)) {
|
|
base.Tables.Add(new Dipendenti2RuoliDataTable(ds.Tables["Dipendenti2Ruoli"]));
|
|
}
|
|
if ((ds.Tables["AnagFasi"] != null)) {
|
|
base.Tables.Add(new AnagFasiDataTable(ds.Tables["AnagFasi"]));
|
|
}
|
|
if ((ds.Tables["v_logCommUt"] != null)) {
|
|
base.Tables.Add(new v_logCommUtDataTable(ds.Tables["v_logCommUt"]));
|
|
}
|
|
if ((ds.Tables["RegAttivita"] != null)) {
|
|
base.Tables.Add(new RegAttivitaDataTable(ds.Tables["RegAttivita"]));
|
|
}
|
|
if ((ds.Tables["CalendFesteFerie"] != null)) {
|
|
base.Tables.Add(new CalendFesteFerieDataTable(ds.Tables["CalendFesteFerie"]));
|
|
}
|
|
if ((ds.Tables["AnagOrari"] != null)) {
|
|
base.Tables.Add(new AnagOrariDataTable(ds.Tables["AnagOrari"]));
|
|
}
|
|
if ((ds.Tables["TimbMeseExpl"] != null)) {
|
|
base.Tables.Add(new TimbMeseExplDataTable(ds.Tables["TimbMeseExpl"]));
|
|
}
|
|
if ((ds.Tables["Giustificativi"] != null)) {
|
|
base.Tables.Add(new GiustificativiDataTable(ds.Tables["Giustificativi"]));
|
|
}
|
|
if ((ds.Tables["stp_DipendentiAndAnomalie"] != null)) {
|
|
base.Tables.Add(new stp_DipendentiAndAnomalieDataTable(ds.Tables["stp_DipendentiAndAnomalie"]));
|
|
}
|
|
if ((ds.Tables["TE_RA_Expl"] != null)) {
|
|
base.Tables.Add(new TE_RA_ExplDataTable(ds.Tables["TE_RA_Expl"]));
|
|
}
|
|
if ((ds.Tables["regAttDayExpl"] != null)) {
|
|
base.Tables.Add(new regAttDayExplDataTable(ds.Tables["regAttDayExpl"]));
|
|
}
|
|
if ((ds.Tables["AnagProgetti_Expl"] != null)) {
|
|
base.Tables.Add(new AnagProgetti_ExplDataTable(ds.Tables["AnagProgetti_Expl"]));
|
|
}
|
|
if ((ds.Tables["RegistroEventi"] != null)) {
|
|
base.Tables.Add(new RegistroEventiDataTable(ds.Tables["RegistroEventi"]));
|
|
}
|
|
this.DataSetName = ds.DataSetName;
|
|
this.Prefix = ds.Prefix;
|
|
this.Namespace = ds.Namespace;
|
|
this.Locale = ds.Locale;
|
|
this.CaseSensitive = ds.CaseSensitive;
|
|
this.EnforceConstraints = ds.EnforceConstraints;
|
|
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
|
|
this.InitVars();
|
|
}
|
|
else {
|
|
this.ReadXml(reader);
|
|
this.InitVars();
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
|
|
global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
|
|
this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
|
|
stream.Position = 0;
|
|
return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.InitVars(true);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars(bool initTable) {
|
|
this.tableTimbrature = ((TimbratureDataTable)(base.Tables["Timbrature"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableTimbrature != null)) {
|
|
this.tableTimbrature.InitVars();
|
|
}
|
|
}
|
|
this.tableTimbratureExpl = ((TimbratureExplDataTable)(base.Tables["TimbratureExpl"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableTimbratureExpl != null)) {
|
|
this.tableTimbratureExpl.InitVars();
|
|
}
|
|
}
|
|
this.tableAnagDevices = ((AnagDevicesDataTable)(base.Tables["AnagDevices"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagDevices != null)) {
|
|
this.tableAnagDevices.InitVars();
|
|
}
|
|
}
|
|
this.tableDipendenti = ((DipendentiDataTable)(base.Tables["Dipendenti"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableDipendenti != null)) {
|
|
this.tableDipendenti.InitVars();
|
|
}
|
|
}
|
|
this.tableAnagClienti = ((AnagClientiDataTable)(base.Tables["AnagClienti"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagClienti != null)) {
|
|
this.tableAnagClienti.InitVars();
|
|
}
|
|
}
|
|
this.tableAnagProgetti = ((AnagProgettiDataTable)(base.Tables["AnagProgetti"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagProgetti != null)) {
|
|
this.tableAnagProgetti.InitVars();
|
|
}
|
|
}
|
|
this.tableDipendenti2Ruoli = ((Dipendenti2RuoliDataTable)(base.Tables["Dipendenti2Ruoli"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableDipendenti2Ruoli != null)) {
|
|
this.tableDipendenti2Ruoli.InitVars();
|
|
}
|
|
}
|
|
this.tableAnagFasi = ((AnagFasiDataTable)(base.Tables["AnagFasi"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagFasi != null)) {
|
|
this.tableAnagFasi.InitVars();
|
|
}
|
|
}
|
|
this.tablev_logCommUt = ((v_logCommUtDataTable)(base.Tables["v_logCommUt"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablev_logCommUt != null)) {
|
|
this.tablev_logCommUt.InitVars();
|
|
}
|
|
}
|
|
this.tableRegAttivita = ((RegAttivitaDataTable)(base.Tables["RegAttivita"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableRegAttivita != null)) {
|
|
this.tableRegAttivita.InitVars();
|
|
}
|
|
}
|
|
this.tableCalendFesteFerie = ((CalendFesteFerieDataTable)(base.Tables["CalendFesteFerie"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableCalendFesteFerie != null)) {
|
|
this.tableCalendFesteFerie.InitVars();
|
|
}
|
|
}
|
|
this.tableAnagOrari = ((AnagOrariDataTable)(base.Tables["AnagOrari"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagOrari != null)) {
|
|
this.tableAnagOrari.InitVars();
|
|
}
|
|
}
|
|
this.tableTimbMeseExpl = ((TimbMeseExplDataTable)(base.Tables["TimbMeseExpl"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableTimbMeseExpl != null)) {
|
|
this.tableTimbMeseExpl.InitVars();
|
|
}
|
|
}
|
|
this.tableGiustificativi = ((GiustificativiDataTable)(base.Tables["Giustificativi"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableGiustificativi != null)) {
|
|
this.tableGiustificativi.InitVars();
|
|
}
|
|
}
|
|
this.tablestp_DipendentiAndAnomalie = ((stp_DipendentiAndAnomalieDataTable)(base.Tables["stp_DipendentiAndAnomalie"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablestp_DipendentiAndAnomalie != null)) {
|
|
this.tablestp_DipendentiAndAnomalie.InitVars();
|
|
}
|
|
}
|
|
this.tableTE_RA_Expl = ((TE_RA_ExplDataTable)(base.Tables["TE_RA_Expl"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableTE_RA_Expl != null)) {
|
|
this.tableTE_RA_Expl.InitVars();
|
|
}
|
|
}
|
|
this.tableregAttDayExpl = ((regAttDayExplDataTable)(base.Tables["regAttDayExpl"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableregAttDayExpl != null)) {
|
|
this.tableregAttDayExpl.InitVars();
|
|
}
|
|
}
|
|
this.tableAnagProgetti_Expl = ((AnagProgetti_ExplDataTable)(base.Tables["AnagProgetti_Expl"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagProgetti_Expl != null)) {
|
|
this.tableAnagProgetti_Expl.InitVars();
|
|
}
|
|
}
|
|
this.tableRegistroEventi = ((RegistroEventiDataTable)(base.Tables["RegistroEventi"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableRegistroEventi != null)) {
|
|
this.tableRegistroEventi.InitVars();
|
|
}
|
|
}
|
|
this.relationFK_Timbrature_Dipendenti = this.Relations["FK_Timbrature_Dipendenti"];
|
|
this.relationFK_AnagProgetti_AnagClienti = this.Relations["FK_AnagProgetti_AnagClienti"];
|
|
this.relationFK_AnagFasi_AnagProgetti = this.Relations["FK_AnagFasi_AnagProgetti"];
|
|
this.relationFK_RegAttivita_AnagFasi = this.Relations["FK_RegAttivita_AnagFasi"];
|
|
this.relationFK_RegAttivita_Dipendenti = this.Relations["FK_RegAttivita_Dipendenti"];
|
|
this.relationFK_Dipendenti_AnagOrari = this.Relations["FK_Dipendenti_AnagOrari"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.DataSetName = "DS_Applicazione";
|
|
this.Prefix = "";
|
|
this.Namespace = "http://tempuri.org/DS_Applicazione.xsd";
|
|
this.EnforceConstraints = true;
|
|
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|
this.tableTimbrature = new TimbratureDataTable();
|
|
base.Tables.Add(this.tableTimbrature);
|
|
this.tableTimbratureExpl = new TimbratureExplDataTable();
|
|
base.Tables.Add(this.tableTimbratureExpl);
|
|
this.tableAnagDevices = new AnagDevicesDataTable();
|
|
base.Tables.Add(this.tableAnagDevices);
|
|
this.tableDipendenti = new DipendentiDataTable();
|
|
base.Tables.Add(this.tableDipendenti);
|
|
this.tableAnagClienti = new AnagClientiDataTable();
|
|
base.Tables.Add(this.tableAnagClienti);
|
|
this.tableAnagProgetti = new AnagProgettiDataTable();
|
|
base.Tables.Add(this.tableAnagProgetti);
|
|
this.tableDipendenti2Ruoli = new Dipendenti2RuoliDataTable();
|
|
base.Tables.Add(this.tableDipendenti2Ruoli);
|
|
this.tableAnagFasi = new AnagFasiDataTable();
|
|
base.Tables.Add(this.tableAnagFasi);
|
|
this.tablev_logCommUt = new v_logCommUtDataTable();
|
|
base.Tables.Add(this.tablev_logCommUt);
|
|
this.tableRegAttivita = new RegAttivitaDataTable();
|
|
base.Tables.Add(this.tableRegAttivita);
|
|
this.tableCalendFesteFerie = new CalendFesteFerieDataTable();
|
|
base.Tables.Add(this.tableCalendFesteFerie);
|
|
this.tableAnagOrari = new AnagOrariDataTable();
|
|
base.Tables.Add(this.tableAnagOrari);
|
|
this.tableTimbMeseExpl = new TimbMeseExplDataTable();
|
|
base.Tables.Add(this.tableTimbMeseExpl);
|
|
this.tableGiustificativi = new GiustificativiDataTable();
|
|
base.Tables.Add(this.tableGiustificativi);
|
|
this.tablestp_DipendentiAndAnomalie = new stp_DipendentiAndAnomalieDataTable();
|
|
base.Tables.Add(this.tablestp_DipendentiAndAnomalie);
|
|
this.tableTE_RA_Expl = new TE_RA_ExplDataTable();
|
|
base.Tables.Add(this.tableTE_RA_Expl);
|
|
this.tableregAttDayExpl = new regAttDayExplDataTable();
|
|
base.Tables.Add(this.tableregAttDayExpl);
|
|
this.tableAnagProgetti_Expl = new AnagProgetti_ExplDataTable();
|
|
base.Tables.Add(this.tableAnagProgetti_Expl);
|
|
this.tableRegistroEventi = new RegistroEventiDataTable();
|
|
base.Tables.Add(this.tableRegistroEventi);
|
|
this.relationFK_Timbrature_Dipendenti = new global::System.Data.DataRelation("FK_Timbrature_Dipendenti", new global::System.Data.DataColumn[] {
|
|
this.tableDipendenti.idxDipendenteColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableTimbrature.idxDipendenteColumn}, false);
|
|
this.Relations.Add(this.relationFK_Timbrature_Dipendenti);
|
|
this.relationFK_AnagProgetti_AnagClienti = new global::System.Data.DataRelation("FK_AnagProgetti_AnagClienti", new global::System.Data.DataColumn[] {
|
|
this.tableAnagClienti.idxClienteColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableAnagProgetti.idxClienteColumn}, false);
|
|
this.Relations.Add(this.relationFK_AnagProgetti_AnagClienti);
|
|
this.relationFK_AnagFasi_AnagProgetti = new global::System.Data.DataRelation("FK_AnagFasi_AnagProgetti", new global::System.Data.DataColumn[] {
|
|
this.tableAnagProgetti.idxProgettoColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableAnagFasi.idxProgettoColumn}, false);
|
|
this.Relations.Add(this.relationFK_AnagFasi_AnagProgetti);
|
|
this.relationFK_RegAttivita_AnagFasi = new global::System.Data.DataRelation("FK_RegAttivita_AnagFasi", new global::System.Data.DataColumn[] {
|
|
this.tableAnagFasi.idxFaseColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableRegAttivita.idxFaseColumn}, false);
|
|
this.Relations.Add(this.relationFK_RegAttivita_AnagFasi);
|
|
this.relationFK_RegAttivita_Dipendenti = new global::System.Data.DataRelation("FK_RegAttivita_Dipendenti", new global::System.Data.DataColumn[] {
|
|
this.tableDipendenti.idxDipendenteColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableRegAttivita.idxDipendenteColumn}, false);
|
|
this.Relations.Add(this.relationFK_RegAttivita_Dipendenti);
|
|
this.relationFK_Dipendenti_AnagOrari = new global::System.Data.DataRelation("FK_Dipendenti_AnagOrari", new global::System.Data.DataColumn[] {
|
|
this.tableAnagOrari.codOrarioColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableDipendenti.codOrarioColumn}, false);
|
|
this.Relations.Add(this.relationFK_Dipendenti_AnagOrari);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeTimbrature() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeTimbratureExpl() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeAnagDevices() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeDipendenti() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeAnagClienti() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeAnagProgetti() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeDipendenti2Ruoli() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeAnagFasi() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializev_logCommUt() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeRegAttivita() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeCalendFesteFerie() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeAnagOrari() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeTimbMeseExpl() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeGiustificativi() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializestp_DipendentiAndAnomalie() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeTE_RA_Expl() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeregAttDayExpl() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeAnagProgetti_Expl() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeRegistroEventi() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
|
|
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
|
|
this.InitVars();
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any.Namespace = ds.Namespace;
|
|
sequence.Items.Add(any);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void TimbratureRowChangeEventHandler(object sender, TimbratureRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void TimbratureExplRowChangeEventHandler(object sender, TimbratureExplRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void AnagDevicesRowChangeEventHandler(object sender, AnagDevicesRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void DipendentiRowChangeEventHandler(object sender, DipendentiRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void AnagClientiRowChangeEventHandler(object sender, AnagClientiRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void AnagProgettiRowChangeEventHandler(object sender, AnagProgettiRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void Dipendenti2RuoliRowChangeEventHandler(object sender, Dipendenti2RuoliRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void AnagFasiRowChangeEventHandler(object sender, AnagFasiRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void v_logCommUtRowChangeEventHandler(object sender, v_logCommUtRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void RegAttivitaRowChangeEventHandler(object sender, RegAttivitaRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void CalendFesteFerieRowChangeEventHandler(object sender, CalendFesteFerieRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void AnagOrariRowChangeEventHandler(object sender, AnagOrariRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void TimbMeseExplRowChangeEventHandler(object sender, TimbMeseExplRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void GiustificativiRowChangeEventHandler(object sender, GiustificativiRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void stp_DipendentiAndAnomalieRowChangeEventHandler(object sender, stp_DipendentiAndAnomalieRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void TE_RA_ExplRowChangeEventHandler(object sender, TE_RA_ExplRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void regAttDayExplRowChangeEventHandler(object sender, regAttDayExplRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void AnagProgetti_ExplRowChangeEventHandler(object sender, AnagProgetti_ExplRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void RegistroEventiRowChangeEventHandler(object sender, RegistroEventiRowChangeEvent e);
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class TimbratureDataTable : global::System.Data.TypedTableBase<TimbratureRow> {
|
|
|
|
private global::System.Data.DataColumn columndataOra;
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnentrata;
|
|
|
|
private global::System.Data.DataColumn columnIPv4;
|
|
|
|
private global::System.Data.DataColumn columnCodTipoTimb;
|
|
|
|
private global::System.Data.DataColumn columnApprov;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureDataTable() {
|
|
this.TableName = "Timbrature";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TimbratureDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected TimbratureDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataOraColumn {
|
|
get {
|
|
return this.columndataOra;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn entrataColumn {
|
|
get {
|
|
return this.columnentrata;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn IPv4Column {
|
|
get {
|
|
return this.columnIPv4;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CodTipoTimbColumn {
|
|
get {
|
|
return this.columnCodTipoTimb;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ApprovColumn {
|
|
get {
|
|
return this.columnApprov;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureRow this[int index] {
|
|
get {
|
|
return ((TimbratureRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbratureRowChangeEventHandler TimbratureRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbratureRowChangeEventHandler TimbratureRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbratureRowChangeEventHandler TimbratureRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbratureRowChangeEventHandler TimbratureRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddTimbratureRow(TimbratureRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureRow AddTimbratureRow(System.DateTime dataOra, DipendentiRow parentDipendentiRowByFK_Timbrature_Dipendenti, bool entrata, string IPv4, string CodTipoTimb, bool Approv) {
|
|
TimbratureRow rowTimbratureRow = ((TimbratureRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
dataOra,
|
|
null,
|
|
entrata,
|
|
IPv4,
|
|
CodTipoTimb,
|
|
Approv};
|
|
if ((parentDipendentiRowByFK_Timbrature_Dipendenti != null)) {
|
|
columnValuesArray[1] = parentDipendentiRowByFK_Timbrature_Dipendenti[0];
|
|
}
|
|
rowTimbratureRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowTimbratureRow);
|
|
return rowTimbratureRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureRow FindBydataOraidxDipendente(System.DateTime dataOra, int idxDipendente) {
|
|
return ((TimbratureRow)(this.Rows.Find(new object[] {
|
|
dataOra,
|
|
idxDipendente})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
TimbratureDataTable cln = ((TimbratureDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new TimbratureDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columndataOra = base.Columns["dataOra"];
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnentrata = base.Columns["entrata"];
|
|
this.columnIPv4 = base.Columns["IPv4"];
|
|
this.columnCodTipoTimb = base.Columns["CodTipoTimb"];
|
|
this.columnApprov = base.Columns["Approv"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columndataOra = new global::System.Data.DataColumn("dataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataOra);
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnentrata = new global::System.Data.DataColumn("entrata", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnentrata);
|
|
this.columnIPv4 = new global::System.Data.DataColumn("IPv4", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIPv4);
|
|
this.columnCodTipoTimb = new global::System.Data.DataColumn("CodTipoTimb", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodTipoTimb);
|
|
this.columnApprov = new global::System.Data.DataColumn("Approv", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnApprov);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columndataOra,
|
|
this.columnidxDipendente}, true));
|
|
this.columndataOra.AllowDBNull = false;
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnIPv4.MaxLength = 15;
|
|
this.columnCodTipoTimb.MaxLength = 10;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureRow NewTimbratureRow() {
|
|
return ((TimbratureRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new TimbratureRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(TimbratureRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.TimbratureRowChanged != null)) {
|
|
this.TimbratureRowChanged(this, new TimbratureRowChangeEvent(((TimbratureRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.TimbratureRowChanging != null)) {
|
|
this.TimbratureRowChanging(this, new TimbratureRowChangeEvent(((TimbratureRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.TimbratureRowDeleted != null)) {
|
|
this.TimbratureRowDeleted(this, new TimbratureRowChangeEvent(((TimbratureRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.TimbratureRowDeleting != null)) {
|
|
this.TimbratureRowDeleting(this, new TimbratureRowChangeEvent(((TimbratureRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveTimbratureRow(TimbratureRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "TimbratureDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class TimbratureExplDataTable : global::System.Data.TypedTableBase<TimbratureExplRow> {
|
|
|
|
private global::System.Data.DataColumn columndataLav;
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnCognomeNome;
|
|
|
|
private global::System.Data.DataColumn columnentrata_1;
|
|
|
|
private global::System.Data.DataColumn columnuscita_1;
|
|
|
|
private global::System.Data.DataColumn columnentrata_2;
|
|
|
|
private global::System.Data.DataColumn columnuscita_2;
|
|
|
|
private global::System.Data.DataColumn columnentrata_3;
|
|
|
|
private global::System.Data.DataColumn columnuscita_3;
|
|
|
|
private global::System.Data.DataColumn columnentrata_4;
|
|
|
|
private global::System.Data.DataColumn columnuscita_4;
|
|
|
|
private global::System.Data.DataColumn columnh_lav;
|
|
|
|
private global::System.Data.DataColumn columnh_giust;
|
|
|
|
private global::System.Data.DataColumn columnminLav;
|
|
|
|
private global::System.Data.DataColumn columnminOrd;
|
|
|
|
private global::System.Data.DataColumn columnminStra;
|
|
|
|
private global::System.Data.DataColumn columnminPerm;
|
|
|
|
private global::System.Data.DataColumn columnminFer;
|
|
|
|
private global::System.Data.DataColumn columnminMal;
|
|
|
|
private global::System.Data.DataColumn columnminFest;
|
|
|
|
private global::System.Data.DataColumn columnisOkTim;
|
|
|
|
private global::System.Data.DataColumn columnisOkApp;
|
|
|
|
private global::System.Data.DataColumn columnisOkLav;
|
|
|
|
private global::System.Data.DataColumn columnisOk;
|
|
|
|
private global::System.Data.DataColumn columnminNonLav;
|
|
|
|
private global::System.Data.DataColumn columnminArcoPres;
|
|
|
|
private global::System.Data.DataColumn columnblock;
|
|
|
|
private global::System.Data.DataColumn columnchkFunCod;
|
|
|
|
private global::System.Data.DataColumn columnchkFunRes;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureExplDataTable() {
|
|
this.TableName = "TimbratureExpl";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TimbratureExplDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected TimbratureExplDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataLavColumn {
|
|
get {
|
|
return this.columndataLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CognomeNomeColumn {
|
|
get {
|
|
return this.columnCognomeNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn entrata_1Column {
|
|
get {
|
|
return this.columnentrata_1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn uscita_1Column {
|
|
get {
|
|
return this.columnuscita_1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn entrata_2Column {
|
|
get {
|
|
return this.columnentrata_2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn uscita_2Column {
|
|
get {
|
|
return this.columnuscita_2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn entrata_3Column {
|
|
get {
|
|
return this.columnentrata_3;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn uscita_3Column {
|
|
get {
|
|
return this.columnuscita_3;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn entrata_4Column {
|
|
get {
|
|
return this.columnentrata_4;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn uscita_4Column {
|
|
get {
|
|
return this.columnuscita_4;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn h_lavColumn {
|
|
get {
|
|
return this.columnh_lav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn h_giustColumn {
|
|
get {
|
|
return this.columnh_giust;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minLavColumn {
|
|
get {
|
|
return this.columnminLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minOrdColumn {
|
|
get {
|
|
return this.columnminOrd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minStraColumn {
|
|
get {
|
|
return this.columnminStra;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minPermColumn {
|
|
get {
|
|
return this.columnminPerm;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minFerColumn {
|
|
get {
|
|
return this.columnminFer;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minMalColumn {
|
|
get {
|
|
return this.columnminMal;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minFestColumn {
|
|
get {
|
|
return this.columnminFest;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn isOkTimColumn {
|
|
get {
|
|
return this.columnisOkTim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn isOkAppColumn {
|
|
get {
|
|
return this.columnisOkApp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn isOkLavColumn {
|
|
get {
|
|
return this.columnisOkLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn isOkColumn {
|
|
get {
|
|
return this.columnisOk;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minNonLavColumn {
|
|
get {
|
|
return this.columnminNonLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minArcoPresColumn {
|
|
get {
|
|
return this.columnminArcoPres;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn blockColumn {
|
|
get {
|
|
return this.columnblock;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn chkFunCodColumn {
|
|
get {
|
|
return this.columnchkFunCod;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn chkFunResColumn {
|
|
get {
|
|
return this.columnchkFunRes;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureExplRow this[int index] {
|
|
get {
|
|
return ((TimbratureExplRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbratureExplRowChangeEventHandler TimbratureExplRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbratureExplRowChangeEventHandler TimbratureExplRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbratureExplRowChangeEventHandler TimbratureExplRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbratureExplRowChangeEventHandler TimbratureExplRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddTimbratureExplRow(TimbratureExplRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureExplRow AddTimbratureExplRow(
|
|
System.DateTime dataLav,
|
|
int idxDipendente,
|
|
string CognomeNome,
|
|
System.DateTime entrata_1,
|
|
System.DateTime uscita_1,
|
|
System.DateTime entrata_2,
|
|
System.DateTime uscita_2,
|
|
System.DateTime entrata_3,
|
|
System.DateTime uscita_3,
|
|
System.DateTime entrata_4,
|
|
System.DateTime uscita_4,
|
|
double h_lav,
|
|
double h_giust,
|
|
int minLav,
|
|
int minOrd,
|
|
int minStra,
|
|
int minPerm,
|
|
int minFer,
|
|
int minMal,
|
|
int minFest,
|
|
bool isOkTim,
|
|
bool isOkApp,
|
|
int isOkLav,
|
|
int isOk,
|
|
int minNonLav,
|
|
int minArcoPres,
|
|
bool block,
|
|
string chkFunCod,
|
|
string chkFunRes) {
|
|
TimbratureExplRow rowTimbratureExplRow = ((TimbratureExplRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
dataLav,
|
|
idxDipendente,
|
|
CognomeNome,
|
|
entrata_1,
|
|
uscita_1,
|
|
entrata_2,
|
|
uscita_2,
|
|
entrata_3,
|
|
uscita_3,
|
|
entrata_4,
|
|
uscita_4,
|
|
h_lav,
|
|
h_giust,
|
|
minLav,
|
|
minOrd,
|
|
minStra,
|
|
minPerm,
|
|
minFer,
|
|
minMal,
|
|
minFest,
|
|
isOkTim,
|
|
isOkApp,
|
|
isOkLav,
|
|
isOk,
|
|
minNonLav,
|
|
minArcoPres,
|
|
block,
|
|
chkFunCod,
|
|
chkFunRes};
|
|
rowTimbratureExplRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowTimbratureExplRow);
|
|
return rowTimbratureExplRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureExplRow FindBydataLavidxDipendente(System.DateTime dataLav, int idxDipendente) {
|
|
return ((TimbratureExplRow)(this.Rows.Find(new object[] {
|
|
dataLav,
|
|
idxDipendente})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
TimbratureExplDataTable cln = ((TimbratureExplDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new TimbratureExplDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columndataLav = base.Columns["dataLav"];
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnCognomeNome = base.Columns["CognomeNome"];
|
|
this.columnentrata_1 = base.Columns["entrata_1"];
|
|
this.columnuscita_1 = base.Columns["uscita_1"];
|
|
this.columnentrata_2 = base.Columns["entrata_2"];
|
|
this.columnuscita_2 = base.Columns["uscita_2"];
|
|
this.columnentrata_3 = base.Columns["entrata_3"];
|
|
this.columnuscita_3 = base.Columns["uscita_3"];
|
|
this.columnentrata_4 = base.Columns["entrata_4"];
|
|
this.columnuscita_4 = base.Columns["uscita_4"];
|
|
this.columnh_lav = base.Columns["h_lav"];
|
|
this.columnh_giust = base.Columns["h_giust"];
|
|
this.columnminLav = base.Columns["minLav"];
|
|
this.columnminOrd = base.Columns["minOrd"];
|
|
this.columnminStra = base.Columns["minStra"];
|
|
this.columnminPerm = base.Columns["minPerm"];
|
|
this.columnminFer = base.Columns["minFer"];
|
|
this.columnminMal = base.Columns["minMal"];
|
|
this.columnminFest = base.Columns["minFest"];
|
|
this.columnisOkTim = base.Columns["isOkTim"];
|
|
this.columnisOkApp = base.Columns["isOkApp"];
|
|
this.columnisOkLav = base.Columns["isOkLav"];
|
|
this.columnisOk = base.Columns["isOk"];
|
|
this.columnminNonLav = base.Columns["minNonLav"];
|
|
this.columnminArcoPres = base.Columns["minArcoPres"];
|
|
this.columnblock = base.Columns["block"];
|
|
this.columnchkFunCod = base.Columns["chkFunCod"];
|
|
this.columnchkFunRes = base.Columns["chkFunRes"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columndataLav = new global::System.Data.DataColumn("dataLav", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataLav);
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCognomeNome);
|
|
this.columnentrata_1 = new global::System.Data.DataColumn("entrata_1", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnentrata_1);
|
|
this.columnuscita_1 = new global::System.Data.DataColumn("uscita_1", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuscita_1);
|
|
this.columnentrata_2 = new global::System.Data.DataColumn("entrata_2", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnentrata_2);
|
|
this.columnuscita_2 = new global::System.Data.DataColumn("uscita_2", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuscita_2);
|
|
this.columnentrata_3 = new global::System.Data.DataColumn("entrata_3", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnentrata_3);
|
|
this.columnuscita_3 = new global::System.Data.DataColumn("uscita_3", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuscita_3);
|
|
this.columnentrata_4 = new global::System.Data.DataColumn("entrata_4", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnentrata_4);
|
|
this.columnuscita_4 = new global::System.Data.DataColumn("uscita_4", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuscita_4);
|
|
this.columnh_lav = new global::System.Data.DataColumn("h_lav", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnh_lav);
|
|
this.columnh_giust = new global::System.Data.DataColumn("h_giust", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnh_giust);
|
|
this.columnminLav = new global::System.Data.DataColumn("minLav", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminLav);
|
|
this.columnminOrd = new global::System.Data.DataColumn("minOrd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminOrd);
|
|
this.columnminStra = new global::System.Data.DataColumn("minStra", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminStra);
|
|
this.columnminPerm = new global::System.Data.DataColumn("minPerm", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminPerm);
|
|
this.columnminFer = new global::System.Data.DataColumn("minFer", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminFer);
|
|
this.columnminMal = new global::System.Data.DataColumn("minMal", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminMal);
|
|
this.columnminFest = new global::System.Data.DataColumn("minFest", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminFest);
|
|
this.columnisOkTim = new global::System.Data.DataColumn("isOkTim", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnisOkTim);
|
|
this.columnisOkApp = new global::System.Data.DataColumn("isOkApp", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnisOkApp);
|
|
this.columnisOkLav = new global::System.Data.DataColumn("isOkLav", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnisOkLav);
|
|
this.columnisOk = new global::System.Data.DataColumn("isOk", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnisOk);
|
|
this.columnminNonLav = new global::System.Data.DataColumn("minNonLav", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminNonLav);
|
|
this.columnminArcoPres = new global::System.Data.DataColumn("minArcoPres", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminArcoPres);
|
|
this.columnblock = new global::System.Data.DataColumn("block", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnblock);
|
|
this.columnchkFunCod = new global::System.Data.DataColumn("chkFunCod", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnchkFunCod);
|
|
this.columnchkFunRes = new global::System.Data.DataColumn("chkFunRes", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnchkFunRes);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columndataLav,
|
|
this.columnidxDipendente}, true));
|
|
this.columndataLav.AllowDBNull = false;
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnCognomeNome.MaxLength = 100;
|
|
this.columnh_giust.ReadOnly = true;
|
|
this.columnminStra.ReadOnly = true;
|
|
this.columnisOkLav.ReadOnly = true;
|
|
this.columnisOk.ReadOnly = true;
|
|
this.columnminArcoPres.ReadOnly = true;
|
|
this.columnchkFunCod.MaxLength = 50;
|
|
this.columnchkFunRes.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureExplRow NewTimbratureExplRow() {
|
|
return ((TimbratureExplRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new TimbratureExplRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(TimbratureExplRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.TimbratureExplRowChanged != null)) {
|
|
this.TimbratureExplRowChanged(this, new TimbratureExplRowChangeEvent(((TimbratureExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.TimbratureExplRowChanging != null)) {
|
|
this.TimbratureExplRowChanging(this, new TimbratureExplRowChangeEvent(((TimbratureExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.TimbratureExplRowDeleted != null)) {
|
|
this.TimbratureExplRowDeleted(this, new TimbratureExplRowChangeEvent(((TimbratureExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.TimbratureExplRowDeleting != null)) {
|
|
this.TimbratureExplRowDeleting(this, new TimbratureExplRowChangeEvent(((TimbratureExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveTimbratureExplRow(TimbratureExplRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "TimbratureExplDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class AnagDevicesDataTable : global::System.Data.TypedTableBase<AnagDevicesRow> {
|
|
|
|
private global::System.Data.DataColumn columnIdxDevice;
|
|
|
|
private global::System.Data.DataColumn columnDeviceSecret;
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnDeviceName;
|
|
|
|
private global::System.Data.DataColumn columnDescription;
|
|
|
|
private global::System.Data.DataColumn columndataOraEnabled;
|
|
|
|
private global::System.Data.DataColumn columndataOraLastSeen;
|
|
|
|
private global::System.Data.DataColumn columnlastIPv4;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagDevicesDataTable() {
|
|
this.TableName = "AnagDevices";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagDevicesDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected AnagDevicesDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn IdxDeviceColumn {
|
|
get {
|
|
return this.columnIdxDevice;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DeviceSecretColumn {
|
|
get {
|
|
return this.columnDeviceSecret;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DeviceNameColumn {
|
|
get {
|
|
return this.columnDeviceName;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DescriptionColumn {
|
|
get {
|
|
return this.columnDescription;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataOraEnabledColumn {
|
|
get {
|
|
return this.columndataOraEnabled;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataOraLastSeenColumn {
|
|
get {
|
|
return this.columndataOraLastSeen;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn lastIPv4Column {
|
|
get {
|
|
return this.columnlastIPv4;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagDevicesRow this[int index] {
|
|
get {
|
|
return ((AnagDevicesRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagDevicesRowChangeEventHandler AnagDevicesRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagDevicesRowChangeEventHandler AnagDevicesRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagDevicesRowChangeEventHandler AnagDevicesRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagDevicesRowChangeEventHandler AnagDevicesRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddAnagDevicesRow(AnagDevicesRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagDevicesRow AddAnagDevicesRow(string DeviceSecret, int idxDipendente, string DeviceName, string Description, System.DateTime dataOraEnabled, System.DateTime dataOraLastSeen, string lastIPv4) {
|
|
AnagDevicesRow rowAnagDevicesRow = ((AnagDevicesRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
DeviceSecret,
|
|
idxDipendente,
|
|
DeviceName,
|
|
Description,
|
|
dataOraEnabled,
|
|
dataOraLastSeen,
|
|
lastIPv4};
|
|
rowAnagDevicesRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAnagDevicesRow);
|
|
return rowAnagDevicesRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagDevicesRow FindByIdxDevice(int IdxDevice) {
|
|
return ((AnagDevicesRow)(this.Rows.Find(new object[] {
|
|
IdxDevice})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AnagDevicesDataTable cln = ((AnagDevicesDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new AnagDevicesDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnIdxDevice = base.Columns["IdxDevice"];
|
|
this.columnDeviceSecret = base.Columns["DeviceSecret"];
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnDeviceName = base.Columns["DeviceName"];
|
|
this.columnDescription = base.Columns["Description"];
|
|
this.columndataOraEnabled = base.Columns["dataOraEnabled"];
|
|
this.columndataOraLastSeen = base.Columns["dataOraLastSeen"];
|
|
this.columnlastIPv4 = base.Columns["lastIPv4"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnIdxDevice = new global::System.Data.DataColumn("IdxDevice", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxDevice);
|
|
this.columnDeviceSecret = new global::System.Data.DataColumn("DeviceSecret", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDeviceSecret);
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnDeviceName = new global::System.Data.DataColumn("DeviceName", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDeviceName);
|
|
this.columnDescription = new global::System.Data.DataColumn("Description", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDescription);
|
|
this.columndataOraEnabled = new global::System.Data.DataColumn("dataOraEnabled", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataOraEnabled);
|
|
this.columndataOraLastSeen = new global::System.Data.DataColumn("dataOraLastSeen", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataOraLastSeen);
|
|
this.columnlastIPv4 = new global::System.Data.DataColumn("lastIPv4", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnlastIPv4);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnIdxDevice}, true));
|
|
this.columnIdxDevice.AutoIncrement = true;
|
|
this.columnIdxDevice.AutoIncrementSeed = -1;
|
|
this.columnIdxDevice.AutoIncrementStep = -1;
|
|
this.columnIdxDevice.AllowDBNull = false;
|
|
this.columnIdxDevice.ReadOnly = true;
|
|
this.columnIdxDevice.Unique = true;
|
|
this.columnDeviceSecret.AllowDBNull = false;
|
|
this.columnDeviceSecret.MaxLength = 500;
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnDeviceName.AllowDBNull = false;
|
|
this.columnDeviceName.MaxLength = 50;
|
|
this.columnDescription.MaxLength = 500;
|
|
this.columndataOraEnabled.AllowDBNull = false;
|
|
this.columndataOraLastSeen.AllowDBNull = false;
|
|
this.columnlastIPv4.MaxLength = 15;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagDevicesRow NewAnagDevicesRow() {
|
|
return ((AnagDevicesRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new AnagDevicesRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(AnagDevicesRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.AnagDevicesRowChanged != null)) {
|
|
this.AnagDevicesRowChanged(this, new AnagDevicesRowChangeEvent(((AnagDevicesRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.AnagDevicesRowChanging != null)) {
|
|
this.AnagDevicesRowChanging(this, new AnagDevicesRowChangeEvent(((AnagDevicesRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.AnagDevicesRowDeleted != null)) {
|
|
this.AnagDevicesRowDeleted(this, new AnagDevicesRowChangeEvent(((AnagDevicesRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.AnagDevicesRowDeleting != null)) {
|
|
this.AnagDevicesRowDeleting(this, new AnagDevicesRowChangeEvent(((AnagDevicesRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveAnagDevicesRow(AnagDevicesRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "AnagDevicesDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class DipendentiDataTable : global::System.Data.TypedTableBase<DipendentiRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnmatricola;
|
|
|
|
private global::System.Data.DataColumn columnCF;
|
|
|
|
private global::System.Data.DataColumn columnCognome;
|
|
|
|
private global::System.Data.DataColumn columnNome;
|
|
|
|
private global::System.Data.DataColumn columndataNascita;
|
|
|
|
private global::System.Data.DataColumn columnluogoNascita;
|
|
|
|
private global::System.Data.DataColumn columnprovNascita;
|
|
|
|
private global::System.Data.DataColumn columnnazNascita;
|
|
|
|
private global::System.Data.DataColumn columncodHw;
|
|
|
|
private global::System.Data.DataColumn columncodOrario;
|
|
|
|
private global::System.Data.DataColumn columnmailLastOp;
|
|
|
|
private global::System.Data.DataColumn columnmailDay;
|
|
|
|
private global::System.Data.DataColumn columnmailWeek;
|
|
|
|
private global::System.Data.DataColumn columnmailMonth;
|
|
|
|
private global::System.Data.DataColumn columnemail;
|
|
|
|
private global::System.Data.DataColumn columnauthKey;
|
|
|
|
private global::System.Data.DataColumn columnnumAuth;
|
|
|
|
private global::System.Data.DataColumn columnWOL_MAC;
|
|
|
|
private global::System.Data.DataColumn columndominio;
|
|
|
|
private global::System.Data.DataColumn columnutente;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiDataTable() {
|
|
this.TableName = "Dipendenti";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal DipendentiDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected DipendentiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn matricolaColumn {
|
|
get {
|
|
return this.columnmatricola;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CFColumn {
|
|
get {
|
|
return this.columnCF;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CognomeColumn {
|
|
get {
|
|
return this.columnCognome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NomeColumn {
|
|
get {
|
|
return this.columnNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataNascitaColumn {
|
|
get {
|
|
return this.columndataNascita;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn luogoNascitaColumn {
|
|
get {
|
|
return this.columnluogoNascita;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn provNascitaColumn {
|
|
get {
|
|
return this.columnprovNascita;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn nazNascitaColumn {
|
|
get {
|
|
return this.columnnazNascita;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn codHwColumn {
|
|
get {
|
|
return this.columncodHw;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn codOrarioColumn {
|
|
get {
|
|
return this.columncodOrario;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn mailLastOpColumn {
|
|
get {
|
|
return this.columnmailLastOp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn mailDayColumn {
|
|
get {
|
|
return this.columnmailDay;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn mailWeekColumn {
|
|
get {
|
|
return this.columnmailWeek;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn mailMonthColumn {
|
|
get {
|
|
return this.columnmailMonth;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn emailColumn {
|
|
get {
|
|
return this.columnemail;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn authKeyColumn {
|
|
get {
|
|
return this.columnauthKey;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn numAuthColumn {
|
|
get {
|
|
return this.columnnumAuth;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn WOL_MACColumn {
|
|
get {
|
|
return this.columnWOL_MAC;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dominioColumn {
|
|
get {
|
|
return this.columndominio;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn utenteColumn {
|
|
get {
|
|
return this.columnutente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiRow this[int index] {
|
|
get {
|
|
return ((DipendentiRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DipendentiRowChangeEventHandler DipendentiRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DipendentiRowChangeEventHandler DipendentiRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DipendentiRowChangeEventHandler DipendentiRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DipendentiRowChangeEventHandler DipendentiRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddDipendentiRow(DipendentiRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiRow AddDipendentiRow(
|
|
string matricola,
|
|
string CF,
|
|
string Cognome,
|
|
string Nome,
|
|
System.DateTime dataNascita,
|
|
string luogoNascita,
|
|
string provNascita,
|
|
string nazNascita,
|
|
string codHw,
|
|
AnagOrariRow parentAnagOrariRowByFK_Dipendenti_AnagOrari,
|
|
bool mailLastOp,
|
|
bool mailDay,
|
|
bool mailWeek,
|
|
bool mailMonth,
|
|
string email,
|
|
string authKey,
|
|
int numAuth,
|
|
string WOL_MAC,
|
|
string dominio,
|
|
string utente) {
|
|
DipendentiRow rowDipendentiRow = ((DipendentiRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
matricola,
|
|
CF,
|
|
Cognome,
|
|
Nome,
|
|
dataNascita,
|
|
luogoNascita,
|
|
provNascita,
|
|
nazNascita,
|
|
codHw,
|
|
null,
|
|
mailLastOp,
|
|
mailDay,
|
|
mailWeek,
|
|
mailMonth,
|
|
email,
|
|
authKey,
|
|
numAuth,
|
|
WOL_MAC,
|
|
dominio,
|
|
utente};
|
|
if ((parentAnagOrariRowByFK_Dipendenti_AnagOrari != null)) {
|
|
columnValuesArray[10] = parentAnagOrariRowByFK_Dipendenti_AnagOrari[0];
|
|
}
|
|
rowDipendentiRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowDipendentiRow);
|
|
return rowDipendentiRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiRow FindByidxDipendente(int idxDipendente) {
|
|
return ((DipendentiRow)(this.Rows.Find(new object[] {
|
|
idxDipendente})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
DipendentiDataTable cln = ((DipendentiDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new DipendentiDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnmatricola = base.Columns["matricola"];
|
|
this.columnCF = base.Columns["CF"];
|
|
this.columnCognome = base.Columns["Cognome"];
|
|
this.columnNome = base.Columns["Nome"];
|
|
this.columndataNascita = base.Columns["dataNascita"];
|
|
this.columnluogoNascita = base.Columns["luogoNascita"];
|
|
this.columnprovNascita = base.Columns["provNascita"];
|
|
this.columnnazNascita = base.Columns["nazNascita"];
|
|
this.columncodHw = base.Columns["codHw"];
|
|
this.columncodOrario = base.Columns["codOrario"];
|
|
this.columnmailLastOp = base.Columns["mailLastOp"];
|
|
this.columnmailDay = base.Columns["mailDay"];
|
|
this.columnmailWeek = base.Columns["mailWeek"];
|
|
this.columnmailMonth = base.Columns["mailMonth"];
|
|
this.columnemail = base.Columns["email"];
|
|
this.columnauthKey = base.Columns["authKey"];
|
|
this.columnnumAuth = base.Columns["numAuth"];
|
|
this.columnWOL_MAC = base.Columns["WOL_MAC"];
|
|
this.columndominio = base.Columns["dominio"];
|
|
this.columnutente = base.Columns["utente"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnmatricola = new global::System.Data.DataColumn("matricola", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnmatricola);
|
|
this.columnCF = new global::System.Data.DataColumn("CF", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCF);
|
|
this.columnCognome = new global::System.Data.DataColumn("Cognome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCognome);
|
|
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNome);
|
|
this.columndataNascita = new global::System.Data.DataColumn("dataNascita", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataNascita);
|
|
this.columnluogoNascita = new global::System.Data.DataColumn("luogoNascita", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnluogoNascita);
|
|
this.columnprovNascita = new global::System.Data.DataColumn("provNascita", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnprovNascita);
|
|
this.columnnazNascita = new global::System.Data.DataColumn("nazNascita", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnazNascita);
|
|
this.columncodHw = new global::System.Data.DataColumn("codHw", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncodHw);
|
|
this.columncodOrario = new global::System.Data.DataColumn("codOrario", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncodOrario);
|
|
this.columnmailLastOp = new global::System.Data.DataColumn("mailLastOp", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnmailLastOp);
|
|
this.columnmailDay = new global::System.Data.DataColumn("mailDay", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnmailDay);
|
|
this.columnmailWeek = new global::System.Data.DataColumn("mailWeek", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnmailWeek);
|
|
this.columnmailMonth = new global::System.Data.DataColumn("mailMonth", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnmailMonth);
|
|
this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnemail);
|
|
this.columnauthKey = new global::System.Data.DataColumn("authKey", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnauthKey);
|
|
this.columnnumAuth = new global::System.Data.DataColumn("numAuth", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnumAuth);
|
|
this.columnWOL_MAC = new global::System.Data.DataColumn("WOL_MAC", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnWOL_MAC);
|
|
this.columndominio = new global::System.Data.DataColumn("dominio", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndominio);
|
|
this.columnutente = new global::System.Data.DataColumn("utente", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnutente);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxDipendente}, true));
|
|
this.columnidxDipendente.AutoIncrement = true;
|
|
this.columnidxDipendente.AutoIncrementSeed = -1;
|
|
this.columnidxDipendente.AutoIncrementStep = -1;
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnidxDipendente.ReadOnly = true;
|
|
this.columnidxDipendente.Unique = true;
|
|
this.columnmatricola.MaxLength = 50;
|
|
this.columnCF.MaxLength = 16;
|
|
this.columnCognome.MaxLength = 50;
|
|
this.columnNome.MaxLength = 50;
|
|
this.columnluogoNascita.MaxLength = 50;
|
|
this.columnprovNascita.MaxLength = 50;
|
|
this.columnnazNascita.MaxLength = 50;
|
|
this.columncodHw.MaxLength = 50;
|
|
this.columncodOrario.MaxLength = 50;
|
|
this.columnemail.MaxLength = 250;
|
|
this.columnauthKey.MaxLength = 50;
|
|
this.columnWOL_MAC.MaxLength = 50;
|
|
this.columndominio.Caption = "DOMINIO";
|
|
this.columndominio.MaxLength = 50;
|
|
this.columnutente.Caption = "USER_NAME";
|
|
this.columnutente.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiRow NewDipendentiRow() {
|
|
return ((DipendentiRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new DipendentiRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(DipendentiRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.DipendentiRowChanged != null)) {
|
|
this.DipendentiRowChanged(this, new DipendentiRowChangeEvent(((DipendentiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.DipendentiRowChanging != null)) {
|
|
this.DipendentiRowChanging(this, new DipendentiRowChangeEvent(((DipendentiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.DipendentiRowDeleted != null)) {
|
|
this.DipendentiRowDeleted(this, new DipendentiRowChangeEvent(((DipendentiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.DipendentiRowDeleting != null)) {
|
|
this.DipendentiRowDeleting(this, new DipendentiRowChangeEvent(((DipendentiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveDipendentiRow(DipendentiRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "DipendentiDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class AnagClientiDataTable : global::System.Data.TypedTableBase<AnagClientiRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxCliente;
|
|
|
|
private global::System.Data.DataColumn columnRagSociale;
|
|
|
|
private global::System.Data.DataColumn columnindirizzo;
|
|
|
|
private global::System.Data.DataColumn columnCAP;
|
|
|
|
private global::System.Data.DataColumn columncitta;
|
|
|
|
private global::System.Data.DataColumn columnprov;
|
|
|
|
private global::System.Data.DataColumn columntel;
|
|
|
|
private global::System.Data.DataColumn columnurl;
|
|
|
|
private global::System.Data.DataColumn columnemail;
|
|
|
|
private global::System.Data.DataColumn columnpIva;
|
|
|
|
private global::System.Data.DataColumn columnCF;
|
|
|
|
private global::System.Data.DataColumn columnlogoUrl;
|
|
|
|
private global::System.Data.DataColumn columnnota;
|
|
|
|
private global::System.Data.DataColumn columnOldIdx;
|
|
|
|
private global::System.Data.DataColumn columnAttivo;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagClientiDataTable() {
|
|
this.TableName = "AnagClienti";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagClientiDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected AnagClientiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxClienteColumn {
|
|
get {
|
|
return this.columnidxCliente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn RagSocialeColumn {
|
|
get {
|
|
return this.columnRagSociale;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn indirizzoColumn {
|
|
get {
|
|
return this.columnindirizzo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CAPColumn {
|
|
get {
|
|
return this.columnCAP;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn cittaColumn {
|
|
get {
|
|
return this.columncitta;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn provColumn {
|
|
get {
|
|
return this.columnprov;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn telColumn {
|
|
get {
|
|
return this.columntel;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn urlColumn {
|
|
get {
|
|
return this.columnurl;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn emailColumn {
|
|
get {
|
|
return this.columnemail;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pIvaColumn {
|
|
get {
|
|
return this.columnpIva;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CFColumn {
|
|
get {
|
|
return this.columnCF;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn logoUrlColumn {
|
|
get {
|
|
return this.columnlogoUrl;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn notaColumn {
|
|
get {
|
|
return this.columnnota;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn OldIdxColumn {
|
|
get {
|
|
return this.columnOldIdx;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn AttivoColumn {
|
|
get {
|
|
return this.columnAttivo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagClientiRow this[int index] {
|
|
get {
|
|
return ((AnagClientiRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagClientiRowChangeEventHandler AnagClientiRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagClientiRowChangeEventHandler AnagClientiRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagClientiRowChangeEventHandler AnagClientiRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagClientiRowChangeEventHandler AnagClientiRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddAnagClientiRow(AnagClientiRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagClientiRow AddAnagClientiRow(string RagSociale, string indirizzo, string CAP, string citta, string prov, string tel, string url, string email, string pIva, string CF, string logoUrl, string nota, int OldIdx, byte Attivo) {
|
|
AnagClientiRow rowAnagClientiRow = ((AnagClientiRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
RagSociale,
|
|
indirizzo,
|
|
CAP,
|
|
citta,
|
|
prov,
|
|
tel,
|
|
url,
|
|
email,
|
|
pIva,
|
|
CF,
|
|
logoUrl,
|
|
nota,
|
|
OldIdx,
|
|
Attivo};
|
|
rowAnagClientiRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAnagClientiRow);
|
|
return rowAnagClientiRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagClientiRow FindByidxCliente(int idxCliente) {
|
|
return ((AnagClientiRow)(this.Rows.Find(new object[] {
|
|
idxCliente})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AnagClientiDataTable cln = ((AnagClientiDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new AnagClientiDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxCliente = base.Columns["idxCliente"];
|
|
this.columnRagSociale = base.Columns["RagSociale"];
|
|
this.columnindirizzo = base.Columns["indirizzo"];
|
|
this.columnCAP = base.Columns["CAP"];
|
|
this.columncitta = base.Columns["citta"];
|
|
this.columnprov = base.Columns["prov"];
|
|
this.columntel = base.Columns["tel"];
|
|
this.columnurl = base.Columns["url"];
|
|
this.columnemail = base.Columns["email"];
|
|
this.columnpIva = base.Columns["pIva"];
|
|
this.columnCF = base.Columns["CF"];
|
|
this.columnlogoUrl = base.Columns["logoUrl"];
|
|
this.columnnota = base.Columns["nota"];
|
|
this.columnOldIdx = base.Columns["OldIdx"];
|
|
this.columnAttivo = base.Columns["Attivo"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxCliente = new global::System.Data.DataColumn("idxCliente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxCliente);
|
|
this.columnRagSociale = new global::System.Data.DataColumn("RagSociale", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRagSociale);
|
|
this.columnindirizzo = new global::System.Data.DataColumn("indirizzo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnindirizzo);
|
|
this.columnCAP = new global::System.Data.DataColumn("CAP", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCAP);
|
|
this.columncitta = new global::System.Data.DataColumn("citta", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncitta);
|
|
this.columnprov = new global::System.Data.DataColumn("prov", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnprov);
|
|
this.columntel = new global::System.Data.DataColumn("tel", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntel);
|
|
this.columnurl = new global::System.Data.DataColumn("url", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnurl);
|
|
this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnemail);
|
|
this.columnpIva = new global::System.Data.DataColumn("pIva", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpIva);
|
|
this.columnCF = new global::System.Data.DataColumn("CF", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCF);
|
|
this.columnlogoUrl = new global::System.Data.DataColumn("logoUrl", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnlogoUrl);
|
|
this.columnnota = new global::System.Data.DataColumn("nota", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnota);
|
|
this.columnOldIdx = new global::System.Data.DataColumn("OldIdx", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOldIdx);
|
|
this.columnAttivo = new global::System.Data.DataColumn("Attivo", typeof(byte), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnAttivo);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxCliente}, true));
|
|
this.columnidxCliente.AutoIncrement = true;
|
|
this.columnidxCliente.AutoIncrementSeed = -1;
|
|
this.columnidxCliente.AutoIncrementStep = -1;
|
|
this.columnidxCliente.AllowDBNull = false;
|
|
this.columnidxCliente.ReadOnly = true;
|
|
this.columnidxCliente.Unique = true;
|
|
this.columnRagSociale.MaxLength = 250;
|
|
this.columnindirizzo.MaxLength = 50;
|
|
this.columnCAP.MaxLength = 5;
|
|
this.columncitta.MaxLength = 50;
|
|
this.columnprov.MaxLength = 50;
|
|
this.columntel.MaxLength = 50;
|
|
this.columnurl.MaxLength = 50;
|
|
this.columnemail.MaxLength = 50;
|
|
this.columnpIva.MaxLength = 20;
|
|
this.columnCF.MaxLength = 20;
|
|
this.columnlogoUrl.MaxLength = 50;
|
|
this.columnnota.MaxLength = 500;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagClientiRow NewAnagClientiRow() {
|
|
return ((AnagClientiRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new AnagClientiRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(AnagClientiRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.AnagClientiRowChanged != null)) {
|
|
this.AnagClientiRowChanged(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.AnagClientiRowChanging != null)) {
|
|
this.AnagClientiRowChanging(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.AnagClientiRowDeleted != null)) {
|
|
this.AnagClientiRowDeleted(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.AnagClientiRowDeleting != null)) {
|
|
this.AnagClientiRowDeleting(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveAnagClientiRow(AnagClientiRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "AnagClientiDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class AnagProgettiDataTable : global::System.Data.TypedTableBase<AnagProgettiRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxProgetto;
|
|
|
|
private global::System.Data.DataColumn columnidxCliente;
|
|
|
|
private global::System.Data.DataColumn columnnomeProj;
|
|
|
|
private global::System.Data.DataColumn columndescrProj;
|
|
|
|
private global::System.Data.DataColumn columnbudgetTime;
|
|
|
|
private global::System.Data.DataColumn columnbudgetMoney;
|
|
|
|
private global::System.Data.DataColumn columnOldIdx;
|
|
|
|
private global::System.Data.DataColumn columnRagSociale;
|
|
|
|
private global::System.Data.DataColumn columnAttivo;
|
|
|
|
private global::System.Data.DataColumn columncodExt;
|
|
|
|
private global::System.Data.DataColumn columntotOre;
|
|
|
|
private global::System.Data.DataColumn columnavvio;
|
|
|
|
private global::System.Data.DataColumn columnchiusura;
|
|
|
|
private global::System.Data.DataColumn columntotOrePrevMont;
|
|
|
|
private global::System.Data.DataColumn columntotOreLast30;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiDataTable() {
|
|
this.TableName = "AnagProgetti";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagProgettiDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected AnagProgettiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxProgettoColumn {
|
|
get {
|
|
return this.columnidxProgetto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxClienteColumn {
|
|
get {
|
|
return this.columnidxCliente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn nomeProjColumn {
|
|
get {
|
|
return this.columnnomeProj;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descrProjColumn {
|
|
get {
|
|
return this.columndescrProj;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn budgetTimeColumn {
|
|
get {
|
|
return this.columnbudgetTime;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn budgetMoneyColumn {
|
|
get {
|
|
return this.columnbudgetMoney;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn OldIdxColumn {
|
|
get {
|
|
return this.columnOldIdx;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn RagSocialeColumn {
|
|
get {
|
|
return this.columnRagSociale;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn AttivoColumn {
|
|
get {
|
|
return this.columnAttivo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn codExtColumn {
|
|
get {
|
|
return this.columncodExt;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreColumn {
|
|
get {
|
|
return this.columntotOre;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn avvioColumn {
|
|
get {
|
|
return this.columnavvio;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn chiusuraColumn {
|
|
get {
|
|
return this.columnchiusura;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOrePrevMontColumn {
|
|
get {
|
|
return this.columntotOrePrevMont;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreLast30Column {
|
|
get {
|
|
return this.columntotOreLast30;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiRow this[int index] {
|
|
get {
|
|
return ((AnagProgettiRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagProgettiRowChangeEventHandler AnagProgettiRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagProgettiRowChangeEventHandler AnagProgettiRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagProgettiRowChangeEventHandler AnagProgettiRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagProgettiRowChangeEventHandler AnagProgettiRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddAnagProgettiRow(AnagProgettiRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiRow AddAnagProgettiRow(AnagClientiRow parentAnagClientiRowByFK_AnagProgetti_AnagClienti, string nomeProj, string descrProj, decimal budgetTime, decimal budgetMoney, int OldIdx, string RagSociale, bool Attivo, string codExt, decimal totOre, System.DateTime avvio, System.DateTime chiusura, decimal totOrePrevMont, decimal totOreLast30) {
|
|
AnagProgettiRow rowAnagProgettiRow = ((AnagProgettiRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
null,
|
|
nomeProj,
|
|
descrProj,
|
|
budgetTime,
|
|
budgetMoney,
|
|
OldIdx,
|
|
RagSociale,
|
|
Attivo,
|
|
codExt,
|
|
totOre,
|
|
avvio,
|
|
chiusura,
|
|
totOrePrevMont,
|
|
totOreLast30};
|
|
if ((parentAnagClientiRowByFK_AnagProgetti_AnagClienti != null)) {
|
|
columnValuesArray[1] = parentAnagClientiRowByFK_AnagProgetti_AnagClienti[0];
|
|
}
|
|
rowAnagProgettiRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAnagProgettiRow);
|
|
return rowAnagProgettiRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiRow FindByidxProgetto(int idxProgetto) {
|
|
return ((AnagProgettiRow)(this.Rows.Find(new object[] {
|
|
idxProgetto})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AnagProgettiDataTable cln = ((AnagProgettiDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new AnagProgettiDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxProgetto = base.Columns["idxProgetto"];
|
|
this.columnidxCliente = base.Columns["idxCliente"];
|
|
this.columnnomeProj = base.Columns["nomeProj"];
|
|
this.columndescrProj = base.Columns["descrProj"];
|
|
this.columnbudgetTime = base.Columns["budgetTime"];
|
|
this.columnbudgetMoney = base.Columns["budgetMoney"];
|
|
this.columnOldIdx = base.Columns["OldIdx"];
|
|
this.columnRagSociale = base.Columns["RagSociale"];
|
|
this.columnAttivo = base.Columns["Attivo"];
|
|
this.columncodExt = base.Columns["codExt"];
|
|
this.columntotOre = base.Columns["totOre"];
|
|
this.columnavvio = base.Columns["avvio"];
|
|
this.columnchiusura = base.Columns["chiusura"];
|
|
this.columntotOrePrevMont = base.Columns["totOrePrevMont"];
|
|
this.columntotOreLast30 = base.Columns["totOreLast30"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxProgetto = new global::System.Data.DataColumn("idxProgetto", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxProgetto);
|
|
this.columnidxCliente = new global::System.Data.DataColumn("idxCliente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxCliente);
|
|
this.columnnomeProj = new global::System.Data.DataColumn("nomeProj", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnomeProj);
|
|
this.columndescrProj = new global::System.Data.DataColumn("descrProj", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescrProj);
|
|
this.columnbudgetTime = new global::System.Data.DataColumn("budgetTime", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnbudgetTime);
|
|
this.columnbudgetMoney = new global::System.Data.DataColumn("budgetMoney", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnbudgetMoney);
|
|
this.columnOldIdx = new global::System.Data.DataColumn("OldIdx", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOldIdx);
|
|
this.columnRagSociale = new global::System.Data.DataColumn("RagSociale", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRagSociale);
|
|
this.columnAttivo = new global::System.Data.DataColumn("Attivo", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnAttivo);
|
|
this.columncodExt = new global::System.Data.DataColumn("codExt", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncodExt);
|
|
this.columntotOre = new global::System.Data.DataColumn("totOre", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOre);
|
|
this.columnavvio = new global::System.Data.DataColumn("avvio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnavvio);
|
|
this.columnchiusura = new global::System.Data.DataColumn("chiusura", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnchiusura);
|
|
this.columntotOrePrevMont = new global::System.Data.DataColumn("totOrePrevMont", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOrePrevMont);
|
|
this.columntotOreLast30 = new global::System.Data.DataColumn("totOreLast30", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOreLast30);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxProgetto}, true));
|
|
this.columnidxProgetto.AutoIncrement = true;
|
|
this.columnidxProgetto.AllowDBNull = false;
|
|
this.columnidxProgetto.ReadOnly = true;
|
|
this.columnidxProgetto.Unique = true;
|
|
this.columnidxCliente.AllowDBNull = false;
|
|
this.columnnomeProj.AllowDBNull = false;
|
|
this.columnnomeProj.MaxLength = 50;
|
|
this.columndescrProj.AllowDBNull = false;
|
|
this.columndescrProj.MaxLength = 250;
|
|
this.columnbudgetTime.ReadOnly = true;
|
|
this.columnbudgetMoney.ReadOnly = true;
|
|
this.columnOldIdx.ReadOnly = true;
|
|
this.columnRagSociale.MaxLength = 250;
|
|
this.columnAttivo.AllowDBNull = false;
|
|
this.columncodExt.ReadOnly = true;
|
|
this.columncodExt.MaxLength = 50;
|
|
this.columntotOre.ReadOnly = true;
|
|
this.columnavvio.ReadOnly = true;
|
|
this.columnchiusura.ReadOnly = true;
|
|
this.columntotOrePrevMont.ReadOnly = true;
|
|
this.columntotOreLast30.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiRow NewAnagProgettiRow() {
|
|
return ((AnagProgettiRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new AnagProgettiRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(AnagProgettiRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.AnagProgettiRowChanged != null)) {
|
|
this.AnagProgettiRowChanged(this, new AnagProgettiRowChangeEvent(((AnagProgettiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.AnagProgettiRowChanging != null)) {
|
|
this.AnagProgettiRowChanging(this, new AnagProgettiRowChangeEvent(((AnagProgettiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.AnagProgettiRowDeleted != null)) {
|
|
this.AnagProgettiRowDeleted(this, new AnagProgettiRowChangeEvent(((AnagProgettiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.AnagProgettiRowDeleting != null)) {
|
|
this.AnagProgettiRowDeleting(this, new AnagProgettiRowChangeEvent(((AnagProgettiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveAnagProgettiRow(AnagProgettiRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "AnagProgettiDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class Dipendenti2RuoliDataTable : global::System.Data.TypedTableBase<Dipendenti2RuoliRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnCodRuolo;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Dipendenti2RuoliDataTable() {
|
|
this.TableName = "Dipendenti2Ruoli";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal Dipendenti2RuoliDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected Dipendenti2RuoliDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CodRuoloColumn {
|
|
get {
|
|
return this.columnCodRuolo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Dipendenti2RuoliRow this[int index] {
|
|
get {
|
|
return ((Dipendenti2RuoliRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event Dipendenti2RuoliRowChangeEventHandler Dipendenti2RuoliRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event Dipendenti2RuoliRowChangeEventHandler Dipendenti2RuoliRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event Dipendenti2RuoliRowChangeEventHandler Dipendenti2RuoliRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event Dipendenti2RuoliRowChangeEventHandler Dipendenti2RuoliRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddDipendenti2RuoliRow(Dipendenti2RuoliRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Dipendenti2RuoliRow AddDipendenti2RuoliRow(int idxDipendente, string CodRuolo) {
|
|
Dipendenti2RuoliRow rowDipendenti2RuoliRow = ((Dipendenti2RuoliRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
idxDipendente,
|
|
CodRuolo};
|
|
rowDipendenti2RuoliRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowDipendenti2RuoliRow);
|
|
return rowDipendenti2RuoliRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Dipendenti2RuoliRow FindByidxDipendenteCodRuolo(int idxDipendente, string CodRuolo) {
|
|
return ((Dipendenti2RuoliRow)(this.Rows.Find(new object[] {
|
|
idxDipendente,
|
|
CodRuolo})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
Dipendenti2RuoliDataTable cln = ((Dipendenti2RuoliDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new Dipendenti2RuoliDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnCodRuolo = base.Columns["CodRuolo"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnCodRuolo = new global::System.Data.DataColumn("CodRuolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodRuolo);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxDipendente,
|
|
this.columnCodRuolo}, true));
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnCodRuolo.AllowDBNull = false;
|
|
this.columnCodRuolo.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Dipendenti2RuoliRow NewDipendenti2RuoliRow() {
|
|
return ((Dipendenti2RuoliRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new Dipendenti2RuoliRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(Dipendenti2RuoliRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.Dipendenti2RuoliRowChanged != null)) {
|
|
this.Dipendenti2RuoliRowChanged(this, new Dipendenti2RuoliRowChangeEvent(((Dipendenti2RuoliRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.Dipendenti2RuoliRowChanging != null)) {
|
|
this.Dipendenti2RuoliRowChanging(this, new Dipendenti2RuoliRowChangeEvent(((Dipendenti2RuoliRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.Dipendenti2RuoliRowDeleted != null)) {
|
|
this.Dipendenti2RuoliRowDeleted(this, new Dipendenti2RuoliRowChangeEvent(((Dipendenti2RuoliRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.Dipendenti2RuoliRowDeleting != null)) {
|
|
this.Dipendenti2RuoliRowDeleting(this, new Dipendenti2RuoliRowChangeEvent(((Dipendenti2RuoliRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveDipendenti2RuoliRow(Dipendenti2RuoliRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "Dipendenti2RuoliDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class AnagFasiDataTable : global::System.Data.TypedTableBase<AnagFasiRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxFase;
|
|
|
|
private global::System.Data.DataColumn columnidxProgetto;
|
|
|
|
private global::System.Data.DataColumn columncodFase;
|
|
|
|
private global::System.Data.DataColumn columnidxFaseAncest;
|
|
|
|
private global::System.Data.DataColumn columnnomeFase;
|
|
|
|
private global::System.Data.DataColumn columndescrizioneFase;
|
|
|
|
private global::System.Data.DataColumn columnenableTime;
|
|
|
|
private global::System.Data.DataColumn columnenableMoney;
|
|
|
|
private global::System.Data.DataColumn columnAttivo;
|
|
|
|
private global::System.Data.DataColumn columncodClasse;
|
|
|
|
private global::System.Data.DataColumn columncodExt;
|
|
|
|
private global::System.Data.DataColumn columntotOre;
|
|
|
|
private global::System.Data.DataColumn columnbudgetTime;
|
|
|
|
private global::System.Data.DataColumn columnbudgetMoney;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiDataTable() {
|
|
this.TableName = "AnagFasi";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagFasiDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected AnagFasiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxFaseColumn {
|
|
get {
|
|
return this.columnidxFase;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxProgettoColumn {
|
|
get {
|
|
return this.columnidxProgetto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn codFaseColumn {
|
|
get {
|
|
return this.columncodFase;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxFaseAncestColumn {
|
|
get {
|
|
return this.columnidxFaseAncest;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn nomeFaseColumn {
|
|
get {
|
|
return this.columnnomeFase;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descrizioneFaseColumn {
|
|
get {
|
|
return this.columndescrizioneFase;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn enableTimeColumn {
|
|
get {
|
|
return this.columnenableTime;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn enableMoneyColumn {
|
|
get {
|
|
return this.columnenableMoney;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn AttivoColumn {
|
|
get {
|
|
return this.columnAttivo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn codClasseColumn {
|
|
get {
|
|
return this.columncodClasse;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn codExtColumn {
|
|
get {
|
|
return this.columncodExt;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreColumn {
|
|
get {
|
|
return this.columntotOre;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn budgetTimeColumn {
|
|
get {
|
|
return this.columnbudgetTime;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn budgetMoneyColumn {
|
|
get {
|
|
return this.columnbudgetMoney;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiRow this[int index] {
|
|
get {
|
|
return ((AnagFasiRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagFasiRowChangeEventHandler AnagFasiRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagFasiRowChangeEventHandler AnagFasiRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagFasiRowChangeEventHandler AnagFasiRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagFasiRowChangeEventHandler AnagFasiRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddAnagFasiRow(AnagFasiRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiRow AddAnagFasiRow(AnagProgettiRow parentAnagProgettiRowByFK_AnagFasi_AnagProgetti, string codFase, int idxFaseAncest, string nomeFase, string descrizioneFase, bool enableTime, bool enableMoney, bool Attivo, string codClasse, string codExt, decimal totOre, decimal budgetTime, decimal budgetMoney) {
|
|
AnagFasiRow rowAnagFasiRow = ((AnagFasiRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
null,
|
|
codFase,
|
|
idxFaseAncest,
|
|
nomeFase,
|
|
descrizioneFase,
|
|
enableTime,
|
|
enableMoney,
|
|
Attivo,
|
|
codClasse,
|
|
codExt,
|
|
totOre,
|
|
budgetTime,
|
|
budgetMoney};
|
|
if ((parentAnagProgettiRowByFK_AnagFasi_AnagProgetti != null)) {
|
|
columnValuesArray[1] = parentAnagProgettiRowByFK_AnagFasi_AnagProgetti[0];
|
|
}
|
|
rowAnagFasiRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAnagFasiRow);
|
|
return rowAnagFasiRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiRow FindByidxFase(int idxFase) {
|
|
return ((AnagFasiRow)(this.Rows.Find(new object[] {
|
|
idxFase})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AnagFasiDataTable cln = ((AnagFasiDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new AnagFasiDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxFase = base.Columns["idxFase"];
|
|
this.columnidxProgetto = base.Columns["idxProgetto"];
|
|
this.columncodFase = base.Columns["codFase"];
|
|
this.columnidxFaseAncest = base.Columns["idxFaseAncest"];
|
|
this.columnnomeFase = base.Columns["nomeFase"];
|
|
this.columndescrizioneFase = base.Columns["descrizioneFase"];
|
|
this.columnenableTime = base.Columns["enableTime"];
|
|
this.columnenableMoney = base.Columns["enableMoney"];
|
|
this.columnAttivo = base.Columns["Attivo"];
|
|
this.columncodClasse = base.Columns["codClasse"];
|
|
this.columncodExt = base.Columns["codExt"];
|
|
this.columntotOre = base.Columns["totOre"];
|
|
this.columnbudgetTime = base.Columns["budgetTime"];
|
|
this.columnbudgetMoney = base.Columns["budgetMoney"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxFase = new global::System.Data.DataColumn("idxFase", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxFase);
|
|
this.columnidxProgetto = new global::System.Data.DataColumn("idxProgetto", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxProgetto);
|
|
this.columncodFase = new global::System.Data.DataColumn("codFase", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncodFase);
|
|
this.columnidxFaseAncest = new global::System.Data.DataColumn("idxFaseAncest", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxFaseAncest);
|
|
this.columnnomeFase = new global::System.Data.DataColumn("nomeFase", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnomeFase);
|
|
this.columndescrizioneFase = new global::System.Data.DataColumn("descrizioneFase", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescrizioneFase);
|
|
this.columnenableTime = new global::System.Data.DataColumn("enableTime", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnenableTime);
|
|
this.columnenableMoney = new global::System.Data.DataColumn("enableMoney", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnenableMoney);
|
|
this.columnAttivo = new global::System.Data.DataColumn("Attivo", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnAttivo);
|
|
this.columncodClasse = new global::System.Data.DataColumn("codClasse", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncodClasse);
|
|
this.columncodExt = new global::System.Data.DataColumn("codExt", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncodExt);
|
|
this.columntotOre = new global::System.Data.DataColumn("totOre", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOre);
|
|
this.columnbudgetTime = new global::System.Data.DataColumn("budgetTime", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnbudgetTime);
|
|
this.columnbudgetMoney = new global::System.Data.DataColumn("budgetMoney", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnbudgetMoney);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxFase}, true));
|
|
this.columnidxFase.AutoIncrement = true;
|
|
this.columnidxFase.AutoIncrementSeed = -1;
|
|
this.columnidxFase.AutoIncrementStep = -1;
|
|
this.columnidxFase.AllowDBNull = false;
|
|
this.columnidxFase.ReadOnly = true;
|
|
this.columnidxFase.Unique = true;
|
|
this.columncodFase.AllowDBNull = false;
|
|
this.columncodFase.MaxLength = 250;
|
|
this.columnidxFaseAncest.AllowDBNull = false;
|
|
this.columnnomeFase.MaxLength = 50;
|
|
this.columndescrizioneFase.MaxLength = 250;
|
|
this.columnAttivo.AllowDBNull = false;
|
|
this.columncodClasse.ReadOnly = true;
|
|
this.columncodClasse.MaxLength = 10;
|
|
this.columncodExt.ReadOnly = true;
|
|
this.columncodExt.MaxLength = 50;
|
|
this.columntotOre.ReadOnly = true;
|
|
this.columnbudgetTime.ReadOnly = true;
|
|
this.columnbudgetMoney.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiRow NewAnagFasiRow() {
|
|
return ((AnagFasiRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new AnagFasiRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(AnagFasiRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.AnagFasiRowChanged != null)) {
|
|
this.AnagFasiRowChanged(this, new AnagFasiRowChangeEvent(((AnagFasiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.AnagFasiRowChanging != null)) {
|
|
this.AnagFasiRowChanging(this, new AnagFasiRowChangeEvent(((AnagFasiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.AnagFasiRowDeleted != null)) {
|
|
this.AnagFasiRowDeleted(this, new AnagFasiRowChangeEvent(((AnagFasiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.AnagFasiRowDeleting != null)) {
|
|
this.AnagFasiRowDeleting(this, new AnagFasiRowChangeEvent(((AnagFasiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveAnagFasiRow(AnagFasiRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "AnagFasiDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class v_logCommUtDataTable : global::System.Data.TypedTableBase<v_logCommUtRow> {
|
|
|
|
private global::System.Data.DataColumn columnData;
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnCognomeNome;
|
|
|
|
private global::System.Data.DataColumn columnh_lav;
|
|
|
|
private global::System.Data.DataColumn columnh_com;
|
|
|
|
private global::System.Data.DataColumn columnokTimbr;
|
|
|
|
private global::System.Data.DataColumn columnokLavCom;
|
|
|
|
private global::System.Data.DataColumn columnprogetto;
|
|
|
|
private global::System.Data.DataColumn columnminOrd;
|
|
|
|
private global::System.Data.DataColumn columnminStra;
|
|
|
|
private global::System.Data.DataColumn columnminPerm;
|
|
|
|
private global::System.Data.DataColumn columnminFer;
|
|
|
|
private global::System.Data.DataColumn columnminMal;
|
|
|
|
private global::System.Data.DataColumn columnminFest;
|
|
|
|
private global::System.Data.DataColumn columnminMpp;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logCommUtDataTable() {
|
|
this.TableName = "v_logCommUt";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal v_logCommUtDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected v_logCommUtDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataColumn {
|
|
get {
|
|
return this.columnData;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CognomeNomeColumn {
|
|
get {
|
|
return this.columnCognomeNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn h_lavColumn {
|
|
get {
|
|
return this.columnh_lav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn h_comColumn {
|
|
get {
|
|
return this.columnh_com;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn okTimbrColumn {
|
|
get {
|
|
return this.columnokTimbr;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn okLavComColumn {
|
|
get {
|
|
return this.columnokLavCom;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn progettoColumn {
|
|
get {
|
|
return this.columnprogetto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minOrdColumn {
|
|
get {
|
|
return this.columnminOrd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minStraColumn {
|
|
get {
|
|
return this.columnminStra;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minPermColumn {
|
|
get {
|
|
return this.columnminPerm;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minFerColumn {
|
|
get {
|
|
return this.columnminFer;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minMalColumn {
|
|
get {
|
|
return this.columnminMal;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minFestColumn {
|
|
get {
|
|
return this.columnminFest;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minMppColumn {
|
|
get {
|
|
return this.columnminMpp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logCommUtRow this[int index] {
|
|
get {
|
|
return ((v_logCommUtRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logCommUtRowChangeEventHandler v_logCommUtRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logCommUtRowChangeEventHandler v_logCommUtRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logCommUtRowChangeEventHandler v_logCommUtRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logCommUtRowChangeEventHandler v_logCommUtRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addv_logCommUtRow(v_logCommUtRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logCommUtRow Addv_logCommUtRow(System.DateTime Data, int idxDipendente, string CognomeNome, double h_lav, decimal h_com, bool okTimbr, bool okLavCom, string progetto, int minOrd, int minStra, int minPerm, int minFer, int minMal, int minFest, int minMpp) {
|
|
v_logCommUtRow rowv_logCommUtRow = ((v_logCommUtRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
Data,
|
|
idxDipendente,
|
|
CognomeNome,
|
|
h_lav,
|
|
h_com,
|
|
okTimbr,
|
|
okLavCom,
|
|
progetto,
|
|
minOrd,
|
|
minStra,
|
|
minPerm,
|
|
minFer,
|
|
minMal,
|
|
minFest,
|
|
minMpp};
|
|
rowv_logCommUtRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowv_logCommUtRow);
|
|
return rowv_logCommUtRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logCommUtRow FindByDataidxDipendente(System.DateTime Data, int idxDipendente) {
|
|
return ((v_logCommUtRow)(this.Rows.Find(new object[] {
|
|
Data,
|
|
idxDipendente})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
v_logCommUtDataTable cln = ((v_logCommUtDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new v_logCommUtDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnData = base.Columns["Data"];
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnCognomeNome = base.Columns["CognomeNome"];
|
|
this.columnh_lav = base.Columns["h_lav"];
|
|
this.columnh_com = base.Columns["h_com"];
|
|
this.columnokTimbr = base.Columns["okTimbr"];
|
|
this.columnokLavCom = base.Columns["okLavCom"];
|
|
this.columnprogetto = base.Columns["progetto"];
|
|
this.columnminOrd = base.Columns["minOrd"];
|
|
this.columnminStra = base.Columns["minStra"];
|
|
this.columnminPerm = base.Columns["minPerm"];
|
|
this.columnminFer = base.Columns["minFer"];
|
|
this.columnminMal = base.Columns["minMal"];
|
|
this.columnminFest = base.Columns["minFest"];
|
|
this.columnminMpp = base.Columns["minMpp"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnData);
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCognomeNome);
|
|
this.columnh_lav = new global::System.Data.DataColumn("h_lav", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnh_lav);
|
|
this.columnh_com = new global::System.Data.DataColumn("h_com", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnh_com);
|
|
this.columnokTimbr = new global::System.Data.DataColumn("okTimbr", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnokTimbr);
|
|
this.columnokLavCom = new global::System.Data.DataColumn("okLavCom", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnokLavCom);
|
|
this.columnprogetto = new global::System.Data.DataColumn("progetto", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnprogetto);
|
|
this.columnminOrd = new global::System.Data.DataColumn("minOrd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminOrd);
|
|
this.columnminStra = new global::System.Data.DataColumn("minStra", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminStra);
|
|
this.columnminPerm = new global::System.Data.DataColumn("minPerm", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminPerm);
|
|
this.columnminFer = new global::System.Data.DataColumn("minFer", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminFer);
|
|
this.columnminMal = new global::System.Data.DataColumn("minMal", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminMal);
|
|
this.columnminFest = new global::System.Data.DataColumn("minFest", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminFest);
|
|
this.columnminMpp = new global::System.Data.DataColumn("minMpp", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminMpp);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnData,
|
|
this.columnidxDipendente}, true));
|
|
this.columnData.AllowDBNull = false;
|
|
this.columnData.Caption = "dataLav";
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnCognomeNome.MaxLength = 100;
|
|
this.columnh_com.ReadOnly = true;
|
|
this.columnokLavCom.ReadOnly = true;
|
|
this.columnprogetto.ReadOnly = true;
|
|
this.columnprogetto.MaxLength = 3;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logCommUtRow Newv_logCommUtRow() {
|
|
return ((v_logCommUtRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new v_logCommUtRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(v_logCommUtRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.v_logCommUtRowChanged != null)) {
|
|
this.v_logCommUtRowChanged(this, new v_logCommUtRowChangeEvent(((v_logCommUtRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.v_logCommUtRowChanging != null)) {
|
|
this.v_logCommUtRowChanging(this, new v_logCommUtRowChangeEvent(((v_logCommUtRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.v_logCommUtRowDeleted != null)) {
|
|
this.v_logCommUtRowDeleted(this, new v_logCommUtRowChangeEvent(((v_logCommUtRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.v_logCommUtRowDeleting != null)) {
|
|
this.v_logCommUtRowDeleting(this, new v_logCommUtRowChangeEvent(((v_logCommUtRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removev_logCommUtRow(v_logCommUtRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "v_logCommUtDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class RegAttivitaDataTable : global::System.Data.TypedTableBase<RegAttivitaRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxRA;
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnidxFase;
|
|
|
|
private global::System.Data.DataColumn columninizio;
|
|
|
|
private global::System.Data.DataColumn columnfine;
|
|
|
|
private global::System.Data.DataColumn columndescrizione;
|
|
|
|
private global::System.Data.DataColumn columnoreTot;
|
|
|
|
private global::System.Data.DataColumn columnimporto;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaDataTable() {
|
|
this.TableName = "RegAttivita";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal RegAttivitaDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected RegAttivitaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxRAColumn {
|
|
get {
|
|
return this.columnidxRA;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxFaseColumn {
|
|
get {
|
|
return this.columnidxFase;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn inizioColumn {
|
|
get {
|
|
return this.columninizio;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn fineColumn {
|
|
get {
|
|
return this.columnfine;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descrizioneColumn {
|
|
get {
|
|
return this.columndescrizione;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreTotColumn {
|
|
get {
|
|
return this.columnoreTot;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn importoColumn {
|
|
get {
|
|
return this.columnimporto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaRow this[int index] {
|
|
get {
|
|
return ((RegAttivitaRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RegAttivitaRowChangeEventHandler RegAttivitaRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RegAttivitaRowChangeEventHandler RegAttivitaRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RegAttivitaRowChangeEventHandler RegAttivitaRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RegAttivitaRowChangeEventHandler RegAttivitaRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddRegAttivitaRow(RegAttivitaRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaRow AddRegAttivitaRow(DipendentiRow parentDipendentiRowByFK_RegAttivita_Dipendenti, AnagFasiRow parentAnagFasiRowByFK_RegAttivita_AnagFasi, System.DateTime inizio, System.DateTime fine, string descrizione, decimal oreTot, decimal importo) {
|
|
RegAttivitaRow rowRegAttivitaRow = ((RegAttivitaRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
null,
|
|
null,
|
|
inizio,
|
|
fine,
|
|
descrizione,
|
|
oreTot,
|
|
importo};
|
|
if ((parentDipendentiRowByFK_RegAttivita_Dipendenti != null)) {
|
|
columnValuesArray[1] = parentDipendentiRowByFK_RegAttivita_Dipendenti[0];
|
|
}
|
|
if ((parentAnagFasiRowByFK_RegAttivita_AnagFasi != null)) {
|
|
columnValuesArray[2] = parentAnagFasiRowByFK_RegAttivita_AnagFasi[0];
|
|
}
|
|
rowRegAttivitaRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowRegAttivitaRow);
|
|
return rowRegAttivitaRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaRow FindByidxRA(int idxRA) {
|
|
return ((RegAttivitaRow)(this.Rows.Find(new object[] {
|
|
idxRA})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
RegAttivitaDataTable cln = ((RegAttivitaDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new RegAttivitaDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxRA = base.Columns["idxRA"];
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnidxFase = base.Columns["idxFase"];
|
|
this.columninizio = base.Columns["inizio"];
|
|
this.columnfine = base.Columns["fine"];
|
|
this.columndescrizione = base.Columns["descrizione"];
|
|
this.columnoreTot = base.Columns["oreTot"];
|
|
this.columnimporto = base.Columns["importo"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxRA = new global::System.Data.DataColumn("idxRA", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxRA);
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnidxFase = new global::System.Data.DataColumn("idxFase", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxFase);
|
|
this.columninizio = new global::System.Data.DataColumn("inizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columninizio);
|
|
this.columnfine = new global::System.Data.DataColumn("fine", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnfine);
|
|
this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescrizione);
|
|
this.columnoreTot = new global::System.Data.DataColumn("oreTot", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreTot);
|
|
this.columnimporto = new global::System.Data.DataColumn("importo", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnimporto);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxRA}, true));
|
|
this.columnidxRA.AutoIncrement = true;
|
|
this.columnidxRA.AutoIncrementSeed = -1;
|
|
this.columnidxRA.AutoIncrementStep = -1;
|
|
this.columnidxRA.AllowDBNull = false;
|
|
this.columnidxRA.ReadOnly = true;
|
|
this.columnidxRA.Unique = true;
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnidxFase.AllowDBNull = false;
|
|
this.columninizio.AllowDBNull = false;
|
|
this.columnfine.AllowDBNull = false;
|
|
this.columndescrizione.MaxLength = 500;
|
|
this.columnoreTot.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaRow NewRegAttivitaRow() {
|
|
return ((RegAttivitaRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new RegAttivitaRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(RegAttivitaRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.RegAttivitaRowChanged != null)) {
|
|
this.RegAttivitaRowChanged(this, new RegAttivitaRowChangeEvent(((RegAttivitaRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.RegAttivitaRowChanging != null)) {
|
|
this.RegAttivitaRowChanging(this, new RegAttivitaRowChangeEvent(((RegAttivitaRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.RegAttivitaRowDeleted != null)) {
|
|
this.RegAttivitaRowDeleted(this, new RegAttivitaRowChangeEvent(((RegAttivitaRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.RegAttivitaRowDeleting != null)) {
|
|
this.RegAttivitaRowDeleting(this, new RegAttivitaRowChangeEvent(((RegAttivitaRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveRegAttivitaRow(RegAttivitaRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "RegAttivitaDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class CalendFesteFerieDataTable : global::System.Data.TypedTableBase<CalendFesteFerieRow> {
|
|
|
|
private global::System.Data.DataColumn columndata;
|
|
|
|
private global::System.Data.DataColumn columndescrizione;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieDataTable() {
|
|
this.TableName = "CalendFesteFerie";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal CalendFesteFerieDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected CalendFesteFerieDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataColumn {
|
|
get {
|
|
return this.columndata;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descrizioneColumn {
|
|
get {
|
|
return this.columndescrizione;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieRow this[int index] {
|
|
get {
|
|
return ((CalendFesteFerieRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddCalendFesteFerieRow(CalendFesteFerieRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieRow AddCalendFesteFerieRow(System.DateTime data, string descrizione) {
|
|
CalendFesteFerieRow rowCalendFesteFerieRow = ((CalendFesteFerieRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
data,
|
|
descrizione};
|
|
rowCalendFesteFerieRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowCalendFesteFerieRow);
|
|
return rowCalendFesteFerieRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieRow FindBydata(System.DateTime data) {
|
|
return ((CalendFesteFerieRow)(this.Rows.Find(new object[] {
|
|
data})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
CalendFesteFerieDataTable cln = ((CalendFesteFerieDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new CalendFesteFerieDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columndata = base.Columns["data"];
|
|
this.columndescrizione = base.Columns["descrizione"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columndata = new global::System.Data.DataColumn("data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndata);
|
|
this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescrizione);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columndata}, true));
|
|
this.columndata.AllowDBNull = false;
|
|
this.columndata.Unique = true;
|
|
this.columndescrizione.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieRow NewCalendFesteFerieRow() {
|
|
return ((CalendFesteFerieRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new CalendFesteFerieRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(CalendFesteFerieRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.CalendFesteFerieRowChanged != null)) {
|
|
this.CalendFesteFerieRowChanged(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.CalendFesteFerieRowChanging != null)) {
|
|
this.CalendFesteFerieRowChanging(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.CalendFesteFerieRowDeleted != null)) {
|
|
this.CalendFesteFerieRowDeleted(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.CalendFesteFerieRowDeleting != null)) {
|
|
this.CalendFesteFerieRowDeleting(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveCalendFesteFerieRow(CalendFesteFerieRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "CalendFesteFerieDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class AnagOrariDataTable : global::System.Data.TypedTableBase<AnagOrariRow> {
|
|
|
|
private global::System.Data.DataColumn columncodOrario;
|
|
|
|
private global::System.Data.DataColumn columndescOrario;
|
|
|
|
private global::System.Data.DataColumn columnoreOrdSett;
|
|
|
|
private global::System.Data.DataColumn columnoreStraordAss;
|
|
|
|
private global::System.Data.DataColumn columnautoCompOreOrd;
|
|
|
|
private global::System.Data.DataColumn columnoreLun;
|
|
|
|
private global::System.Data.DataColumn columnoreMar;
|
|
|
|
private global::System.Data.DataColumn columnoreMer;
|
|
|
|
private global::System.Data.DataColumn columnoreGio;
|
|
|
|
private global::System.Data.DataColumn columnoreVen;
|
|
|
|
private global::System.Data.DataColumn columnoreSab;
|
|
|
|
private global::System.Data.DataColumn columnoreDom;
|
|
|
|
private global::System.Data.DataColumn columnoraInizio_1;
|
|
|
|
private global::System.Data.DataColumn columnoraFine_1;
|
|
|
|
private global::System.Data.DataColumn columnoraInizio_2;
|
|
|
|
private global::System.Data.DataColumn columnoraFine_2;
|
|
|
|
private global::System.Data.DataColumn columnoraInizio_3;
|
|
|
|
private global::System.Data.DataColumn columnoraFine_3;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagOrariDataTable() {
|
|
this.TableName = "AnagOrari";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagOrariDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected AnagOrariDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn codOrarioColumn {
|
|
get {
|
|
return this.columncodOrario;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descOrarioColumn {
|
|
get {
|
|
return this.columndescOrario;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreOrdSettColumn {
|
|
get {
|
|
return this.columnoreOrdSett;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreStraordAssColumn {
|
|
get {
|
|
return this.columnoreStraordAss;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn autoCompOreOrdColumn {
|
|
get {
|
|
return this.columnautoCompOreOrd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreLunColumn {
|
|
get {
|
|
return this.columnoreLun;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreMarColumn {
|
|
get {
|
|
return this.columnoreMar;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreMerColumn {
|
|
get {
|
|
return this.columnoreMer;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreGioColumn {
|
|
get {
|
|
return this.columnoreGio;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreVenColumn {
|
|
get {
|
|
return this.columnoreVen;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreSabColumn {
|
|
get {
|
|
return this.columnoreSab;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreDomColumn {
|
|
get {
|
|
return this.columnoreDom;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oraInizio_1Column {
|
|
get {
|
|
return this.columnoraInizio_1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oraFine_1Column {
|
|
get {
|
|
return this.columnoraFine_1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oraInizio_2Column {
|
|
get {
|
|
return this.columnoraInizio_2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oraFine_2Column {
|
|
get {
|
|
return this.columnoraFine_2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oraInizio_3Column {
|
|
get {
|
|
return this.columnoraInizio_3;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oraFine_3Column {
|
|
get {
|
|
return this.columnoraFine_3;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagOrariRow this[int index] {
|
|
get {
|
|
return ((AnagOrariRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagOrariRowChangeEventHandler AnagOrariRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagOrariRowChangeEventHandler AnagOrariRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagOrariRowChangeEventHandler AnagOrariRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagOrariRowChangeEventHandler AnagOrariRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddAnagOrariRow(AnagOrariRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagOrariRow AddAnagOrariRow(
|
|
string codOrario,
|
|
string descOrario,
|
|
double oreOrdSett,
|
|
double oreStraordAss,
|
|
bool autoCompOreOrd,
|
|
double oreLun,
|
|
double oreMar,
|
|
double oreMer,
|
|
double oreGio,
|
|
double oreVen,
|
|
double oreSab,
|
|
double oreDom,
|
|
System.TimeSpan oraInizio_1,
|
|
System.TimeSpan oraFine_1,
|
|
System.TimeSpan oraInizio_2,
|
|
System.TimeSpan oraFine_2,
|
|
System.TimeSpan oraInizio_3,
|
|
System.TimeSpan oraFine_3) {
|
|
AnagOrariRow rowAnagOrariRow = ((AnagOrariRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
codOrario,
|
|
descOrario,
|
|
oreOrdSett,
|
|
oreStraordAss,
|
|
autoCompOreOrd,
|
|
oreLun,
|
|
oreMar,
|
|
oreMer,
|
|
oreGio,
|
|
oreVen,
|
|
oreSab,
|
|
oreDom,
|
|
oraInizio_1,
|
|
oraFine_1,
|
|
oraInizio_2,
|
|
oraFine_2,
|
|
oraInizio_3,
|
|
oraFine_3};
|
|
rowAnagOrariRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAnagOrariRow);
|
|
return rowAnagOrariRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagOrariRow FindBycodOrario(string codOrario) {
|
|
return ((AnagOrariRow)(this.Rows.Find(new object[] {
|
|
codOrario})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AnagOrariDataTable cln = ((AnagOrariDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new AnagOrariDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columncodOrario = base.Columns["codOrario"];
|
|
this.columndescOrario = base.Columns["descOrario"];
|
|
this.columnoreOrdSett = base.Columns["oreOrdSett"];
|
|
this.columnoreStraordAss = base.Columns["oreStraordAss"];
|
|
this.columnautoCompOreOrd = base.Columns["autoCompOreOrd"];
|
|
this.columnoreLun = base.Columns["oreLun"];
|
|
this.columnoreMar = base.Columns["oreMar"];
|
|
this.columnoreMer = base.Columns["oreMer"];
|
|
this.columnoreGio = base.Columns["oreGio"];
|
|
this.columnoreVen = base.Columns["oreVen"];
|
|
this.columnoreSab = base.Columns["oreSab"];
|
|
this.columnoreDom = base.Columns["oreDom"];
|
|
this.columnoraInizio_1 = base.Columns["oraInizio_1"];
|
|
this.columnoraFine_1 = base.Columns["oraFine_1"];
|
|
this.columnoraInizio_2 = base.Columns["oraInizio_2"];
|
|
this.columnoraFine_2 = base.Columns["oraFine_2"];
|
|
this.columnoraInizio_3 = base.Columns["oraInizio_3"];
|
|
this.columnoraFine_3 = base.Columns["oraFine_3"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columncodOrario = new global::System.Data.DataColumn("codOrario", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncodOrario);
|
|
this.columndescOrario = new global::System.Data.DataColumn("descOrario", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescOrario);
|
|
this.columnoreOrdSett = new global::System.Data.DataColumn("oreOrdSett", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreOrdSett);
|
|
this.columnoreStraordAss = new global::System.Data.DataColumn("oreStraordAss", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreStraordAss);
|
|
this.columnautoCompOreOrd = new global::System.Data.DataColumn("autoCompOreOrd", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnautoCompOreOrd);
|
|
this.columnoreLun = new global::System.Data.DataColumn("oreLun", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreLun);
|
|
this.columnoreMar = new global::System.Data.DataColumn("oreMar", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreMar);
|
|
this.columnoreMer = new global::System.Data.DataColumn("oreMer", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreMer);
|
|
this.columnoreGio = new global::System.Data.DataColumn("oreGio", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreGio);
|
|
this.columnoreVen = new global::System.Data.DataColumn("oreVen", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreVen);
|
|
this.columnoreSab = new global::System.Data.DataColumn("oreSab", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreSab);
|
|
this.columnoreDom = new global::System.Data.DataColumn("oreDom", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreDom);
|
|
this.columnoraInizio_1 = new global::System.Data.DataColumn("oraInizio_1", typeof(global::System.TimeSpan), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoraInizio_1);
|
|
this.columnoraFine_1 = new global::System.Data.DataColumn("oraFine_1", typeof(global::System.TimeSpan), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoraFine_1);
|
|
this.columnoraInizio_2 = new global::System.Data.DataColumn("oraInizio_2", typeof(global::System.TimeSpan), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoraInizio_2);
|
|
this.columnoraFine_2 = new global::System.Data.DataColumn("oraFine_2", typeof(global::System.TimeSpan), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoraFine_2);
|
|
this.columnoraInizio_3 = new global::System.Data.DataColumn("oraInizio_3", typeof(global::System.TimeSpan), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoraInizio_3);
|
|
this.columnoraFine_3 = new global::System.Data.DataColumn("oraFine_3", typeof(global::System.TimeSpan), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoraFine_3);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columncodOrario}, true));
|
|
this.columncodOrario.AllowDBNull = false;
|
|
this.columncodOrario.Unique = true;
|
|
this.columncodOrario.MaxLength = 50;
|
|
this.columndescOrario.MaxLength = 250;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagOrariRow NewAnagOrariRow() {
|
|
return ((AnagOrariRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new AnagOrariRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(AnagOrariRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.AnagOrariRowChanged != null)) {
|
|
this.AnagOrariRowChanged(this, new AnagOrariRowChangeEvent(((AnagOrariRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.AnagOrariRowChanging != null)) {
|
|
this.AnagOrariRowChanging(this, new AnagOrariRowChangeEvent(((AnagOrariRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.AnagOrariRowDeleted != null)) {
|
|
this.AnagOrariRowDeleted(this, new AnagOrariRowChangeEvent(((AnagOrariRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.AnagOrariRowDeleting != null)) {
|
|
this.AnagOrariRowDeleting(this, new AnagOrariRowChangeEvent(((AnagOrariRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveAnagOrariRow(AnagOrariRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "AnagOrariDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class TimbMeseExplDataTable : global::System.Data.TypedTableBase<TimbMeseExplRow> {
|
|
|
|
private global::System.Data.DataColumn columnAnno;
|
|
|
|
private global::System.Data.DataColumn columnMese;
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnCognomeNome;
|
|
|
|
private global::System.Data.DataColumn columntotOreOrd;
|
|
|
|
private global::System.Data.DataColumn columntotOreFest;
|
|
|
|
private global::System.Data.DataColumn columntotOreDaLav;
|
|
|
|
private global::System.Data.DataColumn columntotOrePerm;
|
|
|
|
private global::System.Data.DataColumn columntotOreFer;
|
|
|
|
private global::System.Data.DataColumn columntotOreMal;
|
|
|
|
private global::System.Data.DataColumn columntotLav;
|
|
|
|
private global::System.Data.DataColumn columntotOreNonLav;
|
|
|
|
private global::System.Data.DataColumn columntotOreStra;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbMeseExplDataTable() {
|
|
this.TableName = "TimbMeseExpl";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TimbMeseExplDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected TimbMeseExplDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn AnnoColumn {
|
|
get {
|
|
return this.columnAnno;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MeseColumn {
|
|
get {
|
|
return this.columnMese;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CognomeNomeColumn {
|
|
get {
|
|
return this.columnCognomeNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreOrdColumn {
|
|
get {
|
|
return this.columntotOreOrd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreFestColumn {
|
|
get {
|
|
return this.columntotOreFest;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreDaLavColumn {
|
|
get {
|
|
return this.columntotOreDaLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOrePermColumn {
|
|
get {
|
|
return this.columntotOrePerm;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreFerColumn {
|
|
get {
|
|
return this.columntotOreFer;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreMalColumn {
|
|
get {
|
|
return this.columntotOreMal;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totLavColumn {
|
|
get {
|
|
return this.columntotLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreNonLavColumn {
|
|
get {
|
|
return this.columntotOreNonLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreStraColumn {
|
|
get {
|
|
return this.columntotOreStra;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbMeseExplRow this[int index] {
|
|
get {
|
|
return ((TimbMeseExplRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbMeseExplRowChangeEventHandler TimbMeseExplRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbMeseExplRowChangeEventHandler TimbMeseExplRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbMeseExplRowChangeEventHandler TimbMeseExplRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TimbMeseExplRowChangeEventHandler TimbMeseExplRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddTimbMeseExplRow(TimbMeseExplRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbMeseExplRow AddTimbMeseExplRow(int Anno, int Mese, int idxDipendente, string CognomeNome, double totOreOrd, double totOreFest, double totOreDaLav, double totOrePerm, double totOreFer, double totOreMal, double totLav, double totOreNonLav, double totOreStra) {
|
|
TimbMeseExplRow rowTimbMeseExplRow = ((TimbMeseExplRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
Anno,
|
|
Mese,
|
|
idxDipendente,
|
|
CognomeNome,
|
|
totOreOrd,
|
|
totOreFest,
|
|
totOreDaLav,
|
|
totOrePerm,
|
|
totOreFer,
|
|
totOreMal,
|
|
totLav,
|
|
totOreNonLav,
|
|
totOreStra};
|
|
rowTimbMeseExplRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowTimbMeseExplRow);
|
|
return rowTimbMeseExplRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbMeseExplRow FindByAnnoidxDipendenteMese(int Anno, int idxDipendente, int Mese) {
|
|
return ((TimbMeseExplRow)(this.Rows.Find(new object[] {
|
|
Anno,
|
|
idxDipendente,
|
|
Mese})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
TimbMeseExplDataTable cln = ((TimbMeseExplDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new TimbMeseExplDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnAnno = base.Columns["Anno"];
|
|
this.columnMese = base.Columns["Mese"];
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnCognomeNome = base.Columns["CognomeNome"];
|
|
this.columntotOreOrd = base.Columns["totOreOrd"];
|
|
this.columntotOreFest = base.Columns["totOreFest"];
|
|
this.columntotOreDaLav = base.Columns["totOreDaLav"];
|
|
this.columntotOrePerm = base.Columns["totOrePerm"];
|
|
this.columntotOreFer = base.Columns["totOreFer"];
|
|
this.columntotOreMal = base.Columns["totOreMal"];
|
|
this.columntotLav = base.Columns["totLav"];
|
|
this.columntotOreNonLav = base.Columns["totOreNonLav"];
|
|
this.columntotOreStra = base.Columns["totOreStra"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnAnno = new global::System.Data.DataColumn("Anno", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnAnno);
|
|
this.columnMese = new global::System.Data.DataColumn("Mese", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMese);
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCognomeNome);
|
|
this.columntotOreOrd = new global::System.Data.DataColumn("totOreOrd", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOreOrd);
|
|
this.columntotOreFest = new global::System.Data.DataColumn("totOreFest", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOreFest);
|
|
this.columntotOreDaLav = new global::System.Data.DataColumn("totOreDaLav", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOreDaLav);
|
|
this.columntotOrePerm = new global::System.Data.DataColumn("totOrePerm", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOrePerm);
|
|
this.columntotOreFer = new global::System.Data.DataColumn("totOreFer", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOreFer);
|
|
this.columntotOreMal = new global::System.Data.DataColumn("totOreMal", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOreMal);
|
|
this.columntotLav = new global::System.Data.DataColumn("totLav", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotLav);
|
|
this.columntotOreNonLav = new global::System.Data.DataColumn("totOreNonLav", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOreNonLav);
|
|
this.columntotOreStra = new global::System.Data.DataColumn("totOreStra", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOreStra);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnAnno,
|
|
this.columnidxDipendente,
|
|
this.columnMese}, true));
|
|
this.columnAnno.AllowDBNull = false;
|
|
this.columnAnno.ReadOnly = true;
|
|
this.columnMese.AllowDBNull = false;
|
|
this.columnMese.ReadOnly = true;
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnCognomeNome.MaxLength = 100;
|
|
this.columntotOreOrd.ReadOnly = true;
|
|
this.columntotOreFest.ReadOnly = true;
|
|
this.columntotOreDaLav.ReadOnly = true;
|
|
this.columntotOrePerm.ReadOnly = true;
|
|
this.columntotOreFer.ReadOnly = true;
|
|
this.columntotOreMal.ReadOnly = true;
|
|
this.columntotLav.ReadOnly = true;
|
|
this.columntotOreNonLav.ReadOnly = true;
|
|
this.columntotOreStra.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbMeseExplRow NewTimbMeseExplRow() {
|
|
return ((TimbMeseExplRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new TimbMeseExplRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(TimbMeseExplRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.TimbMeseExplRowChanged != null)) {
|
|
this.TimbMeseExplRowChanged(this, new TimbMeseExplRowChangeEvent(((TimbMeseExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.TimbMeseExplRowChanging != null)) {
|
|
this.TimbMeseExplRowChanging(this, new TimbMeseExplRowChangeEvent(((TimbMeseExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.TimbMeseExplRowDeleted != null)) {
|
|
this.TimbMeseExplRowDeleted(this, new TimbMeseExplRowChangeEvent(((TimbMeseExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.TimbMeseExplRowDeleting != null)) {
|
|
this.TimbMeseExplRowDeleting(this, new TimbMeseExplRowChangeEvent(((TimbMeseExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveTimbMeseExplRow(TimbMeseExplRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "TimbMeseExplDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class GiustificativiDataTable : global::System.Data.TypedTableBase<GiustificativiRow> {
|
|
|
|
private global::System.Data.DataColumn columndataLav;
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columncodGiust;
|
|
|
|
private global::System.Data.DataColumn columnminuti;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public GiustificativiDataTable() {
|
|
this.TableName = "Giustificativi";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal GiustificativiDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected GiustificativiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataLavColumn {
|
|
get {
|
|
return this.columndataLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn codGiustColumn {
|
|
get {
|
|
return this.columncodGiust;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minutiColumn {
|
|
get {
|
|
return this.columnminuti;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public GiustificativiRow this[int index] {
|
|
get {
|
|
return ((GiustificativiRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event GiustificativiRowChangeEventHandler GiustificativiRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event GiustificativiRowChangeEventHandler GiustificativiRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event GiustificativiRowChangeEventHandler GiustificativiRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event GiustificativiRowChangeEventHandler GiustificativiRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddGiustificativiRow(GiustificativiRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public GiustificativiRow AddGiustificativiRow(System.DateTime dataLav, int idxDipendente, string codGiust, int minuti) {
|
|
GiustificativiRow rowGiustificativiRow = ((GiustificativiRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
dataLav,
|
|
idxDipendente,
|
|
codGiust,
|
|
minuti};
|
|
rowGiustificativiRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowGiustificativiRow);
|
|
return rowGiustificativiRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public GiustificativiRow FindBydataLavidxDipendentecodGiust(System.DateTime dataLav, int idxDipendente, string codGiust) {
|
|
return ((GiustificativiRow)(this.Rows.Find(new object[] {
|
|
dataLav,
|
|
idxDipendente,
|
|
codGiust})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
GiustificativiDataTable cln = ((GiustificativiDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new GiustificativiDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columndataLav = base.Columns["dataLav"];
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columncodGiust = base.Columns["codGiust"];
|
|
this.columnminuti = base.Columns["minuti"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columndataLav = new global::System.Data.DataColumn("dataLav", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataLav);
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columncodGiust = new global::System.Data.DataColumn("codGiust", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncodGiust);
|
|
this.columnminuti = new global::System.Data.DataColumn("minuti", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminuti);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columndataLav,
|
|
this.columnidxDipendente,
|
|
this.columncodGiust}, true));
|
|
this.columndataLav.AllowDBNull = false;
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columncodGiust.AllowDBNull = false;
|
|
this.columncodGiust.MaxLength = 5;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public GiustificativiRow NewGiustificativiRow() {
|
|
return ((GiustificativiRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new GiustificativiRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(GiustificativiRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.GiustificativiRowChanged != null)) {
|
|
this.GiustificativiRowChanged(this, new GiustificativiRowChangeEvent(((GiustificativiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.GiustificativiRowChanging != null)) {
|
|
this.GiustificativiRowChanging(this, new GiustificativiRowChangeEvent(((GiustificativiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.GiustificativiRowDeleted != null)) {
|
|
this.GiustificativiRowDeleted(this, new GiustificativiRowChangeEvent(((GiustificativiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.GiustificativiRowDeleting != null)) {
|
|
this.GiustificativiRowDeleting(this, new GiustificativiRowChangeEvent(((GiustificativiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveGiustificativiRow(GiustificativiRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "GiustificativiDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class stp_DipendentiAndAnomalieDataTable : global::System.Data.TypedTableBase<stp_DipendentiAndAnomalieRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnCognomeNome;
|
|
|
|
private global::System.Data.DataColumn columnemail;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_DipendentiAndAnomalieDataTable() {
|
|
this.TableName = "stp_DipendentiAndAnomalie";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_DipendentiAndAnomalieDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected stp_DipendentiAndAnomalieDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CognomeNomeColumn {
|
|
get {
|
|
return this.columnCognomeNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn emailColumn {
|
|
get {
|
|
return this.columnemail;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_DipendentiAndAnomalieRow this[int index] {
|
|
get {
|
|
return ((stp_DipendentiAndAnomalieRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_DipendentiAndAnomalieRowChangeEventHandler stp_DipendentiAndAnomalieRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_DipendentiAndAnomalieRowChangeEventHandler stp_DipendentiAndAnomalieRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_DipendentiAndAnomalieRowChangeEventHandler stp_DipendentiAndAnomalieRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_DipendentiAndAnomalieRowChangeEventHandler stp_DipendentiAndAnomalieRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addstp_DipendentiAndAnomalieRow(stp_DipendentiAndAnomalieRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_DipendentiAndAnomalieRow Addstp_DipendentiAndAnomalieRow(string CognomeNome, string email) {
|
|
stp_DipendentiAndAnomalieRow rowstp_DipendentiAndAnomalieRow = ((stp_DipendentiAndAnomalieRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
CognomeNome,
|
|
email};
|
|
rowstp_DipendentiAndAnomalieRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowstp_DipendentiAndAnomalieRow);
|
|
return rowstp_DipendentiAndAnomalieRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_DipendentiAndAnomalieRow FindByidxDipendente(int idxDipendente) {
|
|
return ((stp_DipendentiAndAnomalieRow)(this.Rows.Find(new object[] {
|
|
idxDipendente})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
stp_DipendentiAndAnomalieDataTable cln = ((stp_DipendentiAndAnomalieDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new stp_DipendentiAndAnomalieDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnCognomeNome = base.Columns["CognomeNome"];
|
|
this.columnemail = base.Columns["email"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCognomeNome);
|
|
this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnemail);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxDipendente}, true));
|
|
this.columnidxDipendente.AutoIncrement = true;
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnidxDipendente.ReadOnly = true;
|
|
this.columnidxDipendente.Unique = true;
|
|
this.columnCognomeNome.MaxLength = 100;
|
|
this.columnemail.MaxLength = 250;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_DipendentiAndAnomalieRow Newstp_DipendentiAndAnomalieRow() {
|
|
return ((stp_DipendentiAndAnomalieRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new stp_DipendentiAndAnomalieRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(stp_DipendentiAndAnomalieRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.stp_DipendentiAndAnomalieRowChanged != null)) {
|
|
this.stp_DipendentiAndAnomalieRowChanged(this, new stp_DipendentiAndAnomalieRowChangeEvent(((stp_DipendentiAndAnomalieRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.stp_DipendentiAndAnomalieRowChanging != null)) {
|
|
this.stp_DipendentiAndAnomalieRowChanging(this, new stp_DipendentiAndAnomalieRowChangeEvent(((stp_DipendentiAndAnomalieRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.stp_DipendentiAndAnomalieRowDeleted != null)) {
|
|
this.stp_DipendentiAndAnomalieRowDeleted(this, new stp_DipendentiAndAnomalieRowChangeEvent(((stp_DipendentiAndAnomalieRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.stp_DipendentiAndAnomalieRowDeleting != null)) {
|
|
this.stp_DipendentiAndAnomalieRowDeleting(this, new stp_DipendentiAndAnomalieRowChangeEvent(((stp_DipendentiAndAnomalieRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removestp_DipendentiAndAnomalieRow(stp_DipendentiAndAnomalieRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "stp_DipendentiAndAnomalieDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class TE_RA_ExplDataTable : global::System.Data.TypedTableBase<TE_RA_ExplRow> {
|
|
|
|
private global::System.Data.DataColumn columndataLav;
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columnCognomeNome;
|
|
|
|
private global::System.Data.DataColumn columnh_lav;
|
|
|
|
private global::System.Data.DataColumn columnh_giust;
|
|
|
|
private global::System.Data.DataColumn columnh_com;
|
|
|
|
private global::System.Data.DataColumn columnprogetti;
|
|
|
|
private global::System.Data.DataColumn columnokLavCom;
|
|
|
|
private global::System.Data.DataColumn columnisOkTim;
|
|
|
|
private global::System.Data.DataColumn columnisOkApp;
|
|
|
|
private global::System.Data.DataColumn columnisOkLav;
|
|
|
|
private global::System.Data.DataColumn columnisOk;
|
|
|
|
private global::System.Data.DataColumn columnblock;
|
|
|
|
private global::System.Data.DataColumn columnminOrd;
|
|
|
|
private global::System.Data.DataColumn columnminNonLav;
|
|
|
|
private global::System.Data.DataColumn columnminStra;
|
|
|
|
private global::System.Data.DataColumn columnminPerm;
|
|
|
|
private global::System.Data.DataColumn columnminFer;
|
|
|
|
private global::System.Data.DataColumn columnminMal;
|
|
|
|
private global::System.Data.DataColumn columnminFest;
|
|
|
|
private global::System.Data.DataColumn columnminRegAtt;
|
|
|
|
private global::System.Data.DataColumn columnentrata_1;
|
|
|
|
private global::System.Data.DataColumn columnuscita_1;
|
|
|
|
private global::System.Data.DataColumn columnentrata_2;
|
|
|
|
private global::System.Data.DataColumn columnuscita_2;
|
|
|
|
private global::System.Data.DataColumn columnentrata_3;
|
|
|
|
private global::System.Data.DataColumn columnuscita_3;
|
|
|
|
private global::System.Data.DataColumn columnentrata_4;
|
|
|
|
private global::System.Data.DataColumn columnuscita_4;
|
|
|
|
private global::System.Data.DataColumn columnminArcoPres;
|
|
|
|
private global::System.Data.DataColumn columnchkFunCod;
|
|
|
|
private global::System.Data.DataColumn columnchkFunRes;
|
|
|
|
private global::System.Data.DataColumn columnminMpp;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TE_RA_ExplDataTable() {
|
|
this.TableName = "TE_RA_Expl";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TE_RA_ExplDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected TE_RA_ExplDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataLavColumn {
|
|
get {
|
|
return this.columndataLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CognomeNomeColumn {
|
|
get {
|
|
return this.columnCognomeNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn h_lavColumn {
|
|
get {
|
|
return this.columnh_lav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn h_giustColumn {
|
|
get {
|
|
return this.columnh_giust;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn h_comColumn {
|
|
get {
|
|
return this.columnh_com;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn progettiColumn {
|
|
get {
|
|
return this.columnprogetti;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn okLavComColumn {
|
|
get {
|
|
return this.columnokLavCom;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn isOkTimColumn {
|
|
get {
|
|
return this.columnisOkTim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn isOkAppColumn {
|
|
get {
|
|
return this.columnisOkApp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn isOkLavColumn {
|
|
get {
|
|
return this.columnisOkLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn isOkColumn {
|
|
get {
|
|
return this.columnisOk;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn blockColumn {
|
|
get {
|
|
return this.columnblock;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minOrdColumn {
|
|
get {
|
|
return this.columnminOrd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minNonLavColumn {
|
|
get {
|
|
return this.columnminNonLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minStraColumn {
|
|
get {
|
|
return this.columnminStra;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minPermColumn {
|
|
get {
|
|
return this.columnminPerm;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minFerColumn {
|
|
get {
|
|
return this.columnminFer;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minMalColumn {
|
|
get {
|
|
return this.columnminMal;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minFestColumn {
|
|
get {
|
|
return this.columnminFest;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minRegAttColumn {
|
|
get {
|
|
return this.columnminRegAtt;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn entrata_1Column {
|
|
get {
|
|
return this.columnentrata_1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn uscita_1Column {
|
|
get {
|
|
return this.columnuscita_1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn entrata_2Column {
|
|
get {
|
|
return this.columnentrata_2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn uscita_2Column {
|
|
get {
|
|
return this.columnuscita_2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn entrata_3Column {
|
|
get {
|
|
return this.columnentrata_3;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn uscita_3Column {
|
|
get {
|
|
return this.columnuscita_3;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn entrata_4Column {
|
|
get {
|
|
return this.columnentrata_4;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn uscita_4Column {
|
|
get {
|
|
return this.columnuscita_4;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minArcoPresColumn {
|
|
get {
|
|
return this.columnminArcoPres;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn chkFunCodColumn {
|
|
get {
|
|
return this.columnchkFunCod;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn chkFunResColumn {
|
|
get {
|
|
return this.columnchkFunRes;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minMppColumn {
|
|
get {
|
|
return this.columnminMpp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TE_RA_ExplRow this[int index] {
|
|
get {
|
|
return ((TE_RA_ExplRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TE_RA_ExplRowChangeEventHandler TE_RA_ExplRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TE_RA_ExplRowChangeEventHandler TE_RA_ExplRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TE_RA_ExplRowChangeEventHandler TE_RA_ExplRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TE_RA_ExplRowChangeEventHandler TE_RA_ExplRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddTE_RA_ExplRow(TE_RA_ExplRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TE_RA_ExplRow AddTE_RA_ExplRow(
|
|
System.DateTime dataLav,
|
|
string CognomeNome,
|
|
double h_lav,
|
|
double h_giust,
|
|
decimal h_com,
|
|
string progetti,
|
|
int okLavCom,
|
|
bool isOkTim,
|
|
bool isOkApp,
|
|
int isOkLav,
|
|
int isOk,
|
|
bool block,
|
|
int minOrd,
|
|
int minNonLav,
|
|
int minStra,
|
|
int minPerm,
|
|
int minFer,
|
|
int minMal,
|
|
int minFest,
|
|
int minRegAtt,
|
|
System.DateTime entrata_1,
|
|
System.DateTime uscita_1,
|
|
System.DateTime entrata_2,
|
|
System.DateTime uscita_2,
|
|
System.DateTime entrata_3,
|
|
System.DateTime uscita_3,
|
|
System.DateTime entrata_4,
|
|
System.DateTime uscita_4,
|
|
int minArcoPres,
|
|
string chkFunCod,
|
|
string chkFunRes,
|
|
int minMpp) {
|
|
TE_RA_ExplRow rowTE_RA_ExplRow = ((TE_RA_ExplRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
dataLav,
|
|
null,
|
|
CognomeNome,
|
|
h_lav,
|
|
h_giust,
|
|
h_com,
|
|
progetti,
|
|
okLavCom,
|
|
isOkTim,
|
|
isOkApp,
|
|
isOkLav,
|
|
isOk,
|
|
block,
|
|
minOrd,
|
|
minNonLav,
|
|
minStra,
|
|
minPerm,
|
|
minFer,
|
|
minMal,
|
|
minFest,
|
|
minRegAtt,
|
|
entrata_1,
|
|
uscita_1,
|
|
entrata_2,
|
|
uscita_2,
|
|
entrata_3,
|
|
uscita_3,
|
|
entrata_4,
|
|
uscita_4,
|
|
minArcoPres,
|
|
chkFunCod,
|
|
chkFunRes,
|
|
minMpp};
|
|
rowTE_RA_ExplRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowTE_RA_ExplRow);
|
|
return rowTE_RA_ExplRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TE_RA_ExplRow FindBydataLavidxDipendente(System.DateTime dataLav, int idxDipendente) {
|
|
return ((TE_RA_ExplRow)(this.Rows.Find(new object[] {
|
|
dataLav,
|
|
idxDipendente})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
TE_RA_ExplDataTable cln = ((TE_RA_ExplDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new TE_RA_ExplDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columndataLav = base.Columns["dataLav"];
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columnCognomeNome = base.Columns["CognomeNome"];
|
|
this.columnh_lav = base.Columns["h_lav"];
|
|
this.columnh_giust = base.Columns["h_giust"];
|
|
this.columnh_com = base.Columns["h_com"];
|
|
this.columnprogetti = base.Columns["progetti"];
|
|
this.columnokLavCom = base.Columns["okLavCom"];
|
|
this.columnisOkTim = base.Columns["isOkTim"];
|
|
this.columnisOkApp = base.Columns["isOkApp"];
|
|
this.columnisOkLav = base.Columns["isOkLav"];
|
|
this.columnisOk = base.Columns["isOk"];
|
|
this.columnblock = base.Columns["block"];
|
|
this.columnminOrd = base.Columns["minOrd"];
|
|
this.columnminNonLav = base.Columns["minNonLav"];
|
|
this.columnminStra = base.Columns["minStra"];
|
|
this.columnminPerm = base.Columns["minPerm"];
|
|
this.columnminFer = base.Columns["minFer"];
|
|
this.columnminMal = base.Columns["minMal"];
|
|
this.columnminFest = base.Columns["minFest"];
|
|
this.columnminRegAtt = base.Columns["minRegAtt"];
|
|
this.columnentrata_1 = base.Columns["entrata_1"];
|
|
this.columnuscita_1 = base.Columns["uscita_1"];
|
|
this.columnentrata_2 = base.Columns["entrata_2"];
|
|
this.columnuscita_2 = base.Columns["uscita_2"];
|
|
this.columnentrata_3 = base.Columns["entrata_3"];
|
|
this.columnuscita_3 = base.Columns["uscita_3"];
|
|
this.columnentrata_4 = base.Columns["entrata_4"];
|
|
this.columnuscita_4 = base.Columns["uscita_4"];
|
|
this.columnminArcoPres = base.Columns["minArcoPres"];
|
|
this.columnchkFunCod = base.Columns["chkFunCod"];
|
|
this.columnchkFunRes = base.Columns["chkFunRes"];
|
|
this.columnminMpp = base.Columns["minMpp"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columndataLav = new global::System.Data.DataColumn("dataLav", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataLav);
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCognomeNome);
|
|
this.columnh_lav = new global::System.Data.DataColumn("h_lav", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnh_lav);
|
|
this.columnh_giust = new global::System.Data.DataColumn("h_giust", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnh_giust);
|
|
this.columnh_com = new global::System.Data.DataColumn("h_com", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnh_com);
|
|
this.columnprogetti = new global::System.Data.DataColumn("progetti", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnprogetti);
|
|
this.columnokLavCom = new global::System.Data.DataColumn("okLavCom", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnokLavCom);
|
|
this.columnisOkTim = new global::System.Data.DataColumn("isOkTim", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnisOkTim);
|
|
this.columnisOkApp = new global::System.Data.DataColumn("isOkApp", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnisOkApp);
|
|
this.columnisOkLav = new global::System.Data.DataColumn("isOkLav", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnisOkLav);
|
|
this.columnisOk = new global::System.Data.DataColumn("isOk", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnisOk);
|
|
this.columnblock = new global::System.Data.DataColumn("block", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnblock);
|
|
this.columnminOrd = new global::System.Data.DataColumn("minOrd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminOrd);
|
|
this.columnminNonLav = new global::System.Data.DataColumn("minNonLav", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminNonLav);
|
|
this.columnminStra = new global::System.Data.DataColumn("minStra", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminStra);
|
|
this.columnminPerm = new global::System.Data.DataColumn("minPerm", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminPerm);
|
|
this.columnminFer = new global::System.Data.DataColumn("minFer", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminFer);
|
|
this.columnminMal = new global::System.Data.DataColumn("minMal", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminMal);
|
|
this.columnminFest = new global::System.Data.DataColumn("minFest", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminFest);
|
|
this.columnminRegAtt = new global::System.Data.DataColumn("minRegAtt", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminRegAtt);
|
|
this.columnentrata_1 = new global::System.Data.DataColumn("entrata_1", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnentrata_1);
|
|
this.columnuscita_1 = new global::System.Data.DataColumn("uscita_1", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuscita_1);
|
|
this.columnentrata_2 = new global::System.Data.DataColumn("entrata_2", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnentrata_2);
|
|
this.columnuscita_2 = new global::System.Data.DataColumn("uscita_2", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuscita_2);
|
|
this.columnentrata_3 = new global::System.Data.DataColumn("entrata_3", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnentrata_3);
|
|
this.columnuscita_3 = new global::System.Data.DataColumn("uscita_3", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuscita_3);
|
|
this.columnentrata_4 = new global::System.Data.DataColumn("entrata_4", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnentrata_4);
|
|
this.columnuscita_4 = new global::System.Data.DataColumn("uscita_4", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuscita_4);
|
|
this.columnminArcoPres = new global::System.Data.DataColumn("minArcoPres", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminArcoPres);
|
|
this.columnchkFunCod = new global::System.Data.DataColumn("chkFunCod", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnchkFunCod);
|
|
this.columnchkFunRes = new global::System.Data.DataColumn("chkFunRes", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnchkFunRes);
|
|
this.columnminMpp = new global::System.Data.DataColumn("minMpp", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminMpp);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columndataLav,
|
|
this.columnidxDipendente}, true));
|
|
this.columndataLav.AllowDBNull = false;
|
|
this.columndataLav.ReadOnly = true;
|
|
this.columnidxDipendente.AutoIncrement = true;
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columnidxDipendente.ReadOnly = true;
|
|
this.columnCognomeNome.ReadOnly = true;
|
|
this.columnCognomeNome.MaxLength = 100;
|
|
this.columnh_lav.ReadOnly = true;
|
|
this.columnh_giust.ReadOnly = true;
|
|
this.columnh_com.ReadOnly = true;
|
|
this.columnprogetti.ReadOnly = true;
|
|
this.columnprogetti.MaxLength = 500;
|
|
this.columnokLavCom.ReadOnly = true;
|
|
this.columnisOkTim.ReadOnly = true;
|
|
this.columnisOkApp.ReadOnly = true;
|
|
this.columnisOkLav.ReadOnly = true;
|
|
this.columnisOk.ReadOnly = true;
|
|
this.columnblock.ReadOnly = true;
|
|
this.columnminOrd.ReadOnly = true;
|
|
this.columnminNonLav.ReadOnly = true;
|
|
this.columnminStra.ReadOnly = true;
|
|
this.columnminPerm.ReadOnly = true;
|
|
this.columnminFer.ReadOnly = true;
|
|
this.columnminMal.ReadOnly = true;
|
|
this.columnminFest.ReadOnly = true;
|
|
this.columnminRegAtt.ReadOnly = true;
|
|
this.columnminArcoPres.ReadOnly = true;
|
|
this.columnchkFunCod.MaxLength = 50;
|
|
this.columnchkFunRes.MaxLength = 50;
|
|
this.columnminMpp.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TE_RA_ExplRow NewTE_RA_ExplRow() {
|
|
return ((TE_RA_ExplRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new TE_RA_ExplRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(TE_RA_ExplRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.TE_RA_ExplRowChanged != null)) {
|
|
this.TE_RA_ExplRowChanged(this, new TE_RA_ExplRowChangeEvent(((TE_RA_ExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.TE_RA_ExplRowChanging != null)) {
|
|
this.TE_RA_ExplRowChanging(this, new TE_RA_ExplRowChangeEvent(((TE_RA_ExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.TE_RA_ExplRowDeleted != null)) {
|
|
this.TE_RA_ExplRowDeleted(this, new TE_RA_ExplRowChangeEvent(((TE_RA_ExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.TE_RA_ExplRowDeleting != null)) {
|
|
this.TE_RA_ExplRowDeleting(this, new TE_RA_ExplRowChangeEvent(((TE_RA_ExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveTE_RA_ExplRow(TE_RA_ExplRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "TE_RA_ExplDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class regAttDayExplDataTable : global::System.Data.TypedTableBase<regAttDayExplRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxDipendente;
|
|
|
|
private global::System.Data.DataColumn columninizio;
|
|
|
|
private global::System.Data.DataColumn columnfine;
|
|
|
|
private global::System.Data.DataColumn columndescrizione;
|
|
|
|
private global::System.Data.DataColumn columnoreTot;
|
|
|
|
private global::System.Data.DataColumn columnimporto;
|
|
|
|
private global::System.Data.DataColumn columnRagSociale;
|
|
|
|
private global::System.Data.DataColumn columnnomeProj;
|
|
|
|
private global::System.Data.DataColumn columnnomeFase;
|
|
|
|
private global::System.Data.DataColumn columnminTot;
|
|
|
|
private global::System.Data.DataColumn columnidxRA;
|
|
|
|
private global::System.Data.DataColumn columnCognomeNome;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public regAttDayExplDataTable() {
|
|
this.TableName = "regAttDayExpl";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal regAttDayExplDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected regAttDayExplDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxDipendenteColumn {
|
|
get {
|
|
return this.columnidxDipendente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn inizioColumn {
|
|
get {
|
|
return this.columninizio;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn fineColumn {
|
|
get {
|
|
return this.columnfine;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descrizioneColumn {
|
|
get {
|
|
return this.columndescrizione;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn oreTotColumn {
|
|
get {
|
|
return this.columnoreTot;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn importoColumn {
|
|
get {
|
|
return this.columnimporto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn RagSocialeColumn {
|
|
get {
|
|
return this.columnRagSociale;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn nomeProjColumn {
|
|
get {
|
|
return this.columnnomeProj;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn nomeFaseColumn {
|
|
get {
|
|
return this.columnnomeFase;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn minTotColumn {
|
|
get {
|
|
return this.columnminTot;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxRAColumn {
|
|
get {
|
|
return this.columnidxRA;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CognomeNomeColumn {
|
|
get {
|
|
return this.columnCognomeNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public regAttDayExplRow this[int index] {
|
|
get {
|
|
return ((regAttDayExplRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event regAttDayExplRowChangeEventHandler regAttDayExplRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event regAttDayExplRowChangeEventHandler regAttDayExplRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event regAttDayExplRowChangeEventHandler regAttDayExplRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event regAttDayExplRowChangeEventHandler regAttDayExplRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddregAttDayExplRow(regAttDayExplRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public regAttDayExplRow AddregAttDayExplRow(int idxDipendente, System.DateTime inizio, System.DateTime fine, string descrizione, decimal oreTot, decimal importo, string RagSociale, string nomeProj, string nomeFase, decimal minTot, string CognomeNome) {
|
|
regAttDayExplRow rowregAttDayExplRow = ((regAttDayExplRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
idxDipendente,
|
|
inizio,
|
|
fine,
|
|
descrizione,
|
|
oreTot,
|
|
importo,
|
|
RagSociale,
|
|
nomeProj,
|
|
nomeFase,
|
|
minTot,
|
|
null,
|
|
CognomeNome};
|
|
rowregAttDayExplRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowregAttDayExplRow);
|
|
return rowregAttDayExplRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public regAttDayExplRow FindByidxRA(int idxRA) {
|
|
return ((regAttDayExplRow)(this.Rows.Find(new object[] {
|
|
idxRA})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
regAttDayExplDataTable cln = ((regAttDayExplDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new regAttDayExplDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxDipendente = base.Columns["idxDipendente"];
|
|
this.columninizio = base.Columns["inizio"];
|
|
this.columnfine = base.Columns["fine"];
|
|
this.columndescrizione = base.Columns["descrizione"];
|
|
this.columnoreTot = base.Columns["oreTot"];
|
|
this.columnimporto = base.Columns["importo"];
|
|
this.columnRagSociale = base.Columns["RagSociale"];
|
|
this.columnnomeProj = base.Columns["nomeProj"];
|
|
this.columnnomeFase = base.Columns["nomeFase"];
|
|
this.columnminTot = base.Columns["minTot"];
|
|
this.columnidxRA = base.Columns["idxRA"];
|
|
this.columnCognomeNome = base.Columns["CognomeNome"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxDipendente);
|
|
this.columninizio = new global::System.Data.DataColumn("inizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columninizio);
|
|
this.columnfine = new global::System.Data.DataColumn("fine", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnfine);
|
|
this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescrizione);
|
|
this.columnoreTot = new global::System.Data.DataColumn("oreTot", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnoreTot);
|
|
this.columnimporto = new global::System.Data.DataColumn("importo", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnimporto);
|
|
this.columnRagSociale = new global::System.Data.DataColumn("RagSociale", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRagSociale);
|
|
this.columnnomeProj = new global::System.Data.DataColumn("nomeProj", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnomeProj);
|
|
this.columnnomeFase = new global::System.Data.DataColumn("nomeFase", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnomeFase);
|
|
this.columnminTot = new global::System.Data.DataColumn("minTot", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnminTot);
|
|
this.columnidxRA = new global::System.Data.DataColumn("idxRA", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxRA);
|
|
this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCognomeNome);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxRA}, true));
|
|
this.columnidxDipendente.AllowDBNull = false;
|
|
this.columninizio.AllowDBNull = false;
|
|
this.columnfine.AllowDBNull = false;
|
|
this.columndescrizione.ReadOnly = true;
|
|
this.columndescrizione.MaxLength = 500;
|
|
this.columnoreTot.ReadOnly = true;
|
|
this.columnRagSociale.MaxLength = 250;
|
|
this.columnnomeProj.AllowDBNull = false;
|
|
this.columnnomeProj.MaxLength = 50;
|
|
this.columnnomeFase.MaxLength = 250;
|
|
this.columnminTot.ReadOnly = true;
|
|
this.columnidxRA.AutoIncrement = true;
|
|
this.columnidxRA.AutoIncrementSeed = -1;
|
|
this.columnidxRA.AutoIncrementStep = -1;
|
|
this.columnidxRA.AllowDBNull = false;
|
|
this.columnidxRA.ReadOnly = true;
|
|
this.columnidxRA.Unique = true;
|
|
this.columnCognomeNome.ReadOnly = true;
|
|
this.columnCognomeNome.MaxLength = 101;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public regAttDayExplRow NewregAttDayExplRow() {
|
|
return ((regAttDayExplRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new regAttDayExplRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(regAttDayExplRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.regAttDayExplRowChanged != null)) {
|
|
this.regAttDayExplRowChanged(this, new regAttDayExplRowChangeEvent(((regAttDayExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.regAttDayExplRowChanging != null)) {
|
|
this.regAttDayExplRowChanging(this, new regAttDayExplRowChangeEvent(((regAttDayExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.regAttDayExplRowDeleted != null)) {
|
|
this.regAttDayExplRowDeleted(this, new regAttDayExplRowChangeEvent(((regAttDayExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.regAttDayExplRowDeleting != null)) {
|
|
this.regAttDayExplRowDeleting(this, new regAttDayExplRowChangeEvent(((regAttDayExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveregAttDayExplRow(regAttDayExplRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "regAttDayExplDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class AnagProgetti_ExplDataTable : global::System.Data.TypedTableBase<AnagProgetti_ExplRow> {
|
|
|
|
private global::System.Data.DataColumn columnRagSociale;
|
|
|
|
private global::System.Data.DataColumn columnidxProgetto;
|
|
|
|
private global::System.Data.DataColumn columnidxCliente;
|
|
|
|
private global::System.Data.DataColumn columnnomeProj;
|
|
|
|
private global::System.Data.DataColumn columndescrProj;
|
|
|
|
private global::System.Data.DataColumn columnbudgetTime;
|
|
|
|
private global::System.Data.DataColumn columnbudgetMoney;
|
|
|
|
private global::System.Data.DataColumn columnOldIdx;
|
|
|
|
private global::System.Data.DataColumn columnAttivo;
|
|
|
|
private global::System.Data.DataColumn columncodExt;
|
|
|
|
private global::System.Data.DataColumn columntotOre;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgetti_ExplDataTable() {
|
|
this.TableName = "AnagProgetti_Expl";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagProgetti_ExplDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected AnagProgetti_ExplDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn RagSocialeColumn {
|
|
get {
|
|
return this.columnRagSociale;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxProgettoColumn {
|
|
get {
|
|
return this.columnidxProgetto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxClienteColumn {
|
|
get {
|
|
return this.columnidxCliente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn nomeProjColumn {
|
|
get {
|
|
return this.columnnomeProj;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descrProjColumn {
|
|
get {
|
|
return this.columndescrProj;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn budgetTimeColumn {
|
|
get {
|
|
return this.columnbudgetTime;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn budgetMoneyColumn {
|
|
get {
|
|
return this.columnbudgetMoney;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn OldIdxColumn {
|
|
get {
|
|
return this.columnOldIdx;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn AttivoColumn {
|
|
get {
|
|
return this.columnAttivo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn codExtColumn {
|
|
get {
|
|
return this.columncodExt;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn totOreColumn {
|
|
get {
|
|
return this.columntotOre;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgetti_ExplRow this[int index] {
|
|
get {
|
|
return ((AnagProgetti_ExplRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagProgetti_ExplRowChangeEventHandler AnagProgetti_ExplRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagProgetti_ExplRowChangeEventHandler AnagProgetti_ExplRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagProgetti_ExplRowChangeEventHandler AnagProgetti_ExplRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AnagProgetti_ExplRowChangeEventHandler AnagProgetti_ExplRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddAnagProgetti_ExplRow(AnagProgetti_ExplRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgetti_ExplRow AddAnagProgetti_ExplRow(string RagSociale, int idxCliente, string nomeProj, string descrProj, decimal budgetTime, decimal budgetMoney, int OldIdx, bool Attivo, string codExt, decimal totOre) {
|
|
AnagProgetti_ExplRow rowAnagProgetti_ExplRow = ((AnagProgetti_ExplRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
RagSociale,
|
|
null,
|
|
idxCliente,
|
|
nomeProj,
|
|
descrProj,
|
|
budgetTime,
|
|
budgetMoney,
|
|
OldIdx,
|
|
Attivo,
|
|
codExt,
|
|
totOre};
|
|
rowAnagProgetti_ExplRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAnagProgetti_ExplRow);
|
|
return rowAnagProgetti_ExplRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgetti_ExplRow FindByidxProgetto(int idxProgetto) {
|
|
return ((AnagProgetti_ExplRow)(this.Rows.Find(new object[] {
|
|
idxProgetto})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AnagProgetti_ExplDataTable cln = ((AnagProgetti_ExplDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new AnagProgetti_ExplDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnRagSociale = base.Columns["RagSociale"];
|
|
this.columnidxProgetto = base.Columns["idxProgetto"];
|
|
this.columnidxCliente = base.Columns["idxCliente"];
|
|
this.columnnomeProj = base.Columns["nomeProj"];
|
|
this.columndescrProj = base.Columns["descrProj"];
|
|
this.columnbudgetTime = base.Columns["budgetTime"];
|
|
this.columnbudgetMoney = base.Columns["budgetMoney"];
|
|
this.columnOldIdx = base.Columns["OldIdx"];
|
|
this.columnAttivo = base.Columns["Attivo"];
|
|
this.columncodExt = base.Columns["codExt"];
|
|
this.columntotOre = base.Columns["totOre"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnRagSociale = new global::System.Data.DataColumn("RagSociale", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRagSociale);
|
|
this.columnidxProgetto = new global::System.Data.DataColumn("idxProgetto", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxProgetto);
|
|
this.columnidxCliente = new global::System.Data.DataColumn("idxCliente", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxCliente);
|
|
this.columnnomeProj = new global::System.Data.DataColumn("nomeProj", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnomeProj);
|
|
this.columndescrProj = new global::System.Data.DataColumn("descrProj", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescrProj);
|
|
this.columnbudgetTime = new global::System.Data.DataColumn("budgetTime", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnbudgetTime);
|
|
this.columnbudgetMoney = new global::System.Data.DataColumn("budgetMoney", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnbudgetMoney);
|
|
this.columnOldIdx = new global::System.Data.DataColumn("OldIdx", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOldIdx);
|
|
this.columnAttivo = new global::System.Data.DataColumn("Attivo", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnAttivo);
|
|
this.columncodExt = new global::System.Data.DataColumn("codExt", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncodExt);
|
|
this.columntotOre = new global::System.Data.DataColumn("totOre", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columntotOre);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxProgetto}, true));
|
|
this.columnRagSociale.MaxLength = 50;
|
|
this.columnidxProgetto.AutoIncrement = true;
|
|
this.columnidxProgetto.AllowDBNull = false;
|
|
this.columnidxProgetto.ReadOnly = true;
|
|
this.columnidxProgetto.Unique = true;
|
|
this.columnidxCliente.AllowDBNull = false;
|
|
this.columnnomeProj.AllowDBNull = false;
|
|
this.columnnomeProj.MaxLength = 50;
|
|
this.columndescrProj.MaxLength = 250;
|
|
this.columnbudgetTime.ReadOnly = true;
|
|
this.columnbudgetMoney.ReadOnly = true;
|
|
this.columnOldIdx.ReadOnly = true;
|
|
this.columnAttivo.AllowDBNull = false;
|
|
this.columncodExt.ReadOnly = true;
|
|
this.columncodExt.MaxLength = 50;
|
|
this.columntotOre.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgetti_ExplRow NewAnagProgetti_ExplRow() {
|
|
return ((AnagProgetti_ExplRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new AnagProgetti_ExplRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(AnagProgetti_ExplRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.AnagProgetti_ExplRowChanged != null)) {
|
|
this.AnagProgetti_ExplRowChanged(this, new AnagProgetti_ExplRowChangeEvent(((AnagProgetti_ExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.AnagProgetti_ExplRowChanging != null)) {
|
|
this.AnagProgetti_ExplRowChanging(this, new AnagProgetti_ExplRowChangeEvent(((AnagProgetti_ExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.AnagProgetti_ExplRowDeleted != null)) {
|
|
this.AnagProgetti_ExplRowDeleted(this, new AnagProgetti_ExplRowChangeEvent(((AnagProgetti_ExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.AnagProgetti_ExplRowDeleting != null)) {
|
|
this.AnagProgetti_ExplRowDeleting(this, new AnagProgetti_ExplRowChangeEvent(((AnagProgetti_ExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveAnagProgetti_ExplRow(AnagProgetti_ExplRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "AnagProgetti_ExplDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class RegistroEventiDataTable : global::System.Data.TypedTableBase<RegistroEventiRow> {
|
|
|
|
private global::System.Data.DataColumn columnDataOra;
|
|
|
|
private global::System.Data.DataColumn columnevento;
|
|
|
|
private global::System.Data.DataColumn columncommento;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegistroEventiDataTable() {
|
|
this.TableName = "RegistroEventi";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal RegistroEventiDataTable(global::System.Data.DataTable table) {
|
|
this.TableName = table.TableName;
|
|
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
|
this.CaseSensitive = table.CaseSensitive;
|
|
}
|
|
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
|
this.Locale = table.Locale;
|
|
}
|
|
if ((table.Namespace != table.DataSet.Namespace)) {
|
|
this.Namespace = table.Namespace;
|
|
}
|
|
this.Prefix = table.Prefix;
|
|
this.MinimumCapacity = table.MinimumCapacity;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected RegistroEventiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context) {
|
|
this.InitVars();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataOraColumn {
|
|
get {
|
|
return this.columnDataOra;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn eventoColumn {
|
|
get {
|
|
return this.columnevento;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn commentoColumn {
|
|
get {
|
|
return this.columncommento;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int Count {
|
|
get {
|
|
return this.Rows.Count;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegistroEventiRow this[int index] {
|
|
get {
|
|
return ((RegistroEventiRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RegistroEventiRowChangeEventHandler RegistroEventiRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RegistroEventiRowChangeEventHandler RegistroEventiRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RegistroEventiRowChangeEventHandler RegistroEventiRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RegistroEventiRowChangeEventHandler RegistroEventiRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddRegistroEventiRow(RegistroEventiRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegistroEventiRow AddRegistroEventiRow(System.DateTime DataOra, string evento, string commento) {
|
|
RegistroEventiRow rowRegistroEventiRow = ((RegistroEventiRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
DataOra,
|
|
evento,
|
|
commento};
|
|
rowRegistroEventiRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowRegistroEventiRow);
|
|
return rowRegistroEventiRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegistroEventiRow FindByDataOraevento(System.DateTime DataOra, string evento) {
|
|
return ((RegistroEventiRow)(this.Rows.Find(new object[] {
|
|
DataOra,
|
|
evento})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
RegistroEventiDataTable cln = ((RegistroEventiDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new RegistroEventiDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnDataOra = base.Columns["DataOra"];
|
|
this.columnevento = base.Columns["evento"];
|
|
this.columncommento = base.Columns["commento"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataOra);
|
|
this.columnevento = new global::System.Data.DataColumn("evento", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnevento);
|
|
this.columncommento = new global::System.Data.DataColumn("commento", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncommento);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnDataOra,
|
|
this.columnevento}, true));
|
|
this.columnDataOra.AllowDBNull = false;
|
|
this.columnevento.AllowDBNull = false;
|
|
this.columnevento.MaxLength = 50;
|
|
this.columncommento.MaxLength = 250;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegistroEventiRow NewRegistroEventiRow() {
|
|
return ((RegistroEventiRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new RegistroEventiRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(RegistroEventiRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.RegistroEventiRowChanged != null)) {
|
|
this.RegistroEventiRowChanged(this, new RegistroEventiRowChangeEvent(((RegistroEventiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.RegistroEventiRowChanging != null)) {
|
|
this.RegistroEventiRowChanging(this, new RegistroEventiRowChangeEvent(((RegistroEventiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.RegistroEventiRowDeleted != null)) {
|
|
this.RegistroEventiRowDeleted(this, new RegistroEventiRowChangeEvent(((RegistroEventiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.RegistroEventiRowDeleting != null)) {
|
|
this.RegistroEventiRowDeleting(this, new RegistroEventiRowChangeEvent(((RegistroEventiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveRegistroEventiRow(RegistroEventiRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
DS_Applicazione ds = new DS_Applicazione();
|
|
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
any1.MinOccurs = new decimal(0);
|
|
any1.MaxOccurs = decimal.MaxValue;
|
|
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any1);
|
|
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
any2.MinOccurs = new decimal(1);
|
|
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
sequence.Items.Add(any2);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute1.Name = "namespace";
|
|
attribute1.FixedValue = ds.Namespace;
|
|
type.Attributes.Add(attribute1);
|
|
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
attribute2.Name = "tableTypeName";
|
|
attribute2.FixedValue = "RegistroEventiDataTable";
|
|
type.Attributes.Add(attribute2);
|
|
type.Particle = sequence;
|
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
try {
|
|
global::System.Xml.Schema.XmlSchema schema = null;
|
|
dsSchema.Write(s1);
|
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
s2.SetLength(0);
|
|
schema.Write(s2);
|
|
if ((s1.Length == s2.Length)) {
|
|
s1.Position = 0;
|
|
s2.Position = 0;
|
|
for (; ((s1.Position != s1.Length)
|
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
|
;
|
|
}
|
|
if ((s1.Position == s1.Length)) {
|
|
return type;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
if ((s1 != null)) {
|
|
s1.Close();
|
|
}
|
|
if ((s2 != null)) {
|
|
s2.Close();
|
|
}
|
|
}
|
|
}
|
|
xs.Add(dsSchema);
|
|
return type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class TimbratureRow : global::System.Data.DataRow {
|
|
|
|
private TimbratureDataTable tableTimbrature;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TimbratureRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableTimbrature = ((TimbratureDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime dataOra {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableTimbrature.dataOraColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTimbrature.dataOraColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableTimbrature.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTimbrature.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool entrata {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTimbrature.entrataColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'entrata\' nella tabella \'Timbrature\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbrature.entrataColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IPv4 {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTimbrature.IPv4Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'IPv4\' nella tabella \'Timbrature\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbrature.IPv4Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodTipoTimb {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTimbrature.CodTipoTimbColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodTipoTimb\' nella tabella \'Timbrature\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbrature.CodTipoTimbColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Approv {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTimbrature.ApprovColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Approv\' nella tabella \'Timbrature\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbrature.ApprovColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiRow DipendentiRow {
|
|
get {
|
|
return ((DipendentiRow)(this.GetParentRow(this.Table.ParentRelations["FK_Timbrature_Dipendenti"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_Timbrature_Dipendenti"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsentrataNull() {
|
|
return this.IsNull(this.tableTimbrature.entrataColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetentrataNull() {
|
|
this[this.tableTimbrature.entrataColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsIPv4Null() {
|
|
return this.IsNull(this.tableTimbrature.IPv4Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetIPv4Null() {
|
|
this[this.tableTimbrature.IPv4Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCodTipoTimbNull() {
|
|
return this.IsNull(this.tableTimbrature.CodTipoTimbColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodTipoTimbNull() {
|
|
this[this.tableTimbrature.CodTipoTimbColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsApprovNull() {
|
|
return this.IsNull(this.tableTimbrature.ApprovColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetApprovNull() {
|
|
this[this.tableTimbrature.ApprovColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class TimbratureExplRow : global::System.Data.DataRow {
|
|
|
|
private TimbratureExplDataTable tableTimbratureExpl;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TimbratureExplRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableTimbratureExpl = ((TimbratureExplDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime dataLav {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableTimbratureExpl.dataLavColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.dataLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableTimbratureExpl.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CognomeNome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTimbratureExpl.CognomeNomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CognomeNome\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.CognomeNomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime entrata_1 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTimbratureExpl.entrata_1Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'entrata_1\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.entrata_1Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime uscita_1 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTimbratureExpl.uscita_1Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'uscita_1\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.uscita_1Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime entrata_2 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTimbratureExpl.entrata_2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'entrata_2\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.entrata_2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime uscita_2 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTimbratureExpl.uscita_2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'uscita_2\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.uscita_2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime entrata_3 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTimbratureExpl.entrata_3Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'entrata_3\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.entrata_3Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime uscita_3 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTimbratureExpl.uscita_3Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'uscita_3\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.uscita_3Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime entrata_4 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTimbratureExpl.entrata_4Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'entrata_4\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.entrata_4Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime uscita_4 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTimbratureExpl.uscita_4Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'uscita_4\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.uscita_4Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double h_lav {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbratureExpl.h_lavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'h_lav\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.h_lavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double h_giust {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbratureExpl.h_giustColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'h_giust\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.h_giustColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minLav {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.minLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minLav\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.minLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minOrd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.minOrdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minOrd\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.minOrdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minStra {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.minStraColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minStra\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.minStraColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minPerm {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.minPermColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minPerm\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.minPermColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minFer {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.minFerColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minFer\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.minFerColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minMal {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.minMalColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minMal\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.minMalColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minFest {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.minFestColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minFest\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.minFestColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool isOkTim {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTimbratureExpl.isOkTimColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'isOkTim\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.isOkTimColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool isOkApp {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTimbratureExpl.isOkAppColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'isOkApp\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.isOkAppColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int isOkLav {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.isOkLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'isOkLav\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.isOkLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int isOk {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.isOkColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'isOk\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.isOkColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minNonLav {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.minNonLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minNonLav\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.minNonLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minArcoPres {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTimbratureExpl.minArcoPresColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minArcoPres\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.minArcoPresColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool block {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTimbratureExpl.blockColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'block\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.blockColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string chkFunCod {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTimbratureExpl.chkFunCodColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'chkFunCod\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.chkFunCodColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string chkFunRes {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTimbratureExpl.chkFunResColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'chkFunRes\' nella tabella \'TimbratureExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbratureExpl.chkFunResColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCognomeNomeNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.CognomeNomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCognomeNomeNull() {
|
|
this[this.tableTimbratureExpl.CognomeNomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isentrata_1Null() {
|
|
return this.IsNull(this.tableTimbratureExpl.entrata_1Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setentrata_1Null() {
|
|
this[this.tableTimbratureExpl.entrata_1Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isuscita_1Null() {
|
|
return this.IsNull(this.tableTimbratureExpl.uscita_1Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setuscita_1Null() {
|
|
this[this.tableTimbratureExpl.uscita_1Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isentrata_2Null() {
|
|
return this.IsNull(this.tableTimbratureExpl.entrata_2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setentrata_2Null() {
|
|
this[this.tableTimbratureExpl.entrata_2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isuscita_2Null() {
|
|
return this.IsNull(this.tableTimbratureExpl.uscita_2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setuscita_2Null() {
|
|
this[this.tableTimbratureExpl.uscita_2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isentrata_3Null() {
|
|
return this.IsNull(this.tableTimbratureExpl.entrata_3Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setentrata_3Null() {
|
|
this[this.tableTimbratureExpl.entrata_3Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isuscita_3Null() {
|
|
return this.IsNull(this.tableTimbratureExpl.uscita_3Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setuscita_3Null() {
|
|
this[this.tableTimbratureExpl.uscita_3Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isentrata_4Null() {
|
|
return this.IsNull(this.tableTimbratureExpl.entrata_4Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setentrata_4Null() {
|
|
this[this.tableTimbratureExpl.entrata_4Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isuscita_4Null() {
|
|
return this.IsNull(this.tableTimbratureExpl.uscita_4Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setuscita_4Null() {
|
|
this[this.tableTimbratureExpl.uscita_4Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Ish_lavNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.h_lavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Seth_lavNull() {
|
|
this[this.tableTimbratureExpl.h_lavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Ish_giustNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.h_giustColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Seth_giustNull() {
|
|
this[this.tableTimbratureExpl.h_giustColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminLavNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.minLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminLavNull() {
|
|
this[this.tableTimbratureExpl.minLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminOrdNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.minOrdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminOrdNull() {
|
|
this[this.tableTimbratureExpl.minOrdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminStraNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.minStraColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminStraNull() {
|
|
this[this.tableTimbratureExpl.minStraColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminPermNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.minPermColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminPermNull() {
|
|
this[this.tableTimbratureExpl.minPermColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminFerNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.minFerColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminFerNull() {
|
|
this[this.tableTimbratureExpl.minFerColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminMalNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.minMalColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminMalNull() {
|
|
this[this.tableTimbratureExpl.minMalColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminFestNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.minFestColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminFestNull() {
|
|
this[this.tableTimbratureExpl.minFestColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsisOkTimNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.isOkTimColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetisOkTimNull() {
|
|
this[this.tableTimbratureExpl.isOkTimColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsisOkAppNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.isOkAppColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetisOkAppNull() {
|
|
this[this.tableTimbratureExpl.isOkAppColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsisOkLavNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.isOkLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetisOkLavNull() {
|
|
this[this.tableTimbratureExpl.isOkLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsisOkNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.isOkColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetisOkNull() {
|
|
this[this.tableTimbratureExpl.isOkColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminNonLavNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.minNonLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminNonLavNull() {
|
|
this[this.tableTimbratureExpl.minNonLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminArcoPresNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.minArcoPresColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminArcoPresNull() {
|
|
this[this.tableTimbratureExpl.minArcoPresColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsblockNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.blockColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetblockNull() {
|
|
this[this.tableTimbratureExpl.blockColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IschkFunCodNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.chkFunCodColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetchkFunCodNull() {
|
|
this[this.tableTimbratureExpl.chkFunCodColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IschkFunResNull() {
|
|
return this.IsNull(this.tableTimbratureExpl.chkFunResColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetchkFunResNull() {
|
|
this[this.tableTimbratureExpl.chkFunResColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class AnagDevicesRow : global::System.Data.DataRow {
|
|
|
|
private AnagDevicesDataTable tableAnagDevices;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagDevicesRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAnagDevices = ((AnagDevicesDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxDevice {
|
|
get {
|
|
return ((int)(this[this.tableAnagDevices.IdxDeviceColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagDevices.IdxDeviceColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string DeviceSecret {
|
|
get {
|
|
return ((string)(this[this.tableAnagDevices.DeviceSecretColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagDevices.DeviceSecretColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableAnagDevices.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagDevices.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string DeviceName {
|
|
get {
|
|
return ((string)(this[this.tableAnagDevices.DeviceNameColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagDevices.DeviceNameColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Description {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagDevices.DescriptionColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Description\' nella tabella \'AnagDevices\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagDevices.DescriptionColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime dataOraEnabled {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableAnagDevices.dataOraEnabledColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagDevices.dataOraEnabledColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime dataOraLastSeen {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableAnagDevices.dataOraLastSeenColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagDevices.dataOraLastSeenColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string lastIPv4 {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagDevices.lastIPv4Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'lastIPv4\' nella tabella \'AnagDevices\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagDevices.lastIPv4Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDescriptionNull() {
|
|
return this.IsNull(this.tableAnagDevices.DescriptionColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDescriptionNull() {
|
|
this[this.tableAnagDevices.DescriptionColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IslastIPv4Null() {
|
|
return this.IsNull(this.tableAnagDevices.lastIPv4Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetlastIPv4Null() {
|
|
this[this.tableAnagDevices.lastIPv4Column] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class DipendentiRow : global::System.Data.DataRow {
|
|
|
|
private DipendentiDataTable tableDipendenti;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal DipendentiRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableDipendenti = ((DipendentiDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableDipendenti.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string matricola {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.matricolaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'matricola\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.matricolaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CF {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.CFColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CF\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.CFColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Cognome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.CognomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Cognome\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.CognomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Nome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.NomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Nome\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.NomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime dataNascita {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableDipendenti.dataNascitaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'dataNascita\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.dataNascitaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string luogoNascita {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.luogoNascitaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'luogoNascita\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.luogoNascitaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string provNascita {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.provNascitaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'provNascita\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.provNascitaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string nazNascita {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.nazNascitaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nazNascita\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.nazNascitaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string codHw {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.codHwColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'codHw\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.codHwColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string codOrario {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.codOrarioColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'codOrario\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.codOrarioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool mailLastOp {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableDipendenti.mailLastOpColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'mailLastOp\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.mailLastOpColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool mailDay {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableDipendenti.mailDayColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'mailDay\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.mailDayColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool mailWeek {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableDipendenti.mailWeekColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'mailWeek\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.mailWeekColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool mailMonth {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableDipendenti.mailMonthColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'mailMonth\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.mailMonthColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string email {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.emailColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'email\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.emailColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string authKey {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.authKeyColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'authKey\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.authKeyColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int numAuth {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableDipendenti.numAuthColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'numAuth\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.numAuthColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string WOL_MAC {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.WOL_MACColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'WOL_MAC\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.WOL_MACColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string dominio {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.dominioColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'dominio\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.dominioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string utente {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDipendenti.utenteColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'utente\' nella tabella \'Dipendenti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDipendenti.utenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagOrariRow AnagOrariRow {
|
|
get {
|
|
return ((AnagOrariRow)(this.GetParentRow(this.Table.ParentRelations["FK_Dipendenti_AnagOrari"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_Dipendenti_AnagOrari"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsmatricolaNull() {
|
|
return this.IsNull(this.tableDipendenti.matricolaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetmatricolaNull() {
|
|
this[this.tableDipendenti.matricolaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCFNull() {
|
|
return this.IsNull(this.tableDipendenti.CFColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCFNull() {
|
|
this[this.tableDipendenti.CFColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCognomeNull() {
|
|
return this.IsNull(this.tableDipendenti.CognomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCognomeNull() {
|
|
this[this.tableDipendenti.CognomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsNomeNull() {
|
|
return this.IsNull(this.tableDipendenti.NomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNomeNull() {
|
|
this[this.tableDipendenti.NomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdataNascitaNull() {
|
|
return this.IsNull(this.tableDipendenti.dataNascitaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdataNascitaNull() {
|
|
this[this.tableDipendenti.dataNascitaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsluogoNascitaNull() {
|
|
return this.IsNull(this.tableDipendenti.luogoNascitaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetluogoNascitaNull() {
|
|
this[this.tableDipendenti.luogoNascitaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsprovNascitaNull() {
|
|
return this.IsNull(this.tableDipendenti.provNascitaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetprovNascitaNull() {
|
|
this[this.tableDipendenti.provNascitaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsnazNascitaNull() {
|
|
return this.IsNull(this.tableDipendenti.nazNascitaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetnazNascitaNull() {
|
|
this[this.tableDipendenti.nazNascitaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscodHwNull() {
|
|
return this.IsNull(this.tableDipendenti.codHwColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcodHwNull() {
|
|
this[this.tableDipendenti.codHwColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscodOrarioNull() {
|
|
return this.IsNull(this.tableDipendenti.codOrarioColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcodOrarioNull() {
|
|
this[this.tableDipendenti.codOrarioColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsmailLastOpNull() {
|
|
return this.IsNull(this.tableDipendenti.mailLastOpColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetmailLastOpNull() {
|
|
this[this.tableDipendenti.mailLastOpColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsmailDayNull() {
|
|
return this.IsNull(this.tableDipendenti.mailDayColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetmailDayNull() {
|
|
this[this.tableDipendenti.mailDayColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsmailWeekNull() {
|
|
return this.IsNull(this.tableDipendenti.mailWeekColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetmailWeekNull() {
|
|
this[this.tableDipendenti.mailWeekColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsmailMonthNull() {
|
|
return this.IsNull(this.tableDipendenti.mailMonthColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetmailMonthNull() {
|
|
this[this.tableDipendenti.mailMonthColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsemailNull() {
|
|
return this.IsNull(this.tableDipendenti.emailColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetemailNull() {
|
|
this[this.tableDipendenti.emailColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsauthKeyNull() {
|
|
return this.IsNull(this.tableDipendenti.authKeyColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetauthKeyNull() {
|
|
this[this.tableDipendenti.authKeyColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsnumAuthNull() {
|
|
return this.IsNull(this.tableDipendenti.numAuthColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetnumAuthNull() {
|
|
this[this.tableDipendenti.numAuthColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsWOL_MACNull() {
|
|
return this.IsNull(this.tableDipendenti.WOL_MACColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetWOL_MACNull() {
|
|
this[this.tableDipendenti.WOL_MACColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdominioNull() {
|
|
return this.IsNull(this.tableDipendenti.dominioColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdominioNull() {
|
|
this[this.tableDipendenti.dominioColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsutenteNull() {
|
|
return this.IsNull(this.tableDipendenti.utenteColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetutenteNull() {
|
|
this[this.tableDipendenti.utenteColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureRow[] GetTimbratureRows() {
|
|
if ((this.Table.ChildRelations["FK_Timbrature_Dipendenti"] == null)) {
|
|
return new TimbratureRow[0];
|
|
}
|
|
else {
|
|
return ((TimbratureRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Timbrature_Dipendenti"])));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaRow[] GetRegAttivitaRows() {
|
|
if ((this.Table.ChildRelations["FK_RegAttivita_Dipendenti"] == null)) {
|
|
return new RegAttivitaRow[0];
|
|
}
|
|
else {
|
|
return ((RegAttivitaRow[])(base.GetChildRows(this.Table.ChildRelations["FK_RegAttivita_Dipendenti"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class AnagClientiRow : global::System.Data.DataRow {
|
|
|
|
private AnagClientiDataTable tableAnagClienti;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagClientiRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAnagClienti = ((AnagClientiDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxCliente {
|
|
get {
|
|
return ((int)(this[this.tableAnagClienti.idxClienteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.idxClienteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string RagSociale {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.RagSocialeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'RagSociale\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.RagSocialeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string indirizzo {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.indirizzoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'indirizzo\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.indirizzoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CAP {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.CAPColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CAP\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.CAPColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string citta {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.cittaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'citta\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.cittaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string prov {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.provColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'prov\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.provColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string tel {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.telColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'tel\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.telColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string url {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.urlColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'url\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.urlColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string email {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.emailColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'email\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.emailColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string pIva {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.pIvaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'pIva\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.pIvaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CF {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.CFColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CF\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.CFColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string logoUrl {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.logoUrlColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'logoUrl\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.logoUrlColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string nota {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagClienti.notaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nota\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.notaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int OldIdx {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagClienti.OldIdxColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'OldIdx\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.OldIdxColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public byte Attivo {
|
|
get {
|
|
try {
|
|
return ((byte)(this[this.tableAnagClienti.AttivoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Attivo\' nella tabella \'AnagClienti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagClienti.AttivoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsRagSocialeNull() {
|
|
return this.IsNull(this.tableAnagClienti.RagSocialeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetRagSocialeNull() {
|
|
this[this.tableAnagClienti.RagSocialeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsindirizzoNull() {
|
|
return this.IsNull(this.tableAnagClienti.indirizzoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetindirizzoNull() {
|
|
this[this.tableAnagClienti.indirizzoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCAPNull() {
|
|
return this.IsNull(this.tableAnagClienti.CAPColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCAPNull() {
|
|
this[this.tableAnagClienti.CAPColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscittaNull() {
|
|
return this.IsNull(this.tableAnagClienti.cittaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcittaNull() {
|
|
this[this.tableAnagClienti.cittaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsprovNull() {
|
|
return this.IsNull(this.tableAnagClienti.provColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetprovNull() {
|
|
this[this.tableAnagClienti.provColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstelNull() {
|
|
return this.IsNull(this.tableAnagClienti.telColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettelNull() {
|
|
this[this.tableAnagClienti.telColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsurlNull() {
|
|
return this.IsNull(this.tableAnagClienti.urlColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SeturlNull() {
|
|
this[this.tableAnagClienti.urlColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsemailNull() {
|
|
return this.IsNull(this.tableAnagClienti.emailColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetemailNull() {
|
|
this[this.tableAnagClienti.emailColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspIvaNull() {
|
|
return this.IsNull(this.tableAnagClienti.pIvaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpIvaNull() {
|
|
this[this.tableAnagClienti.pIvaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCFNull() {
|
|
return this.IsNull(this.tableAnagClienti.CFColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCFNull() {
|
|
this[this.tableAnagClienti.CFColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IslogoUrlNull() {
|
|
return this.IsNull(this.tableAnagClienti.logoUrlColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetlogoUrlNull() {
|
|
this[this.tableAnagClienti.logoUrlColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsnotaNull() {
|
|
return this.IsNull(this.tableAnagClienti.notaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetnotaNull() {
|
|
this[this.tableAnagClienti.notaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsOldIdxNull() {
|
|
return this.IsNull(this.tableAnagClienti.OldIdxColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetOldIdxNull() {
|
|
this[this.tableAnagClienti.OldIdxColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsAttivoNull() {
|
|
return this.IsNull(this.tableAnagClienti.AttivoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetAttivoNull() {
|
|
this[this.tableAnagClienti.AttivoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiRow[] GetAnagProgettiRows() {
|
|
if ((this.Table.ChildRelations["FK_AnagProgetti_AnagClienti"] == null)) {
|
|
return new AnagProgettiRow[0];
|
|
}
|
|
else {
|
|
return ((AnagProgettiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagProgetti_AnagClienti"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class AnagProgettiRow : global::System.Data.DataRow {
|
|
|
|
private AnagProgettiDataTable tableAnagProgetti;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagProgettiRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAnagProgetti = ((AnagProgettiDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxProgetto {
|
|
get {
|
|
return ((int)(this[this.tableAnagProgetti.idxProgettoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.idxProgettoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxCliente {
|
|
get {
|
|
return ((int)(this[this.tableAnagProgetti.idxClienteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.idxClienteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string nomeProj {
|
|
get {
|
|
return ((string)(this[this.tableAnagProgetti.nomeProjColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.nomeProjColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descrProj {
|
|
get {
|
|
return ((string)(this[this.tableAnagProgetti.descrProjColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.descrProjColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal budgetTime {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagProgetti.budgetTimeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'budgetTime\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.budgetTimeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal budgetMoney {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagProgetti.budgetMoneyColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'budgetMoney\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.budgetMoneyColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int OldIdx {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagProgetti.OldIdxColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'OldIdx\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.OldIdxColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string RagSociale {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagProgetti.RagSocialeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'RagSociale\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.RagSocialeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Attivo {
|
|
get {
|
|
return ((bool)(this[this.tableAnagProgetti.AttivoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.AttivoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string codExt {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagProgetti.codExtColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'codExt\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.codExtColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal totOre {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagProgetti.totOreColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOre\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.totOreColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime avvio {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableAnagProgetti.avvioColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'avvio\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.avvioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime chiusura {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableAnagProgetti.chiusuraColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'chiusura\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.chiusuraColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal totOrePrevMont {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagProgetti.totOrePrevMontColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOrePrevMont\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.totOrePrevMontColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal totOreLast30 {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagProgetti.totOreLast30Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOreLast30\' nella tabella \'AnagProgetti\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti.totOreLast30Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagClientiRow AnagClientiRow {
|
|
get {
|
|
return ((AnagClientiRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagProgetti_AnagClienti"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_AnagProgetti_AnagClienti"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsbudgetTimeNull() {
|
|
return this.IsNull(this.tableAnagProgetti.budgetTimeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetbudgetTimeNull() {
|
|
this[this.tableAnagProgetti.budgetTimeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsbudgetMoneyNull() {
|
|
return this.IsNull(this.tableAnagProgetti.budgetMoneyColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetbudgetMoneyNull() {
|
|
this[this.tableAnagProgetti.budgetMoneyColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsOldIdxNull() {
|
|
return this.IsNull(this.tableAnagProgetti.OldIdxColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetOldIdxNull() {
|
|
this[this.tableAnagProgetti.OldIdxColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsRagSocialeNull() {
|
|
return this.IsNull(this.tableAnagProgetti.RagSocialeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetRagSocialeNull() {
|
|
this[this.tableAnagProgetti.RagSocialeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscodExtNull() {
|
|
return this.IsNull(this.tableAnagProgetti.codExtColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcodExtNull() {
|
|
this[this.tableAnagProgetti.codExtColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreNull() {
|
|
return this.IsNull(this.tableAnagProgetti.totOreColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreNull() {
|
|
this[this.tableAnagProgetti.totOreColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsavvioNull() {
|
|
return this.IsNull(this.tableAnagProgetti.avvioColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetavvioNull() {
|
|
this[this.tableAnagProgetti.avvioColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IschiusuraNull() {
|
|
return this.IsNull(this.tableAnagProgetti.chiusuraColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetchiusuraNull() {
|
|
this[this.tableAnagProgetti.chiusuraColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOrePrevMontNull() {
|
|
return this.IsNull(this.tableAnagProgetti.totOrePrevMontColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOrePrevMontNull() {
|
|
this[this.tableAnagProgetti.totOrePrevMontColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreLast30Null() {
|
|
return this.IsNull(this.tableAnagProgetti.totOreLast30Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreLast30Null() {
|
|
this[this.tableAnagProgetti.totOreLast30Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiRow[] GetAnagFasiRows() {
|
|
if ((this.Table.ChildRelations["FK_AnagFasi_AnagProgetti"] == null)) {
|
|
return new AnagFasiRow[0];
|
|
}
|
|
else {
|
|
return ((AnagFasiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagFasi_AnagProgetti"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class Dipendenti2RuoliRow : global::System.Data.DataRow {
|
|
|
|
private Dipendenti2RuoliDataTable tableDipendenti2Ruoli;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal Dipendenti2RuoliRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableDipendenti2Ruoli = ((Dipendenti2RuoliDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableDipendenti2Ruoli.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDipendenti2Ruoli.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodRuolo {
|
|
get {
|
|
return ((string)(this[this.tableDipendenti2Ruoli.CodRuoloColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDipendenti2Ruoli.CodRuoloColumn] = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class AnagFasiRow : global::System.Data.DataRow {
|
|
|
|
private AnagFasiDataTable tableAnagFasi;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagFasiRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAnagFasi = ((AnagFasiDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxFase {
|
|
get {
|
|
return ((int)(this[this.tableAnagFasi.idxFaseColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.idxFaseColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxProgetto {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagFasi.idxProgettoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxProgetto\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.idxProgettoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string codFase {
|
|
get {
|
|
return ((string)(this[this.tableAnagFasi.codFaseColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.codFaseColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxFaseAncest {
|
|
get {
|
|
return ((int)(this[this.tableAnagFasi.idxFaseAncestColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.idxFaseAncestColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string nomeFase {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagFasi.nomeFaseColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nomeFase\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.nomeFaseColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descrizioneFase {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagFasi.descrizioneFaseColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrizioneFase\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.descrizioneFaseColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool enableTime {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableAnagFasi.enableTimeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'enableTime\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.enableTimeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool enableMoney {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableAnagFasi.enableMoneyColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'enableMoney\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.enableMoneyColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Attivo {
|
|
get {
|
|
return ((bool)(this[this.tableAnagFasi.AttivoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.AttivoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string codClasse {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagFasi.codClasseColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'codClasse\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.codClasseColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string codExt {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagFasi.codExtColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'codExt\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.codExtColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal totOre {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagFasi.totOreColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOre\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.totOreColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal budgetTime {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagFasi.budgetTimeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'budgetTime\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.budgetTimeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal budgetMoney {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagFasi.budgetMoneyColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'budgetMoney\' nella tabella \'AnagFasi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagFasi.budgetMoneyColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiRow AnagProgettiRow {
|
|
get {
|
|
return ((AnagProgettiRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagFasi_AnagProgetti"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_AnagFasi_AnagProgetti"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxProgettoNull() {
|
|
return this.IsNull(this.tableAnagFasi.idxProgettoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxProgettoNull() {
|
|
this[this.tableAnagFasi.idxProgettoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsnomeFaseNull() {
|
|
return this.IsNull(this.tableAnagFasi.nomeFaseColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetnomeFaseNull() {
|
|
this[this.tableAnagFasi.nomeFaseColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdescrizioneFaseNull() {
|
|
return this.IsNull(this.tableAnagFasi.descrizioneFaseColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdescrizioneFaseNull() {
|
|
this[this.tableAnagFasi.descrizioneFaseColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsenableTimeNull() {
|
|
return this.IsNull(this.tableAnagFasi.enableTimeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetenableTimeNull() {
|
|
this[this.tableAnagFasi.enableTimeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsenableMoneyNull() {
|
|
return this.IsNull(this.tableAnagFasi.enableMoneyColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetenableMoneyNull() {
|
|
this[this.tableAnagFasi.enableMoneyColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscodClasseNull() {
|
|
return this.IsNull(this.tableAnagFasi.codClasseColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcodClasseNull() {
|
|
this[this.tableAnagFasi.codClasseColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscodExtNull() {
|
|
return this.IsNull(this.tableAnagFasi.codExtColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcodExtNull() {
|
|
this[this.tableAnagFasi.codExtColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreNull() {
|
|
return this.IsNull(this.tableAnagFasi.totOreColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreNull() {
|
|
this[this.tableAnagFasi.totOreColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsbudgetTimeNull() {
|
|
return this.IsNull(this.tableAnagFasi.budgetTimeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetbudgetTimeNull() {
|
|
this[this.tableAnagFasi.budgetTimeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsbudgetMoneyNull() {
|
|
return this.IsNull(this.tableAnagFasi.budgetMoneyColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetbudgetMoneyNull() {
|
|
this[this.tableAnagFasi.budgetMoneyColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaRow[] GetRegAttivitaRows() {
|
|
if ((this.Table.ChildRelations["FK_RegAttivita_AnagFasi"] == null)) {
|
|
return new RegAttivitaRow[0];
|
|
}
|
|
else {
|
|
return ((RegAttivitaRow[])(base.GetChildRows(this.Table.ChildRelations["FK_RegAttivita_AnagFasi"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class v_logCommUtRow : global::System.Data.DataRow {
|
|
|
|
private v_logCommUtDataTable tablev_logCommUt;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal v_logCommUtRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablev_logCommUt = ((v_logCommUtDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime Data {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tablev_logCommUt.DataColumn]));
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.DataColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tablev_logCommUt.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CognomeNome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logCommUt.CognomeNomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CognomeNome\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.CognomeNomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double h_lav {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tablev_logCommUt.h_lavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'h_lav\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.h_lavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal h_com {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablev_logCommUt.h_comColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'h_com\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.h_comColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool okTimbr {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tablev_logCommUt.okTimbrColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'okTimbr\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.okTimbrColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool okLavCom {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tablev_logCommUt.okLavComColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'okLavCom\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.okLavComColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string progetto {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logCommUt.progettoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'progetto\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.progettoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minOrd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablev_logCommUt.minOrdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minOrd\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.minOrdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minStra {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablev_logCommUt.minStraColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minStra\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.minStraColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minPerm {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablev_logCommUt.minPermColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minPerm\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.minPermColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minFer {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablev_logCommUt.minFerColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minFer\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.minFerColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minMal {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablev_logCommUt.minMalColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minMal\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.minMalColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minFest {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablev_logCommUt.minFestColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minFest\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.minFestColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minMpp {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablev_logCommUt.minMppColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minMpp\' nella tabella \'v_logCommUt\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logCommUt.minMppColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCognomeNomeNull() {
|
|
return this.IsNull(this.tablev_logCommUt.CognomeNomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCognomeNomeNull() {
|
|
this[this.tablev_logCommUt.CognomeNomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Ish_lavNull() {
|
|
return this.IsNull(this.tablev_logCommUt.h_lavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Seth_lavNull() {
|
|
this[this.tablev_logCommUt.h_lavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Ish_comNull() {
|
|
return this.IsNull(this.tablev_logCommUt.h_comColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Seth_comNull() {
|
|
this[this.tablev_logCommUt.h_comColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsokTimbrNull() {
|
|
return this.IsNull(this.tablev_logCommUt.okTimbrColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetokTimbrNull() {
|
|
this[this.tablev_logCommUt.okTimbrColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsokLavComNull() {
|
|
return this.IsNull(this.tablev_logCommUt.okLavComColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetokLavComNull() {
|
|
this[this.tablev_logCommUt.okLavComColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsprogettoNull() {
|
|
return this.IsNull(this.tablev_logCommUt.progettoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetprogettoNull() {
|
|
this[this.tablev_logCommUt.progettoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminOrdNull() {
|
|
return this.IsNull(this.tablev_logCommUt.minOrdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminOrdNull() {
|
|
this[this.tablev_logCommUt.minOrdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminStraNull() {
|
|
return this.IsNull(this.tablev_logCommUt.minStraColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminStraNull() {
|
|
this[this.tablev_logCommUt.minStraColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminPermNull() {
|
|
return this.IsNull(this.tablev_logCommUt.minPermColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminPermNull() {
|
|
this[this.tablev_logCommUt.minPermColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminFerNull() {
|
|
return this.IsNull(this.tablev_logCommUt.minFerColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminFerNull() {
|
|
this[this.tablev_logCommUt.minFerColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminMalNull() {
|
|
return this.IsNull(this.tablev_logCommUt.minMalColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminMalNull() {
|
|
this[this.tablev_logCommUt.minMalColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminFestNull() {
|
|
return this.IsNull(this.tablev_logCommUt.minFestColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminFestNull() {
|
|
this[this.tablev_logCommUt.minFestColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminMppNull() {
|
|
return this.IsNull(this.tablev_logCommUt.minMppColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminMppNull() {
|
|
this[this.tablev_logCommUt.minMppColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class RegAttivitaRow : global::System.Data.DataRow {
|
|
|
|
private RegAttivitaDataTable tableRegAttivita;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal RegAttivitaRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableRegAttivita = ((RegAttivitaDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxRA {
|
|
get {
|
|
return ((int)(this[this.tableRegAttivita.idxRAColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRegAttivita.idxRAColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableRegAttivita.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRegAttivita.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxFase {
|
|
get {
|
|
return ((int)(this[this.tableRegAttivita.idxFaseColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRegAttivita.idxFaseColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime inizio {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableRegAttivita.inizioColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRegAttivita.inizioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime fine {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableRegAttivita.fineColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRegAttivita.fineColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descrizione {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableRegAttivita.descrizioneColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrizione\' nella tabella \'RegAttivita\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableRegAttivita.descrizioneColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal oreTot {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableRegAttivita.oreTotColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreTot\' nella tabella \'RegAttivita\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableRegAttivita.oreTotColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal importo {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableRegAttivita.importoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'importo\' nella tabella \'RegAttivita\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableRegAttivita.importoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiRow AnagFasiRow {
|
|
get {
|
|
return ((AnagFasiRow)(this.GetParentRow(this.Table.ParentRelations["FK_RegAttivita_AnagFasi"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_RegAttivita_AnagFasi"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiRow DipendentiRow {
|
|
get {
|
|
return ((DipendentiRow)(this.GetParentRow(this.Table.ParentRelations["FK_RegAttivita_Dipendenti"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_RegAttivita_Dipendenti"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdescrizioneNull() {
|
|
return this.IsNull(this.tableRegAttivita.descrizioneColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdescrizioneNull() {
|
|
this[this.tableRegAttivita.descrizioneColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreTotNull() {
|
|
return this.IsNull(this.tableRegAttivita.oreTotColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreTotNull() {
|
|
this[this.tableRegAttivita.oreTotColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsimportoNull() {
|
|
return this.IsNull(this.tableRegAttivita.importoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetimportoNull() {
|
|
this[this.tableRegAttivita.importoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class CalendFesteFerieRow : global::System.Data.DataRow {
|
|
|
|
private CalendFesteFerieDataTable tableCalendFesteFerie;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal CalendFesteFerieRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableCalendFesteFerie = ((CalendFesteFerieDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime data {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableCalendFesteFerie.dataColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCalendFesteFerie.dataColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descrizione {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableCalendFesteFerie.descrizioneColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrizione\' nella tabella \'CalendFesteFerie\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableCalendFesteFerie.descrizioneColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdescrizioneNull() {
|
|
return this.IsNull(this.tableCalendFesteFerie.descrizioneColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdescrizioneNull() {
|
|
this[this.tableCalendFesteFerie.descrizioneColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class AnagOrariRow : global::System.Data.DataRow {
|
|
|
|
private AnagOrariDataTable tableAnagOrari;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagOrariRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAnagOrari = ((AnagOrariDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string codOrario {
|
|
get {
|
|
return ((string)(this[this.tableAnagOrari.codOrarioColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.codOrarioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descOrario {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagOrari.descOrarioColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'descOrario\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.descOrarioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double oreOrdSett {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableAnagOrari.oreOrdSettColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreOrdSett\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oreOrdSettColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double oreStraordAss {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableAnagOrari.oreStraordAssColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreStraordAss\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oreStraordAssColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool autoCompOreOrd {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableAnagOrari.autoCompOreOrdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'autoCompOreOrd\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.autoCompOreOrdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double oreLun {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableAnagOrari.oreLunColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreLun\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oreLunColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double oreMar {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableAnagOrari.oreMarColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreMar\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oreMarColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double oreMer {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableAnagOrari.oreMerColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreMer\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oreMerColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double oreGio {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableAnagOrari.oreGioColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreGio\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oreGioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double oreVen {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableAnagOrari.oreVenColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreVen\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oreVenColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double oreSab {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableAnagOrari.oreSabColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreSab\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oreSabColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double oreDom {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableAnagOrari.oreDomColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreDom\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oreDomColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.TimeSpan oraInizio_1 {
|
|
get {
|
|
try {
|
|
return ((global::System.TimeSpan)(this[this.tableAnagOrari.oraInizio_1Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oraInizio_1\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oraInizio_1Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.TimeSpan oraFine_1 {
|
|
get {
|
|
try {
|
|
return ((global::System.TimeSpan)(this[this.tableAnagOrari.oraFine_1Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oraFine_1\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oraFine_1Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.TimeSpan oraInizio_2 {
|
|
get {
|
|
try {
|
|
return ((global::System.TimeSpan)(this[this.tableAnagOrari.oraInizio_2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oraInizio_2\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oraInizio_2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.TimeSpan oraFine_2 {
|
|
get {
|
|
try {
|
|
return ((global::System.TimeSpan)(this[this.tableAnagOrari.oraFine_2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oraFine_2\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oraFine_2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.TimeSpan oraInizio_3 {
|
|
get {
|
|
try {
|
|
return ((global::System.TimeSpan)(this[this.tableAnagOrari.oraInizio_3Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oraInizio_3\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oraInizio_3Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.TimeSpan oraFine_3 {
|
|
get {
|
|
try {
|
|
return ((global::System.TimeSpan)(this[this.tableAnagOrari.oraFine_3Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oraFine_3\' nella tabella \'AnagOrari\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagOrari.oraFine_3Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdescOrarioNull() {
|
|
return this.IsNull(this.tableAnagOrari.descOrarioColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdescOrarioNull() {
|
|
this[this.tableAnagOrari.descOrarioColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreOrdSettNull() {
|
|
return this.IsNull(this.tableAnagOrari.oreOrdSettColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreOrdSettNull() {
|
|
this[this.tableAnagOrari.oreOrdSettColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreStraordAssNull() {
|
|
return this.IsNull(this.tableAnagOrari.oreStraordAssColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreStraordAssNull() {
|
|
this[this.tableAnagOrari.oreStraordAssColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsautoCompOreOrdNull() {
|
|
return this.IsNull(this.tableAnagOrari.autoCompOreOrdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetautoCompOreOrdNull() {
|
|
this[this.tableAnagOrari.autoCompOreOrdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreLunNull() {
|
|
return this.IsNull(this.tableAnagOrari.oreLunColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreLunNull() {
|
|
this[this.tableAnagOrari.oreLunColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreMarNull() {
|
|
return this.IsNull(this.tableAnagOrari.oreMarColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreMarNull() {
|
|
this[this.tableAnagOrari.oreMarColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreMerNull() {
|
|
return this.IsNull(this.tableAnagOrari.oreMerColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreMerNull() {
|
|
this[this.tableAnagOrari.oreMerColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreGioNull() {
|
|
return this.IsNull(this.tableAnagOrari.oreGioColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreGioNull() {
|
|
this[this.tableAnagOrari.oreGioColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreVenNull() {
|
|
return this.IsNull(this.tableAnagOrari.oreVenColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreVenNull() {
|
|
this[this.tableAnagOrari.oreVenColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreSabNull() {
|
|
return this.IsNull(this.tableAnagOrari.oreSabColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreSabNull() {
|
|
this[this.tableAnagOrari.oreSabColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreDomNull() {
|
|
return this.IsNull(this.tableAnagOrari.oreDomColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreDomNull() {
|
|
this[this.tableAnagOrari.oreDomColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoraInizio_1Null() {
|
|
return this.IsNull(this.tableAnagOrari.oraInizio_1Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoraInizio_1Null() {
|
|
this[this.tableAnagOrari.oraInizio_1Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoraFine_1Null() {
|
|
return this.IsNull(this.tableAnagOrari.oraFine_1Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoraFine_1Null() {
|
|
this[this.tableAnagOrari.oraFine_1Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoraInizio_2Null() {
|
|
return this.IsNull(this.tableAnagOrari.oraInizio_2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoraInizio_2Null() {
|
|
this[this.tableAnagOrari.oraInizio_2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoraFine_2Null() {
|
|
return this.IsNull(this.tableAnagOrari.oraFine_2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoraFine_2Null() {
|
|
this[this.tableAnagOrari.oraFine_2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoraInizio_3Null() {
|
|
return this.IsNull(this.tableAnagOrari.oraInizio_3Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoraInizio_3Null() {
|
|
this[this.tableAnagOrari.oraInizio_3Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoraFine_3Null() {
|
|
return this.IsNull(this.tableAnagOrari.oraFine_3Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoraFine_3Null() {
|
|
this[this.tableAnagOrari.oraFine_3Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiRow[] GetDipendentiRows() {
|
|
if ((this.Table.ChildRelations["FK_Dipendenti_AnagOrari"] == null)) {
|
|
return new DipendentiRow[0];
|
|
}
|
|
else {
|
|
return ((DipendentiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Dipendenti_AnagOrari"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class TimbMeseExplRow : global::System.Data.DataRow {
|
|
|
|
private TimbMeseExplDataTable tableTimbMeseExpl;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TimbMeseExplRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableTimbMeseExpl = ((TimbMeseExplDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int Anno {
|
|
get {
|
|
return ((int)(this[this.tableTimbMeseExpl.AnnoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.AnnoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int Mese {
|
|
get {
|
|
return ((int)(this[this.tableTimbMeseExpl.MeseColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.MeseColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableTimbMeseExpl.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CognomeNome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTimbMeseExpl.CognomeNomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CognomeNome\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.CognomeNomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double totOreOrd {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbMeseExpl.totOreOrdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOreOrd\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.totOreOrdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double totOreFest {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbMeseExpl.totOreFestColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOreFest\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.totOreFestColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double totOreDaLav {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbMeseExpl.totOreDaLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOreDaLav\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.totOreDaLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double totOrePerm {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbMeseExpl.totOrePermColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOrePerm\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.totOrePermColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double totOreFer {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbMeseExpl.totOreFerColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOreFer\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.totOreFerColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double totOreMal {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbMeseExpl.totOreMalColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOreMal\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.totOreMalColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double totLav {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbMeseExpl.totLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totLav\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.totLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double totOreNonLav {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbMeseExpl.totOreNonLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOreNonLav\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.totOreNonLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double totOreStra {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTimbMeseExpl.totOreStraColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOreStra\' nella tabella \'TimbMeseExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTimbMeseExpl.totOreStraColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCognomeNomeNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.CognomeNomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCognomeNomeNull() {
|
|
this[this.tableTimbMeseExpl.CognomeNomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreOrdNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.totOreOrdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreOrdNull() {
|
|
this[this.tableTimbMeseExpl.totOreOrdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreFestNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.totOreFestColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreFestNull() {
|
|
this[this.tableTimbMeseExpl.totOreFestColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreDaLavNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.totOreDaLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreDaLavNull() {
|
|
this[this.tableTimbMeseExpl.totOreDaLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOrePermNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.totOrePermColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOrePermNull() {
|
|
this[this.tableTimbMeseExpl.totOrePermColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreFerNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.totOreFerColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreFerNull() {
|
|
this[this.tableTimbMeseExpl.totOreFerColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreMalNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.totOreMalColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreMalNull() {
|
|
this[this.tableTimbMeseExpl.totOreMalColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotLavNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.totLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotLavNull() {
|
|
this[this.tableTimbMeseExpl.totLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreNonLavNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.totOreNonLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreNonLavNull() {
|
|
this[this.tableTimbMeseExpl.totOreNonLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreStraNull() {
|
|
return this.IsNull(this.tableTimbMeseExpl.totOreStraColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreStraNull() {
|
|
this[this.tableTimbMeseExpl.totOreStraColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class GiustificativiRow : global::System.Data.DataRow {
|
|
|
|
private GiustificativiDataTable tableGiustificativi;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal GiustificativiRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableGiustificativi = ((GiustificativiDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime dataLav {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableGiustificativi.dataLavColumn]));
|
|
}
|
|
set {
|
|
this[this.tableGiustificativi.dataLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableGiustificativi.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableGiustificativi.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string codGiust {
|
|
get {
|
|
return ((string)(this[this.tableGiustificativi.codGiustColumn]));
|
|
}
|
|
set {
|
|
this[this.tableGiustificativi.codGiustColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minuti {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableGiustificativi.minutiColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minuti\' nella tabella \'Giustificativi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableGiustificativi.minutiColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminutiNull() {
|
|
return this.IsNull(this.tableGiustificativi.minutiColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminutiNull() {
|
|
this[this.tableGiustificativi.minutiColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class stp_DipendentiAndAnomalieRow : global::System.Data.DataRow {
|
|
|
|
private stp_DipendentiAndAnomalieDataTable tablestp_DipendentiAndAnomalie;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_DipendentiAndAnomalieRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablestp_DipendentiAndAnomalie = ((stp_DipendentiAndAnomalieDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tablestp_DipendentiAndAnomalie.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tablestp_DipendentiAndAnomalie.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CognomeNome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablestp_DipendentiAndAnomalie.CognomeNomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CognomeNome\' nella tabella \'stp_DipendentiAndAnomalie\' è" +
|
|
" DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_DipendentiAndAnomalie.CognomeNomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string email {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablestp_DipendentiAndAnomalie.emailColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'email\' nella tabella \'stp_DipendentiAndAnomalie\' è DBNul" +
|
|
"l.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_DipendentiAndAnomalie.emailColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCognomeNomeNull() {
|
|
return this.IsNull(this.tablestp_DipendentiAndAnomalie.CognomeNomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCognomeNomeNull() {
|
|
this[this.tablestp_DipendentiAndAnomalie.CognomeNomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsemailNull() {
|
|
return this.IsNull(this.tablestp_DipendentiAndAnomalie.emailColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetemailNull() {
|
|
this[this.tablestp_DipendentiAndAnomalie.emailColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class TE_RA_ExplRow : global::System.Data.DataRow {
|
|
|
|
private TE_RA_ExplDataTable tableTE_RA_Expl;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TE_RA_ExplRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableTE_RA_Expl = ((TE_RA_ExplDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime dataLav {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableTE_RA_Expl.dataLavColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.dataLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableTE_RA_Expl.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CognomeNome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTE_RA_Expl.CognomeNomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CognomeNome\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.CognomeNomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double h_lav {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTE_RA_Expl.h_lavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'h_lav\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.h_lavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double h_giust {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableTE_RA_Expl.h_giustColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'h_giust\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.h_giustColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal h_com {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableTE_RA_Expl.h_comColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'h_com\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.h_comColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string progetti {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTE_RA_Expl.progettiColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'progetti\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.progettiColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int okLavCom {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.okLavComColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'okLavCom\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.okLavComColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool isOkTim {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTE_RA_Expl.isOkTimColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'isOkTim\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.isOkTimColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool isOkApp {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTE_RA_Expl.isOkAppColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'isOkApp\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.isOkAppColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int isOkLav {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.isOkLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'isOkLav\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.isOkLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int isOk {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.isOkColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'isOk\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.isOkColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool block {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTE_RA_Expl.blockColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'block\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.blockColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minOrd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minOrdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minOrd\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minOrdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minNonLav {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minNonLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minNonLav\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minNonLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minStra {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minStraColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minStra\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minStraColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minPerm {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minPermColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minPerm\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minPermColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minFer {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minFerColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minFer\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minFerColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minMal {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minMalColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minMal\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minMalColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minFest {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minFestColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minFest\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minFestColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minRegAtt {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minRegAttColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minRegAtt\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minRegAttColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime entrata_1 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTE_RA_Expl.entrata_1Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'entrata_1\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.entrata_1Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime uscita_1 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTE_RA_Expl.uscita_1Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'uscita_1\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.uscita_1Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime entrata_2 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTE_RA_Expl.entrata_2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'entrata_2\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.entrata_2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime uscita_2 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTE_RA_Expl.uscita_2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'uscita_2\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.uscita_2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime entrata_3 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTE_RA_Expl.entrata_3Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'entrata_3\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.entrata_3Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime uscita_3 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTE_RA_Expl.uscita_3Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'uscita_3\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.uscita_3Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime entrata_4 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTE_RA_Expl.entrata_4Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'entrata_4\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.entrata_4Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime uscita_4 {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableTE_RA_Expl.uscita_4Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'uscita_4\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.uscita_4Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minArcoPres {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minArcoPresColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minArcoPres\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minArcoPresColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string chkFunCod {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTE_RA_Expl.chkFunCodColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'chkFunCod\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.chkFunCodColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string chkFunRes {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableTE_RA_Expl.chkFunResColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'chkFunRes\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.chkFunResColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int minMpp {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableTE_RA_Expl.minMppColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minMpp\' nella tabella \'TE_RA_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTE_RA_Expl.minMppColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCognomeNomeNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.CognomeNomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCognomeNomeNull() {
|
|
this[this.tableTE_RA_Expl.CognomeNomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Ish_lavNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.h_lavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Seth_lavNull() {
|
|
this[this.tableTE_RA_Expl.h_lavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Ish_giustNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.h_giustColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Seth_giustNull() {
|
|
this[this.tableTE_RA_Expl.h_giustColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Ish_comNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.h_comColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Seth_comNull() {
|
|
this[this.tableTE_RA_Expl.h_comColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsprogettiNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.progettiColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetprogettiNull() {
|
|
this[this.tableTE_RA_Expl.progettiColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsokLavComNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.okLavComColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetokLavComNull() {
|
|
this[this.tableTE_RA_Expl.okLavComColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsisOkTimNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.isOkTimColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetisOkTimNull() {
|
|
this[this.tableTE_RA_Expl.isOkTimColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsisOkAppNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.isOkAppColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetisOkAppNull() {
|
|
this[this.tableTE_RA_Expl.isOkAppColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsisOkLavNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.isOkLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetisOkLavNull() {
|
|
this[this.tableTE_RA_Expl.isOkLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsisOkNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.isOkColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetisOkNull() {
|
|
this[this.tableTE_RA_Expl.isOkColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsblockNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.blockColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetblockNull() {
|
|
this[this.tableTE_RA_Expl.blockColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminOrdNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minOrdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminOrdNull() {
|
|
this[this.tableTE_RA_Expl.minOrdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminNonLavNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minNonLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminNonLavNull() {
|
|
this[this.tableTE_RA_Expl.minNonLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminStraNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minStraColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminStraNull() {
|
|
this[this.tableTE_RA_Expl.minStraColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminPermNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minPermColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminPermNull() {
|
|
this[this.tableTE_RA_Expl.minPermColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminFerNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minFerColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminFerNull() {
|
|
this[this.tableTE_RA_Expl.minFerColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminMalNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minMalColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminMalNull() {
|
|
this[this.tableTE_RA_Expl.minMalColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminFestNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minFestColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminFestNull() {
|
|
this[this.tableTE_RA_Expl.minFestColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminRegAttNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minRegAttColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminRegAttNull() {
|
|
this[this.tableTE_RA_Expl.minRegAttColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isentrata_1Null() {
|
|
return this.IsNull(this.tableTE_RA_Expl.entrata_1Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setentrata_1Null() {
|
|
this[this.tableTE_RA_Expl.entrata_1Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isuscita_1Null() {
|
|
return this.IsNull(this.tableTE_RA_Expl.uscita_1Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setuscita_1Null() {
|
|
this[this.tableTE_RA_Expl.uscita_1Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isentrata_2Null() {
|
|
return this.IsNull(this.tableTE_RA_Expl.entrata_2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setentrata_2Null() {
|
|
this[this.tableTE_RA_Expl.entrata_2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isuscita_2Null() {
|
|
return this.IsNull(this.tableTE_RA_Expl.uscita_2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setuscita_2Null() {
|
|
this[this.tableTE_RA_Expl.uscita_2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isentrata_3Null() {
|
|
return this.IsNull(this.tableTE_RA_Expl.entrata_3Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setentrata_3Null() {
|
|
this[this.tableTE_RA_Expl.entrata_3Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isuscita_3Null() {
|
|
return this.IsNull(this.tableTE_RA_Expl.uscita_3Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setuscita_3Null() {
|
|
this[this.tableTE_RA_Expl.uscita_3Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isentrata_4Null() {
|
|
return this.IsNull(this.tableTE_RA_Expl.entrata_4Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setentrata_4Null() {
|
|
this[this.tableTE_RA_Expl.entrata_4Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Isuscita_4Null() {
|
|
return this.IsNull(this.tableTE_RA_Expl.uscita_4Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Setuscita_4Null() {
|
|
this[this.tableTE_RA_Expl.uscita_4Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminArcoPresNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minArcoPresColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminArcoPresNull() {
|
|
this[this.tableTE_RA_Expl.minArcoPresColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IschkFunCodNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.chkFunCodColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetchkFunCodNull() {
|
|
this[this.tableTE_RA_Expl.chkFunCodColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IschkFunResNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.chkFunResColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetchkFunResNull() {
|
|
this[this.tableTE_RA_Expl.chkFunResColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminMppNull() {
|
|
return this.IsNull(this.tableTE_RA_Expl.minMppColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminMppNull() {
|
|
this[this.tableTE_RA_Expl.minMppColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class regAttDayExplRow : global::System.Data.DataRow {
|
|
|
|
private regAttDayExplDataTable tableregAttDayExpl;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal regAttDayExplRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableregAttDayExpl = ((regAttDayExplDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxDipendente {
|
|
get {
|
|
return ((int)(this[this.tableregAttDayExpl.idxDipendenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.idxDipendenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime inizio {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableregAttDayExpl.inizioColumn]));
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.inizioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime fine {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableregAttDayExpl.fineColumn]));
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.fineColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descrizione {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableregAttDayExpl.descrizioneColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrizione\' nella tabella \'regAttDayExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.descrizioneColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal oreTot {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableregAttDayExpl.oreTotColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'oreTot\' nella tabella \'regAttDayExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.oreTotColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal importo {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableregAttDayExpl.importoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'importo\' nella tabella \'regAttDayExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.importoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string RagSociale {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableregAttDayExpl.RagSocialeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'RagSociale\' nella tabella \'regAttDayExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.RagSocialeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string nomeProj {
|
|
get {
|
|
return ((string)(this[this.tableregAttDayExpl.nomeProjColumn]));
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.nomeProjColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string nomeFase {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableregAttDayExpl.nomeFaseColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nomeFase\' nella tabella \'regAttDayExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.nomeFaseColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal minTot {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableregAttDayExpl.minTotColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'minTot\' nella tabella \'regAttDayExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.minTotColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxRA {
|
|
get {
|
|
return ((int)(this[this.tableregAttDayExpl.idxRAColumn]));
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.idxRAColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CognomeNome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableregAttDayExpl.CognomeNomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CognomeNome\' nella tabella \'regAttDayExpl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableregAttDayExpl.CognomeNomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdescrizioneNull() {
|
|
return this.IsNull(this.tableregAttDayExpl.descrizioneColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdescrizioneNull() {
|
|
this[this.tableregAttDayExpl.descrizioneColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreTotNull() {
|
|
return this.IsNull(this.tableregAttDayExpl.oreTotColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreTotNull() {
|
|
this[this.tableregAttDayExpl.oreTotColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsimportoNull() {
|
|
return this.IsNull(this.tableregAttDayExpl.importoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetimportoNull() {
|
|
this[this.tableregAttDayExpl.importoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsRagSocialeNull() {
|
|
return this.IsNull(this.tableregAttDayExpl.RagSocialeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetRagSocialeNull() {
|
|
this[this.tableregAttDayExpl.RagSocialeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsnomeFaseNull() {
|
|
return this.IsNull(this.tableregAttDayExpl.nomeFaseColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetnomeFaseNull() {
|
|
this[this.tableregAttDayExpl.nomeFaseColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsminTotNull() {
|
|
return this.IsNull(this.tableregAttDayExpl.minTotColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetminTotNull() {
|
|
this[this.tableregAttDayExpl.minTotColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCognomeNomeNull() {
|
|
return this.IsNull(this.tableregAttDayExpl.CognomeNomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCognomeNomeNull() {
|
|
this[this.tableregAttDayExpl.CognomeNomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class AnagProgetti_ExplRow : global::System.Data.DataRow {
|
|
|
|
private AnagProgetti_ExplDataTable tableAnagProgetti_Expl;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AnagProgetti_ExplRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAnagProgetti_Expl = ((AnagProgetti_ExplDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string RagSociale {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagProgetti_Expl.RagSocialeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'RagSociale\' nella tabella \'AnagProgetti_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.RagSocialeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxProgetto {
|
|
get {
|
|
return ((int)(this[this.tableAnagProgetti_Expl.idxProgettoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.idxProgettoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxCliente {
|
|
get {
|
|
return ((int)(this[this.tableAnagProgetti_Expl.idxClienteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.idxClienteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string nomeProj {
|
|
get {
|
|
return ((string)(this[this.tableAnagProgetti_Expl.nomeProjColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.nomeProjColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descrProj {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagProgetti_Expl.descrProjColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrProj\' nella tabella \'AnagProgetti_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.descrProjColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal budgetTime {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagProgetti_Expl.budgetTimeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'budgetTime\' nella tabella \'AnagProgetti_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.budgetTimeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal budgetMoney {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagProgetti_Expl.budgetMoneyColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'budgetMoney\' nella tabella \'AnagProgetti_Expl\' è DBNull." +
|
|
"", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.budgetMoneyColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int OldIdx {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagProgetti_Expl.OldIdxColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'OldIdx\' nella tabella \'AnagProgetti_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.OldIdxColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool Attivo {
|
|
get {
|
|
return ((bool)(this[this.tableAnagProgetti_Expl.AttivoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.AttivoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string codExt {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableAnagProgetti_Expl.codExtColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'codExt\' nella tabella \'AnagProgetti_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.codExtColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal totOre {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableAnagProgetti_Expl.totOreColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'totOre\' nella tabella \'AnagProgetti_Expl\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagProgetti_Expl.totOreColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsRagSocialeNull() {
|
|
return this.IsNull(this.tableAnagProgetti_Expl.RagSocialeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetRagSocialeNull() {
|
|
this[this.tableAnagProgetti_Expl.RagSocialeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdescrProjNull() {
|
|
return this.IsNull(this.tableAnagProgetti_Expl.descrProjColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdescrProjNull() {
|
|
this[this.tableAnagProgetti_Expl.descrProjColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsbudgetTimeNull() {
|
|
return this.IsNull(this.tableAnagProgetti_Expl.budgetTimeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetbudgetTimeNull() {
|
|
this[this.tableAnagProgetti_Expl.budgetTimeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsbudgetMoneyNull() {
|
|
return this.IsNull(this.tableAnagProgetti_Expl.budgetMoneyColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetbudgetMoneyNull() {
|
|
this[this.tableAnagProgetti_Expl.budgetMoneyColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsOldIdxNull() {
|
|
return this.IsNull(this.tableAnagProgetti_Expl.OldIdxColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetOldIdxNull() {
|
|
this[this.tableAnagProgetti_Expl.OldIdxColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscodExtNull() {
|
|
return this.IsNull(this.tableAnagProgetti_Expl.codExtColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcodExtNull() {
|
|
this[this.tableAnagProgetti_Expl.codExtColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IstotOreNull() {
|
|
return this.IsNull(this.tableAnagProgetti_Expl.totOreColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SettotOreNull() {
|
|
this[this.tableAnagProgetti_Expl.totOreColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class RegistroEventiRow : global::System.Data.DataRow {
|
|
|
|
private RegistroEventiDataTable tableRegistroEventi;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal RegistroEventiRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableRegistroEventi = ((RegistroEventiDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataOra {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableRegistroEventi.DataOraColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRegistroEventi.DataOraColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string evento {
|
|
get {
|
|
return ((string)(this[this.tableRegistroEventi.eventoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRegistroEventi.eventoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string commento {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableRegistroEventi.commentoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'commento\' nella tabella \'RegistroEventi\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableRegistroEventi.commentoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscommentoNull() {
|
|
return this.IsNull(this.tableRegistroEventi.commentoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcommentoNull() {
|
|
this[this.tableRegistroEventi.commentoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class TimbratureRowChangeEvent : global::System.EventArgs {
|
|
|
|
private TimbratureRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureRowChangeEvent(TimbratureRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class TimbratureExplRowChangeEvent : global::System.EventArgs {
|
|
|
|
private TimbratureExplRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureExplRowChangeEvent(TimbratureExplRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureExplRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class AnagDevicesRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AnagDevicesRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagDevicesRowChangeEvent(AnagDevicesRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagDevicesRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class DipendentiRowChangeEvent : global::System.EventArgs {
|
|
|
|
private DipendentiRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiRowChangeEvent(DipendentiRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class AnagClientiRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AnagClientiRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagClientiRowChangeEvent(AnagClientiRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagClientiRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class AnagProgettiRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AnagProgettiRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiRowChangeEvent(AnagProgettiRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class Dipendenti2RuoliRowChangeEvent : global::System.EventArgs {
|
|
|
|
private Dipendenti2RuoliRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Dipendenti2RuoliRowChangeEvent(Dipendenti2RuoliRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Dipendenti2RuoliRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class AnagFasiRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AnagFasiRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiRowChangeEvent(AnagFasiRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class v_logCommUtRowChangeEvent : global::System.EventArgs {
|
|
|
|
private v_logCommUtRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logCommUtRowChangeEvent(v_logCommUtRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logCommUtRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class RegAttivitaRowChangeEvent : global::System.EventArgs {
|
|
|
|
private RegAttivitaRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaRowChangeEvent(RegAttivitaRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class CalendFesteFerieRowChangeEvent : global::System.EventArgs {
|
|
|
|
private CalendFesteFerieRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieRowChangeEvent(CalendFesteFerieRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class AnagOrariRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AnagOrariRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagOrariRowChangeEvent(AnagOrariRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagOrariRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class TimbMeseExplRowChangeEvent : global::System.EventArgs {
|
|
|
|
private TimbMeseExplRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbMeseExplRowChangeEvent(TimbMeseExplRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbMeseExplRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class GiustificativiRowChangeEvent : global::System.EventArgs {
|
|
|
|
private GiustificativiRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public GiustificativiRowChangeEvent(GiustificativiRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public GiustificativiRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class stp_DipendentiAndAnomalieRowChangeEvent : global::System.EventArgs {
|
|
|
|
private stp_DipendentiAndAnomalieRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_DipendentiAndAnomalieRowChangeEvent(stp_DipendentiAndAnomalieRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_DipendentiAndAnomalieRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class TE_RA_ExplRowChangeEvent : global::System.EventArgs {
|
|
|
|
private TE_RA_ExplRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TE_RA_ExplRowChangeEvent(TE_RA_ExplRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TE_RA_ExplRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class regAttDayExplRowChangeEvent : global::System.EventArgs {
|
|
|
|
private regAttDayExplRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public regAttDayExplRowChangeEvent(regAttDayExplRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public regAttDayExplRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class AnagProgetti_ExplRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AnagProgetti_ExplRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgetti_ExplRowChangeEvent(AnagProgetti_ExplRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgetti_ExplRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class RegistroEventiRowChangeEvent : global::System.EventArgs {
|
|
|
|
private RegistroEventiRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegistroEventiRowChangeEvent(RegistroEventiRow row, global::System.Data.DataRowAction action) {
|
|
this.eventRow = row;
|
|
this.eventAction = action;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegistroEventiRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
namespace GPW_data.DS_ApplicazioneTableAdapters {
|
|
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class TimbratureTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "Timbrature";
|
|
tableMapping.ColumnMappings.Add("dataOra", "dataOra");
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("entrata", "entrata");
|
|
tableMapping.ColumnMappings.Add("IPv4", "IPv4");
|
|
tableMapping.ColumnMappings.Add("CodTipoTimb", "CodTipoTimb");
|
|
tableMapping.ColumnMappings.Add("Approv", "Approv");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Timbrature] WHERE (([dataOra] = @Original_dataOra) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_entrata = 1 AND [entrata] IS NULL) OR ([entrata] = @Original_entrata)) AND ((@IsNull_IPv4 = 1 AND [IPv4] IS NULL) OR ([IPv4] = @Original_IPv4)) AND ((@IsNull_CodTipoTimb = 1 AND [CodTipoTimb] IS NULL) OR ([CodTipoTimb] = @Original_CodTipoTimb)) AND ((@IsNull_Approv = 1 AND [Approv] IS NULL) OR ([Approv] = @Original_Approv)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IPv4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IPv4", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IPv4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IPv4", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoTimb", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoTimb", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoTimb", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoTimb", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Approv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Approv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Approv", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Approv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Timbrature] ([dataOra], [idxDipendente], [entrata], [IPv4], [CodTipoTimb], [Approv]) VALUES (@dataOra, @idxDipendente, @entrata, @IPv4, @CodTipoTimb, @Approv);
|
|
SELECT dataOra, idxDipendente, entrata, IPv4, CodTipoTimb, Approv FROM Timbrature WHERE (dataOra = @dataOra) AND (idxDipendente = @idxDipendente)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IPv4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IPv4", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoTimb", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoTimb", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Approv", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Approv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Timbrature] SET [dataOra] = @dataOra, [idxDipendente] = @idxDipendente, [entrata] = @entrata, [IPv4] = @IPv4, [CodTipoTimb] = @CodTipoTimb, [Approv] = @Approv WHERE (([dataOra] = @Original_dataOra) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_entrata = 1 AND [entrata] IS NULL) OR ([entrata] = @Original_entrata)) AND ((@IsNull_IPv4 = 1 AND [IPv4] IS NULL) OR ([IPv4] = @Original_IPv4)) AND ((@IsNull_CodTipoTimb = 1 AND [CodTipoTimb] IS NULL) OR ([CodTipoTimb] = @Original_CodTipoTimb)) AND ((@IsNull_Approv = 1 AND [Approv] IS NULL) OR ([Approv] = @Original_Approv)));
|
|
SELECT dataOra, idxDipendente, entrata, IPv4, CodTipoTimb, Approv FROM Timbrature WHERE (dataOra = @dataOra) AND (idxDipendente = @idxDipendente)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IPv4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IPv4", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoTimb", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoTimb", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Approv", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Approv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IPv4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IPv4", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IPv4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IPv4", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodTipoTimb", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoTimb", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoTimb", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoTimb", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Approv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Approv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Approv", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Approv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT * FROM dbo.Timbrature";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_Timbr_Delete";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_Timbr_getByDipDataOra";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_Timbr_getByDipDateInterval";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_Timbr_getLastByDip";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_Timbr_NonAppr";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.stp_Timbr_NonAppr_ByDip";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[7].Connection = this.Connection;
|
|
this._commandCollection[7].CommandText = "dbo.stp_insTimbMan";
|
|
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isEntrata", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IPv4", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoTimb", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Approv", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[8].Connection = this.Connection;
|
|
this._commandCollection[8].CommandText = "dbo.stp_Timbr_Approva";
|
|
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[9].Connection = this.Connection;
|
|
this._commandCollection[9].CommandText = "dbo.stp_Timbr_modifica";
|
|
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOraNew", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[10].Connection = this.Connection;
|
|
this._commandCollection[10].CommandText = "dbo.stp_Timbr_SwapInOut";
|
|
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.TimbratureDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.TimbratureDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.TimbratureDataTable dataTable = new DS_Applicazione.TimbratureDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureDataTable getByDipDataOra(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataOra) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataOra.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataOra.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureDataTable dataTable = new DS_Applicazione.TimbratureDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureDataTable getByIdxDipPeriodo(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[3];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureDataTable dataTable = new DS_Applicazione.TimbratureDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureDataTable getLastByDip(global::System.Nullable<int> idxDipendente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureDataTable dataTable = new DS_Applicazione.TimbratureDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureDataTable getNonAppr(global::System.Nullable<int> idxDipendente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureDataTable dataTable = new DS_Applicazione.TimbratureDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureDataTable getNonApprByDip(global::System.Nullable<int> idxDipendente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[6];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureDataTable dataTable = new DS_Applicazione.TimbratureDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.TimbratureDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "Timbrature");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(System.DateTime Original_dataOra, int Original_idxDipendente, global::System.Nullable<bool> Original_entrata, string Original_IPv4, string Original_CodTipoTimb, global::System.Nullable<bool> Original_Approv) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_dataOra));
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_entrata.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((bool)(Original_entrata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_IPv4 == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_IPv4));
|
|
}
|
|
if ((Original_CodTipoTimb == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodTipoTimb));
|
|
}
|
|
if ((Original_Approv.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((bool)(Original_Approv.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(System.DateTime dataOra, int idxDipendente, global::System.Nullable<bool> entrata, string IPv4, string CodTipoTimb, global::System.Nullable<bool> Approv) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(dataOra));
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxDipendente));
|
|
if ((entrata.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((bool)(entrata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((IPv4 == null)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(IPv4));
|
|
}
|
|
if ((CodTipoTimb == null)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodTipoTimb));
|
|
}
|
|
if ((Approv.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(Approv.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(System.DateTime dataOra, int idxDipendente, global::System.Nullable<bool> entrata, string IPv4, string CodTipoTimb, global::System.Nullable<bool> Approv, System.DateTime Original_dataOra, int Original_idxDipendente, global::System.Nullable<bool> Original_entrata, string Original_IPv4, string Original_CodTipoTimb, global::System.Nullable<bool> Original_Approv) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(dataOra));
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxDipendente));
|
|
if ((entrata.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((bool)(entrata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((IPv4 == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(IPv4));
|
|
}
|
|
if ((CodTipoTimb == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodTipoTimb));
|
|
}
|
|
if ((Approv.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(Approv.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(Original_dataOra));
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_entrata.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(Original_entrata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_IPv4 == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_IPv4));
|
|
}
|
|
if ((Original_CodTipoTimb == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodTipoTimb));
|
|
}
|
|
if ((Original_Approv.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((bool)(Original_Approv.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(global::System.Nullable<bool> entrata, string IPv4, string CodTipoTimb, global::System.Nullable<bool> Approv, System.DateTime Original_dataOra, int Original_idxDipendente, global::System.Nullable<bool> Original_entrata, string Original_IPv4, string Original_CodTipoTimb, global::System.Nullable<bool> Original_Approv) {
|
|
return this.Update(Original_dataOra, Original_idxDipendente, entrata, IPv4, CodTipoTimb, Approv, Original_dataOra, Original_idxDipendente, Original_entrata, Original_IPv4, Original_CodTipoTimb, Original_Approv);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int DeleteNonAppr(global::System.Nullable<int> Original_idxDipendente, global::System.Nullable<global::System.DateTime> Original_dataOra) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Original_idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_dataOra.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(Original_dataOra.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int stp_insTimbMan(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataOra, global::System.Nullable<bool> isEntrata, string IPv4, string CodTipoTimb, global::System.Nullable<bool> Approv) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataOra.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(dataOra.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((isEntrata.HasValue == true)) {
|
|
command.Parameters[3].Value = ((bool)(isEntrata.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((IPv4 == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(IPv4));
|
|
}
|
|
if ((CodTipoTimb == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(CodTipoTimb));
|
|
}
|
|
if ((Approv.HasValue == true)) {
|
|
command.Parameters[6].Value = ((bool)(Approv.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int stp_Timbr_Approva(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataOra) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataOra.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(dataOra.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int stp_Timbr_modifica(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataOra, global::System.Nullable<global::System.DateTime> dataOraNew) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataOra.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(dataOra.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataOraNew.HasValue == true)) {
|
|
command.Parameters[3].Value = ((System.DateTime)(dataOraNew.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int updateSwapInOut(global::System.Nullable<int> Original_idxDipendente, global::System.Nullable<global::System.DateTime> Original_dataOra) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
|
|
if ((Original_idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Original_idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_dataOra.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(Original_dataOra.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class TimbratureExplTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbratureExplTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "TimbratureExpl";
|
|
tableMapping.ColumnMappings.Add("dataLav", "dataLav");
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome");
|
|
tableMapping.ColumnMappings.Add("entrata_1", "entrata_1");
|
|
tableMapping.ColumnMappings.Add("uscita_1", "uscita_1");
|
|
tableMapping.ColumnMappings.Add("entrata_2", "entrata_2");
|
|
tableMapping.ColumnMappings.Add("uscita_2", "uscita_2");
|
|
tableMapping.ColumnMappings.Add("entrata_3", "entrata_3");
|
|
tableMapping.ColumnMappings.Add("uscita_3", "uscita_3");
|
|
tableMapping.ColumnMappings.Add("entrata_4", "entrata_4");
|
|
tableMapping.ColumnMappings.Add("uscita_4", "uscita_4");
|
|
tableMapping.ColumnMappings.Add("h_lav", "h_lav");
|
|
tableMapping.ColumnMappings.Add("h_giust", "h_giust");
|
|
tableMapping.ColumnMappings.Add("minLav", "minLav");
|
|
tableMapping.ColumnMappings.Add("minOrd", "minOrd");
|
|
tableMapping.ColumnMappings.Add("minStra", "minStra");
|
|
tableMapping.ColumnMappings.Add("minPerm", "minPerm");
|
|
tableMapping.ColumnMappings.Add("minFer", "minFer");
|
|
tableMapping.ColumnMappings.Add("minMal", "minMal");
|
|
tableMapping.ColumnMappings.Add("minFest", "minFest");
|
|
tableMapping.ColumnMappings.Add("isOkTim", "isOkTim");
|
|
tableMapping.ColumnMappings.Add("isOkApp", "isOkApp");
|
|
tableMapping.ColumnMappings.Add("isOkLav", "isOkLav");
|
|
tableMapping.ColumnMappings.Add("isOk", "isOk");
|
|
tableMapping.ColumnMappings.Add("minNonLav", "minNonLav");
|
|
tableMapping.ColumnMappings.Add("minArcoPres", "minArcoPres");
|
|
tableMapping.ColumnMappings.Add("block", "block");
|
|
tableMapping.ColumnMappings.Add("chkFunCod", "chkFunCod");
|
|
tableMapping.ColumnMappings.Add("chkFunRes", "chkFunRes");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = "DELETE FROM [TimbratureExpl] WHERE (([dataLav] = @Original_dataLav) AND ([idxDipe" +
|
|
"ndente] = @Original_idxDipendente) AND ((@IsNull_CognomeNome = 1 AND [CognomeNom" +
|
|
"e] IS NULL) OR ([CognomeNome] = @Original_CognomeNome)) AND ((@IsNull_entrata_1 " +
|
|
"= 1 AND [entrata_1] IS NULL) OR ([entrata_1] = @Original_entrata_1)) AND ((@IsNu" +
|
|
"ll_uscita_1 = 1 AND [uscita_1] IS NULL) OR ([uscita_1] = @Original_uscita_1)) AN" +
|
|
"D ((@IsNull_entrata_2 = 1 AND [entrata_2] IS NULL) OR ([entrata_2] = @Original_e" +
|
|
"ntrata_2)) AND ((@IsNull_uscita_2 = 1 AND [uscita_2] IS NULL) OR ([uscita_2] = @" +
|
|
"Original_uscita_2)) AND ((@IsNull_entrata_3 = 1 AND [entrata_3] IS NULL) OR ([en" +
|
|
"trata_3] = @Original_entrata_3)) AND ((@IsNull_uscita_3 = 1 AND [uscita_3] IS NU" +
|
|
"LL) OR ([uscita_3] = @Original_uscita_3)) AND ((@IsNull_entrata_4 = 1 AND [entra" +
|
|
"ta_4] IS NULL) OR ([entrata_4] = @Original_entrata_4)) AND ((@IsNull_uscita_4 = " +
|
|
"1 AND [uscita_4] IS NULL) OR ([uscita_4] = @Original_uscita_4)) AND ((@IsNull_h_" +
|
|
"lav = 1 AND [h_lav] IS NULL) OR ([h_lav] = @Original_h_lav)) AND ((@IsNull_h_giu" +
|
|
"st = 1 AND [h_giust] IS NULL) OR ([h_giust] = @Original_h_giust)) AND ((@IsNull_" +
|
|
"minLav = 1 AND [minLav] IS NULL) OR ([minLav] = @Original_minLav)) AND ((@IsNull" +
|
|
"_minOrd = 1 AND [minOrd] IS NULL) OR ([minOrd] = @Original_minOrd)) AND ((@IsNul" +
|
|
"l_minNonLav = 1 AND [minNonLav] IS NULL) OR ([minNonLav] = @Original_minNonLav))" +
|
|
" AND ((@IsNull_minStra = 1 AND [minStra] IS NULL) OR ([minStra] = @Original_minS" +
|
|
"tra)) AND ((@IsNull_minPerm = 1 AND [minPerm] IS NULL) OR ([minPerm] = @Original" +
|
|
"_minPerm)) AND ((@IsNull_minFer = 1 AND [minFer] IS NULL) OR ([minFer] = @Origin" +
|
|
"al_minFer)) AND ((@IsNull_minMal = 1 AND [minMal] IS NULL) OR ([minMal] = @Origi" +
|
|
"nal_minMal)) AND ((@IsNull_minFest = 1 AND [minFest] IS NULL) OR ([minFest] = @O" +
|
|
"riginal_minFest)) AND ((@IsNull_minArcoPres = 1 AND [minArcoPres] IS NULL) OR ([" +
|
|
"minArcoPres] = @Original_minArcoPres)) AND ((@IsNull_isOkTim = 1 AND [isOkTim] I" +
|
|
"S NULL) OR ([isOkTim] = @Original_isOkTim)) AND ((@IsNull_isOkApp = 1 AND [isOkA" +
|
|
"pp] IS NULL) OR ([isOkApp] = @Original_isOkApp)) AND ([isOkLav] = @Original_isOk" +
|
|
"Lav) AND ((@IsNull_isOk = 1 AND [isOk] IS NULL) OR ([isOk] = @Original_isOk)) AN" +
|
|
"D ((@IsNull_block = 1 AND [block] IS NULL) OR ([block] = @Original_block)) AND (" +
|
|
"(@IsNull_chkFunCod = 1 AND [chkFunCod] IS NULL) OR ([chkFunCod] = @Original_chkF" +
|
|
"unCod)) AND ((@IsNull_chkFunRes = 1 AND [chkFunRes] IS NULL) OR ([chkFunRes] = @" +
|
|
"Original_chkFunRes)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CognomeNome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_h_lav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_h_lav", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_h_giust", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_giust", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_h_giust", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_giust", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minArcoPres", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minArcoPres", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minArcoPres", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minArcoPres", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOkTim", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkTim", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOkApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkApp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOk", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOk", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_block", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_block", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkFunCod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkFunCod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkFunRes", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkFunRes", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [TimbratureExpl] ([dataLav], [idxDipendente], [CognomeNome], [entrata_1], [uscita_1], [entrata_2], [uscita_2], [entrata_3], [uscita_3], [entrata_4], [uscita_4], [h_lav], [minLav], [minOrd], [minNonLav], [minStra], [minPerm], [minFer], [minMal], [minFest], [isOkTim], [isOkApp], [block], [chkFunCod], [chkFunRes]) VALUES (@dataLav, @idxDipendente, @CognomeNome, @entrata_1, @uscita_1, @entrata_2, @uscita_2, @entrata_3, @uscita_3, @entrata_4, @uscita_4, @h_lav, @minLav, @minOrd, @minNonLav, @minStra, @minPerm, @minFer, @minMal, @minFest, @isOkTim, @isOkApp, @block, @chkFunCod, @chkFunRes);
|
|
SELECT dataLav, idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, uscita_2, entrata_3, uscita_3, entrata_4, uscita_4, h_lav, h_giust, minLav, minOrd, minNonLav, minStra, minPerm, minFer, minMal, minFest, minArcoPres, isOkTim, isOkApp, isOkLav, isOk, block, chkFunCod, chkFunRes FROM TimbratureExpl WHERE (dataLav = @dataLav) AND (idxDipendente = @idxDipendente)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@h_lav", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isOkTim", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isOkApp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@block", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkFunCod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkFunRes", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = "UPDATE [TimbratureExpl] SET [dataLav] = @dataLav, [idxDipendente] = @idxDipendent" +
|
|
"e, [CognomeNome] = @CognomeNome, [entrata_1] = @entrata_1, [uscita_1] = @uscita_" +
|
|
"1, [entrata_2] = @entrata_2, [uscita_2] = @uscita_2, [entrata_3] = @entrata_3, [" +
|
|
"uscita_3] = @uscita_3, [entrata_4] = @entrata_4, [uscita_4] = @uscita_4, [h_lav]" +
|
|
" = @h_lav, [minLav] = @minLav, [minOrd] = @minOrd, [minNonLav] = @minNonLav, [mi" +
|
|
"nStra] = @minStra, [minPerm] = @minPerm, [minFer] = @minFer, [minMal] = @minMal," +
|
|
" [minFest] = @minFest, [isOkTim] = @isOkTim, [isOkApp] = @isOkApp, [block] = @bl" +
|
|
"ock, [chkFunCod] = @chkFunCod, [chkFunRes] = @chkFunRes WHERE (([dataLav] = @Ori" +
|
|
"ginal_dataLav) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_Cog" +
|
|
"nomeNome = 1 AND [CognomeNome] IS NULL) OR ([CognomeNome] = @Original_CognomeNom" +
|
|
"e)) AND ((@IsNull_entrata_1 = 1 AND [entrata_1] IS NULL) OR ([entrata_1] = @Orig" +
|
|
"inal_entrata_1)) AND ((@IsNull_uscita_1 = 1 AND [uscita_1] IS NULL) OR ([uscita_" +
|
|
"1] = @Original_uscita_1)) AND ((@IsNull_entrata_2 = 1 AND [entrata_2] IS NULL) O" +
|
|
"R ([entrata_2] = @Original_entrata_2)) AND ((@IsNull_uscita_2 = 1 AND [uscita_2]" +
|
|
" IS NULL) OR ([uscita_2] = @Original_uscita_2)) AND ((@IsNull_entrata_3 = 1 AND " +
|
|
"[entrata_3] IS NULL) OR ([entrata_3] = @Original_entrata_3)) AND ((@IsNull_uscit" +
|
|
"a_3 = 1 AND [uscita_3] IS NULL) OR ([uscita_3] = @Original_uscita_3)) AND ((@IsN" +
|
|
"ull_entrata_4 = 1 AND [entrata_4] IS NULL) OR ([entrata_4] = @Original_entrata_4" +
|
|
")) AND ((@IsNull_uscita_4 = 1 AND [uscita_4] IS NULL) OR ([uscita_4] = @Original" +
|
|
"_uscita_4)) AND ((@IsNull_h_lav = 1 AND [h_lav] IS NULL) OR ([h_lav] = @Original" +
|
|
"_h_lav)) AND ((@IsNull_h_giust = 1 AND [h_giust] IS NULL) OR ([h_giust] = @Origi" +
|
|
"nal_h_giust)) AND ((@IsNull_minLav = 1 AND [minLav] IS NULL) OR ([minLav] = @Ori" +
|
|
"ginal_minLav)) AND ((@IsNull_minOrd = 1 AND [minOrd] IS NULL) OR ([minOrd] = @Or" +
|
|
"iginal_minOrd)) AND ((@IsNull_minNonLav = 1 AND [minNonLav] IS NULL) OR ([minNon" +
|
|
"Lav] = @Original_minNonLav)) AND ((@IsNull_minStra = 1 AND [minStra] IS NULL) OR" +
|
|
" ([minStra] = @Original_minStra)) AND ((@IsNull_minPerm = 1 AND [minPerm] IS NUL" +
|
|
"L) OR ([minPerm] = @Original_minPerm)) AND ((@IsNull_minFer = 1 AND [minFer] IS " +
|
|
"NULL) OR ([minFer] = @Original_minFer)) AND ((@IsNull_minMal = 1 AND [minMal] IS" +
|
|
" NULL) OR ([minMal] = @Original_minMal)) AND ((@IsNull_minFest = 1 AND [minFest]" +
|
|
" IS NULL) OR ([minFest] = @Original_minFest)) AND ((@IsNull_minArcoPres = 1 AND " +
|
|
"[minArcoPres] IS NULL) OR ([minArcoPres] = @Original_minArcoPres)) AND ((@IsNull" +
|
|
"_isOkTim = 1 AND [isOkTim] IS NULL) OR ([isOkTim] = @Original_isOkTim)) AND ((@I" +
|
|
"sNull_isOkApp = 1 AND [isOkApp] IS NULL) OR ([isOkApp] = @Original_isOkApp)) AND" +
|
|
" ([isOkLav] = @Original_isOkLav) AND ((@IsNull_isOk = 1 AND [isOk] IS NULL) OR (" +
|
|
"[isOk] = @Original_isOk)) AND ((@IsNull_block = 1 AND [block] IS NULL) OR ([bloc" +
|
|
"k] = @Original_block)) AND ((@IsNull_chkFunCod = 1 AND [chkFunCod] IS NULL) OR (" +
|
|
"[chkFunCod] = @Original_chkFunCod)) AND ((@IsNull_chkFunRes = 1 AND [chkFunRes] " +
|
|
"IS NULL) OR ([chkFunRes] = @Original_chkFunRes)));\r\nSELECT dataLav, idxDipendent" +
|
|
"e, CognomeNome, entrata_1, uscita_1, entrata_2, uscita_2, entrata_3, uscita_3, e" +
|
|
"ntrata_4, uscita_4, h_lav, h_giust, minLav, minOrd, minNonLav, minStra, minPerm," +
|
|
" minFer, minMal, minFest, minArcoPres, isOkTim, isOkApp, isOkLav, isOk, block, c" +
|
|
"hkFunCod, chkFunRes FROM TimbratureExpl WHERE (dataLav = @dataLav) AND (idxDipen" +
|
|
"dente = @idxDipendente)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@h_lav", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isOkTim", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isOkApp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@block", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkFunCod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkFunRes", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CognomeNome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_h_lav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_h_lav", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_h_giust", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_giust", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_h_giust", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_giust", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minArcoPres", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minArcoPres", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minArcoPres", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minArcoPres", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOkTim", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkTim", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOkApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkApp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOk", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOk", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_block", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_block", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkFunCod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkFunCod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkFunRes", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkFunRes", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT * FROM TimbratureExpl";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_timbratureExpl_getByDate";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_timbratureExpl_getByAnomalia";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notOkApp", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notOkTim", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notOkLav", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_timbratureExpl_ByUserDate";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showWE", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_timbratureExpl_getContinuato";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_timbratureExpl_LastByUser";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@num2show", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.stp_ricalcolaTimbExpl_byPeriodoUser";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[7].Connection = this.Connection;
|
|
this._commandCollection[7].CommandText = "dbo.stp_timbratureExplFillDate";
|
|
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.TimbratureExplDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.TimbratureExplDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.TimbratureExplDataTable dataTable = new DS_Applicazione.TimbratureExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureExplDataTable getByDate(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureExplDataTable dataTable = new DS_Applicazione.TimbratureExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureExplDataTable getByDipAnomalia(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, global::System.Nullable<bool> notOkApp, global::System.Nullable<bool> notOkTim, global::System.Nullable<bool> notOkLav) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((notOkApp.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(notOkApp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((notOkTim.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(notOkTim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((notOkLav.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(notOkLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureExplDataTable dataTable = new DS_Applicazione.TimbratureExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureExplDataTable getByUserDate(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<bool> showWE) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[3];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showWE.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(showWE.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureExplDataTable dataTable = new DS_Applicazione.TimbratureExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureExplDataTable getContinuato(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureExplDataTable dataTable = new DS_Applicazione.TimbratureExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.TimbratureExplDataTable getLastByUser(global::System.Nullable<int> idxDipendente, global::System.Nullable<int> num2show) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((num2show.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(num2show.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbratureExplDataTable dataTable = new DS_Applicazione.TimbratureExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.TimbratureExplDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "TimbratureExpl");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(
|
|
System.DateTime Original_dataLav,
|
|
int Original_idxDipendente,
|
|
string Original_CognomeNome,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_1,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_1,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_2,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_2,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_3,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_3,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_4,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_4,
|
|
global::System.Nullable<double> Original_h_lav,
|
|
global::System.Nullable<double> Original_h_giust,
|
|
global::System.Nullable<int> Original_minLav,
|
|
global::System.Nullable<int> Original_minOrd,
|
|
global::System.Nullable<int> Original_minNonLav,
|
|
global::System.Nullable<int> Original_minStra,
|
|
global::System.Nullable<int> Original_minPerm,
|
|
global::System.Nullable<int> Original_minFer,
|
|
global::System.Nullable<int> Original_minMal,
|
|
global::System.Nullable<int> Original_minFest,
|
|
global::System.Nullable<int> Original_minArcoPres,
|
|
global::System.Nullable<bool> Original_isOkTim,
|
|
global::System.Nullable<bool> Original_isOkApp,
|
|
int Original_isOkLav,
|
|
global::System.Nullable<int> Original_isOk,
|
|
global::System.Nullable<bool> Original_block,
|
|
string Original_chkFunCod,
|
|
string Original_chkFunRes) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_dataLav));
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_CognomeNome == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CognomeNome));
|
|
}
|
|
if ((Original_entrata_1.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_entrata_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_uscita_1.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_uscita_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_entrata_2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_entrata_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_uscita_2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((System.DateTime)(Original_uscita_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_entrata_3.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((System.DateTime)(Original_entrata_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_uscita_3.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((System.DateTime)(Original_uscita_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_entrata_4.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((System.DateTime)(Original_entrata_4.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_uscita_4.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((System.DateTime)(Original_uscita_4.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_h_lav.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((double)(Original_h_lav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_h_giust.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((double)(Original_h_giust.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minLav.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((int)(Original_minLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minOrd.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((int)(Original_minOrd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minNonLav.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((int)(Original_minNonLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minStra.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((int)(Original_minStra.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minPerm.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((int)(Original_minPerm.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minFer.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = ((int)(Original_minFer.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minMal.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = ((int)(Original_minMal.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minFest.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[39].Value = ((int)(Original_minFest.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[39].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minArcoPres.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[41].Value = ((int)(Original_minArcoPres.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[41].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_isOkTim.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[43].Value = ((bool)(Original_isOkTim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[43].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_isOkApp.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[45].Value = ((bool)(Original_isOkApp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[45].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[46].Value = ((int)(Original_isOkLav));
|
|
if ((Original_isOk.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[48].Value = ((int)(Original_isOk.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_block.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[50].Value = ((bool)(Original_block.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_chkFunCod == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[52].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[52].Value = ((string)(Original_chkFunCod));
|
|
}
|
|
if ((Original_chkFunRes == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[54].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[54].Value = ((string)(Original_chkFunRes));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(
|
|
System.DateTime dataLav,
|
|
int idxDipendente,
|
|
string CognomeNome,
|
|
global::System.Nullable<global::System.DateTime> entrata_1,
|
|
global::System.Nullable<global::System.DateTime> uscita_1,
|
|
global::System.Nullable<global::System.DateTime> entrata_2,
|
|
global::System.Nullable<global::System.DateTime> uscita_2,
|
|
global::System.Nullable<global::System.DateTime> entrata_3,
|
|
global::System.Nullable<global::System.DateTime> uscita_3,
|
|
global::System.Nullable<global::System.DateTime> entrata_4,
|
|
global::System.Nullable<global::System.DateTime> uscita_4,
|
|
global::System.Nullable<double> h_lav,
|
|
global::System.Nullable<int> minLav,
|
|
global::System.Nullable<int> minOrd,
|
|
global::System.Nullable<int> minNonLav,
|
|
global::System.Nullable<int> minStra,
|
|
global::System.Nullable<int> minPerm,
|
|
global::System.Nullable<int> minFer,
|
|
global::System.Nullable<int> minMal,
|
|
global::System.Nullable<int> minFest,
|
|
global::System.Nullable<bool> isOkTim,
|
|
global::System.Nullable<bool> isOkApp,
|
|
global::System.Nullable<bool> block,
|
|
string chkFunCod,
|
|
string chkFunRes) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(dataLav));
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxDipendente));
|
|
if ((CognomeNome == null)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CognomeNome));
|
|
}
|
|
if ((entrata_1.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(entrata_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((uscita_1.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(uscita_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((entrata_2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(entrata_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((uscita_2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(uscita_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((entrata_3.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(entrata_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((uscita_3.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(uscita_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((entrata_4.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(entrata_4.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((uscita_4.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(uscita_4.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((h_lav.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((double)(h_lav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minLav.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((int)(minLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minOrd.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((int)(minOrd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minNonLav.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((int)(minNonLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minStra.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = ((int)(minStra.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minPerm.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = ((int)(minPerm.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minFer.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = ((int)(minFer.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minMal.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = ((int)(minMal.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minFest.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[19].Value = ((int)(minFest.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((isOkTim.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[20].Value = ((bool)(isOkTim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((isOkApp.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[21].Value = ((bool)(isOkApp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((block.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[22].Value = ((bool)(block.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((chkFunCod == null)) {
|
|
this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[23].Value = ((string)(chkFunCod));
|
|
}
|
|
if ((chkFunRes == null)) {
|
|
this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[24].Value = ((string)(chkFunRes));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(
|
|
System.DateTime dataLav,
|
|
int idxDipendente,
|
|
string CognomeNome,
|
|
global::System.Nullable<global::System.DateTime> entrata_1,
|
|
global::System.Nullable<global::System.DateTime> uscita_1,
|
|
global::System.Nullable<global::System.DateTime> entrata_2,
|
|
global::System.Nullable<global::System.DateTime> uscita_2,
|
|
global::System.Nullable<global::System.DateTime> entrata_3,
|
|
global::System.Nullable<global::System.DateTime> uscita_3,
|
|
global::System.Nullable<global::System.DateTime> entrata_4,
|
|
global::System.Nullable<global::System.DateTime> uscita_4,
|
|
global::System.Nullable<double> h_lav,
|
|
global::System.Nullable<int> minLav,
|
|
global::System.Nullable<int> minOrd,
|
|
global::System.Nullable<int> minNonLav,
|
|
global::System.Nullable<int> minStra,
|
|
global::System.Nullable<int> minPerm,
|
|
global::System.Nullable<int> minFer,
|
|
global::System.Nullable<int> minMal,
|
|
global::System.Nullable<int> minFest,
|
|
global::System.Nullable<bool> isOkTim,
|
|
global::System.Nullable<bool> isOkApp,
|
|
global::System.Nullable<bool> block,
|
|
string chkFunCod,
|
|
string chkFunRes,
|
|
System.DateTime Original_dataLav,
|
|
int Original_idxDipendente,
|
|
string Original_CognomeNome,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_1,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_1,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_2,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_2,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_3,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_3,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_4,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_4,
|
|
global::System.Nullable<double> Original_h_lav,
|
|
global::System.Nullable<double> Original_h_giust,
|
|
global::System.Nullable<int> Original_minLav,
|
|
global::System.Nullable<int> Original_minOrd,
|
|
global::System.Nullable<int> Original_minNonLav,
|
|
global::System.Nullable<int> Original_minStra,
|
|
global::System.Nullable<int> Original_minPerm,
|
|
global::System.Nullable<int> Original_minFer,
|
|
global::System.Nullable<int> Original_minMal,
|
|
global::System.Nullable<int> Original_minFest,
|
|
global::System.Nullable<int> Original_minArcoPres,
|
|
global::System.Nullable<bool> Original_isOkTim,
|
|
global::System.Nullable<bool> Original_isOkApp,
|
|
int Original_isOkLav,
|
|
global::System.Nullable<int> Original_isOk,
|
|
global::System.Nullable<bool> Original_block,
|
|
string Original_chkFunCod,
|
|
string Original_chkFunRes) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(dataLav));
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxDipendente));
|
|
if ((CognomeNome == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CognomeNome));
|
|
}
|
|
if ((entrata_1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(entrata_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((uscita_1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(uscita_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((entrata_2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(entrata_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((uscita_2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(uscita_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((entrata_3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(entrata_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((uscita_3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(uscita_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((entrata_4.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(entrata_4.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((uscita_4.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(uscita_4.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((h_lav.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((double)(h_lav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minLav.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(minLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minOrd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(minOrd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minNonLav.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(minNonLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minStra.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(minStra.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minPerm.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(minPerm.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minFer.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(minFer.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minMal.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(minMal.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minFest.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(minFest.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((isOkTim.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((bool)(isOkTim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((isOkApp.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(isOkApp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((block.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((bool)(block.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((chkFunCod == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(chkFunCod));
|
|
}
|
|
if ((chkFunRes == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(chkFunRes));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((System.DateTime)(Original_dataLav));
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_CognomeNome == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_CognomeNome));
|
|
}
|
|
if ((Original_entrata_1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((System.DateTime)(Original_entrata_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_uscita_1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((System.DateTime)(Original_uscita_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_entrata_2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((System.DateTime)(Original_entrata_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_uscita_2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(Original_uscita_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_entrata_3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((System.DateTime)(Original_entrata_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_uscita_3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((System.DateTime)(Original_uscita_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_entrata_4.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = ((System.DateTime)(Original_entrata_4.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_uscita_4.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = ((System.DateTime)(Original_uscita_4.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_h_lav.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = ((double)(Original_h_lav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_h_giust.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = ((double)(Original_h_giust.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minLav.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = ((int)(Original_minLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minOrd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = ((int)(Original_minOrd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minNonLav.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = ((int)(Original_minNonLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minStra.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = ((int)(Original_minStra.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minPerm.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_minPerm.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minFer.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(Original_minFer.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minMal.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[62].Value = ((int)(Original_minMal.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minFest.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[64].Value = ((int)(Original_minFest.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_minArcoPres.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[66].Value = ((int)(Original_minArcoPres.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_isOkTim.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[68].Value = ((bool)(Original_isOkTim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_isOkApp.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[70].Value = ((bool)(Original_isOkApp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[71].Value = ((int)(Original_isOkLav));
|
|
if ((Original_isOk.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[73].Value = ((int)(Original_isOk.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_block.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[75].Value = ((bool)(Original_block.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_chkFunCod == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_chkFunCod));
|
|
}
|
|
if ((Original_chkFunRes == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Original_chkFunRes));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(
|
|
string CognomeNome,
|
|
global::System.Nullable<global::System.DateTime> entrata_1,
|
|
global::System.Nullable<global::System.DateTime> uscita_1,
|
|
global::System.Nullable<global::System.DateTime> entrata_2,
|
|
global::System.Nullable<global::System.DateTime> uscita_2,
|
|
global::System.Nullable<global::System.DateTime> entrata_3,
|
|
global::System.Nullable<global::System.DateTime> uscita_3,
|
|
global::System.Nullable<global::System.DateTime> entrata_4,
|
|
global::System.Nullable<global::System.DateTime> uscita_4,
|
|
global::System.Nullable<double> h_lav,
|
|
global::System.Nullable<int> minLav,
|
|
global::System.Nullable<int> minOrd,
|
|
global::System.Nullable<int> minNonLav,
|
|
global::System.Nullable<int> minStra,
|
|
global::System.Nullable<int> minPerm,
|
|
global::System.Nullable<int> minFer,
|
|
global::System.Nullable<int> minMal,
|
|
global::System.Nullable<int> minFest,
|
|
global::System.Nullable<bool> isOkTim,
|
|
global::System.Nullable<bool> isOkApp,
|
|
global::System.Nullable<bool> block,
|
|
string chkFunCod,
|
|
string chkFunRes,
|
|
System.DateTime Original_dataLav,
|
|
int Original_idxDipendente,
|
|
string Original_CognomeNome,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_1,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_1,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_2,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_2,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_3,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_3,
|
|
global::System.Nullable<global::System.DateTime> Original_entrata_4,
|
|
global::System.Nullable<global::System.DateTime> Original_uscita_4,
|
|
global::System.Nullable<double> Original_h_lav,
|
|
global::System.Nullable<double> Original_h_giust,
|
|
global::System.Nullable<int> Original_minLav,
|
|
global::System.Nullable<int> Original_minOrd,
|
|
global::System.Nullable<int> Original_minNonLav,
|
|
global::System.Nullable<int> Original_minStra,
|
|
global::System.Nullable<int> Original_minPerm,
|
|
global::System.Nullable<int> Original_minFer,
|
|
global::System.Nullable<int> Original_minMal,
|
|
global::System.Nullable<int> Original_minFest,
|
|
global::System.Nullable<int> Original_minArcoPres,
|
|
global::System.Nullable<bool> Original_isOkTim,
|
|
global::System.Nullable<bool> Original_isOkApp,
|
|
int Original_isOkLav,
|
|
global::System.Nullable<int> Original_isOk,
|
|
global::System.Nullable<bool> Original_block,
|
|
string Original_chkFunCod,
|
|
string Original_chkFunRes) {
|
|
return this.Update(Original_dataLav, Original_idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, uscita_2, entrata_3, uscita_3, entrata_4, uscita_4, h_lav, minLav, minOrd, minNonLav, minStra, minPerm, minFer, minMal, minFest, isOkTim, isOkApp, block, chkFunCod, chkFunRes, Original_dataLav, Original_idxDipendente, Original_CognomeNome, Original_entrata_1, Original_uscita_1, Original_entrata_2, Original_uscita_2, Original_entrata_3, Original_uscita_3, Original_entrata_4, Original_uscita_4, Original_h_lav, Original_h_giust, Original_minLav, Original_minOrd, Original_minNonLav, Original_minStra, Original_minPerm, Original_minFer, Original_minMal, Original_minFest, Original_minArcoPres, Original_isOkTim, Original_isOkApp, Original_isOkLav, Original_isOk, Original_block, Original_chkFunCod, Original_chkFunRes);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int stp_ricalcolaTimbExpl_byPeriodoUser(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((inizio.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
command.Parameters[3].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int stp_timbratureExplFillDate(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
|
|
if ((inizio.HasValue == true)) {
|
|
command.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class AnagDevicesTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagDevicesTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "AnagDevices";
|
|
tableMapping.ColumnMappings.Add("IdxDevice", "IdxDevice");
|
|
tableMapping.ColumnMappings.Add("DeviceSecret", "DeviceSecret");
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("DeviceName", "DeviceName");
|
|
tableMapping.ColumnMappings.Add("Description", "Description");
|
|
tableMapping.ColumnMappings.Add("dataOraEnabled", "dataOraEnabled");
|
|
tableMapping.ColumnMappings.Add("dataOraLastSeen", "dataOraLastSeen");
|
|
tableMapping.ColumnMappings.Add("lastIPv4", "lastIPv4");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagDevices] WHERE (([IdxDevice] = @Original_IdxDevice) AND ([DeviceSecret] = @Original_DeviceSecret) AND ([idxDipendente] = @Original_idxDipendente) AND ([DeviceName] = @Original_DeviceName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([dataOraEnabled] = @Original_dataOraEnabled) AND ([dataOraLastSeen] = @Original_dataOraLastSeen) AND ((@IsNull_lastIPv4 = 1 AND [lastIPv4] IS NULL) OR ([lastIPv4] = @Original_lastIPv4)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxDevice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDevice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DeviceSecret", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DeviceSecret", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DeviceName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DeviceName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Description", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Description", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Description", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOraEnabled", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOraEnabled", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOraLastSeen", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOraLastSeen", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_lastIPv4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastIPv4", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_lastIPv4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastIPv4", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagDevices] ([DeviceSecret], [idxDipendente], [DeviceName], [Description], [dataOraEnabled], [dataOraLastSeen], [lastIPv4]) VALUES (@DeviceSecret, @idxDipendente, @DeviceName, @Description, @dataOraEnabled, @dataOraLastSeen, @lastIPv4);
|
|
SELECT IdxDevice, DeviceSecret, idxDipendente, DeviceName, Description, dataOraEnabled, dataOraLastSeen, lastIPv4 FROM AnagDevices WHERE (IdxDevice = SCOPE_IDENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeviceSecret", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DeviceSecret", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeviceName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DeviceName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOraEnabled", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOraEnabled", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOraLastSeen", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOraLastSeen", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lastIPv4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastIPv4", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagDevices] SET [DeviceSecret] = @DeviceSecret, [idxDipendente] = @idxDipendente, [DeviceName] = @DeviceName, [Description] = @Description, [dataOraEnabled] = @dataOraEnabled, [dataOraLastSeen] = @dataOraLastSeen, [lastIPv4] = @lastIPv4 WHERE (([IdxDevice] = @Original_IdxDevice) AND ([DeviceSecret] = @Original_DeviceSecret) AND ([idxDipendente] = @Original_idxDipendente) AND ([DeviceName] = @Original_DeviceName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([dataOraEnabled] = @Original_dataOraEnabled) AND ([dataOraLastSeen] = @Original_dataOraLastSeen) AND ((@IsNull_lastIPv4 = 1 AND [lastIPv4] IS NULL) OR ([lastIPv4] = @Original_lastIPv4)));
|
|
SELECT IdxDevice, DeviceSecret, idxDipendente, DeviceName, Description, dataOraEnabled, dataOraLastSeen, lastIPv4 FROM AnagDevices WHERE (IdxDevice = @IdxDevice)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeviceSecret", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DeviceSecret", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeviceName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DeviceName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOraEnabled", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOraEnabled", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOraLastSeen", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOraLastSeen", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lastIPv4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastIPv4", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxDevice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDevice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DeviceSecret", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DeviceSecret", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DeviceName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DeviceName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Description", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Description", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Description", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOraEnabled", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOraEnabled", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOraLastSeen", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOraLastSeen", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_lastIPv4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastIPv4", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_lastIPv4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastIPv4", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDevice", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDevice", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.AnagDevices";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_Dev_delByDeviceName";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeviceName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_Dev_getByDeviceName";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeviceName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_Dev_getByDeviceSecret";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeviceSecret", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_Dev_getByIdxDipendente";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_Dev_insert";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeviceSecret", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeviceName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Description", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOraRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lastIPv4", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.stp_Dev_updateIP";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDevice", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOraRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lastIPv4", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Description", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.AnagDevicesDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.AnagDevicesDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.AnagDevicesDataTable dataTable = new DS_Applicazione.AnagDevicesDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.AnagDevicesDataTable getByDeviceName(string DeviceName) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((DeviceName == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(DeviceName));
|
|
}
|
|
DS_Applicazione.AnagDevicesDataTable dataTable = new DS_Applicazione.AnagDevicesDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.AnagDevicesDataTable getByDeviceSecret(string DeviceSecret) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[3];
|
|
if ((DeviceSecret == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(DeviceSecret));
|
|
}
|
|
DS_Applicazione.AnagDevicesDataTable dataTable = new DS_Applicazione.AnagDevicesDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.AnagDevicesDataTable getByIdxDipendente(global::System.Nullable<int> idxDipendente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagDevicesDataTable dataTable = new DS_Applicazione.AnagDevicesDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.AnagDevicesDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "AnagDevices");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(int Original_IdxDevice, string Original_DeviceSecret, int Original_idxDipendente, string Original_DeviceName, string Original_Description, System.DateTime Original_dataOraEnabled, System.DateTime Original_dataOraLastSeen, string Original_lastIPv4) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxDevice));
|
|
if ((Original_DeviceSecret == null)) {
|
|
throw new global::System.ArgumentNullException("Original_DeviceSecret");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_DeviceSecret));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_DeviceName == null)) {
|
|
throw new global::System.ArgumentNullException("Original_DeviceName");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DeviceName));
|
|
}
|
|
if ((Original_Description == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Description));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(Original_dataOraEnabled));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_dataOraLastSeen));
|
|
if ((Original_lastIPv4 == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_lastIPv4));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(string DeviceSecret, int idxDipendente, string DeviceName, string Description, System.DateTime dataOraEnabled, System.DateTime dataOraLastSeen, string lastIPv4) {
|
|
if ((DeviceSecret == null)) {
|
|
throw new global::System.ArgumentNullException("DeviceSecret");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(DeviceSecret));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxDipendente));
|
|
if ((DeviceName == null)) {
|
|
throw new global::System.ArgumentNullException("DeviceName");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DeviceName));
|
|
}
|
|
if ((Description == null)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Description));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(dataOraEnabled));
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(dataOraLastSeen));
|
|
if ((lastIPv4 == null)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(lastIPv4));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(
|
|
string DeviceSecret,
|
|
int idxDipendente,
|
|
string DeviceName,
|
|
string Description,
|
|
System.DateTime dataOraEnabled,
|
|
System.DateTime dataOraLastSeen,
|
|
string lastIPv4,
|
|
int Original_IdxDevice,
|
|
string Original_DeviceSecret,
|
|
int Original_idxDipendente,
|
|
string Original_DeviceName,
|
|
string Original_Description,
|
|
System.DateTime Original_dataOraEnabled,
|
|
System.DateTime Original_dataOraLastSeen,
|
|
string Original_lastIPv4,
|
|
int IdxDevice) {
|
|
if ((DeviceSecret == null)) {
|
|
throw new global::System.ArgumentNullException("DeviceSecret");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(DeviceSecret));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxDipendente));
|
|
if ((DeviceName == null)) {
|
|
throw new global::System.ArgumentNullException("DeviceName");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DeviceName));
|
|
}
|
|
if ((Description == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Description));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(dataOraEnabled));
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(dataOraLastSeen));
|
|
if ((lastIPv4 == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(lastIPv4));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_IdxDevice));
|
|
if ((Original_DeviceSecret == null)) {
|
|
throw new global::System.ArgumentNullException("Original_DeviceSecret");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DeviceSecret));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_DeviceName == null)) {
|
|
throw new global::System.ArgumentNullException("Original_DeviceName");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_DeviceName));
|
|
}
|
|
if ((Original_Description == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_Description));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_dataOraEnabled));
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((System.DateTime)(Original_dataOraLastSeen));
|
|
if ((Original_lastIPv4 == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_lastIPv4));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(IdxDevice));
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(string DeviceSecret, int idxDipendente, string DeviceName, string Description, System.DateTime dataOraEnabled, System.DateTime dataOraLastSeen, string lastIPv4, int Original_IdxDevice, string Original_DeviceSecret, int Original_idxDipendente, string Original_DeviceName, string Original_Description, System.DateTime Original_dataOraEnabled, System.DateTime Original_dataOraLastSeen, string Original_lastIPv4) {
|
|
return this.Update(DeviceSecret, idxDipendente, DeviceName, Description, dataOraEnabled, dataOraLastSeen, lastIPv4, Original_IdxDevice, Original_DeviceSecret, Original_idxDipendente, Original_DeviceName, Original_Description, Original_dataOraEnabled, Original_dataOraLastSeen, Original_lastIPv4, Original_IdxDevice);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int delByDeviceName(string DeviceName) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((DeviceName == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(DeviceName));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int insertQuery(string DeviceSecret, global::System.Nullable<int> idxDipendente, string DeviceName, string Description, global::System.Nullable<global::System.DateTime> dataOraRif, string lastIPv4) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
|
if ((DeviceSecret == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(DeviceSecret));
|
|
}
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DeviceName == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(DeviceName));
|
|
}
|
|
if ((Description == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(Description));
|
|
}
|
|
if ((dataOraRif.HasValue == true)) {
|
|
command.Parameters[5].Value = ((System.DateTime)(dataOraRif.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((lastIPv4 == null)) {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = ((string)(lastIPv4));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int updateIP(global::System.Nullable<int> idxDevice, global::System.Nullable<global::System.DateTime> dataOraRif, string lastIPv4, string Description) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
|
|
if ((idxDevice.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDevice.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataOraRif.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(dataOraRif.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((lastIPv4 == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(lastIPv4));
|
|
}
|
|
if ((Description == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(Description));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class DipendentiTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DipendentiTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "Dipendenti";
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("matricola", "matricola");
|
|
tableMapping.ColumnMappings.Add("CF", "CF");
|
|
tableMapping.ColumnMappings.Add("Cognome", "Cognome");
|
|
tableMapping.ColumnMappings.Add("Nome", "Nome");
|
|
tableMapping.ColumnMappings.Add("dataNascita", "dataNascita");
|
|
tableMapping.ColumnMappings.Add("luogoNascita", "luogoNascita");
|
|
tableMapping.ColumnMappings.Add("provNascita", "provNascita");
|
|
tableMapping.ColumnMappings.Add("nazNascita", "nazNascita");
|
|
tableMapping.ColumnMappings.Add("codHw", "codHw");
|
|
tableMapping.ColumnMappings.Add("codOrario", "codOrario");
|
|
tableMapping.ColumnMappings.Add("mailLastOp", "mailLastOp");
|
|
tableMapping.ColumnMappings.Add("mailDay", "mailDay");
|
|
tableMapping.ColumnMappings.Add("mailWeek", "mailWeek");
|
|
tableMapping.ColumnMappings.Add("mailMonth", "mailMonth");
|
|
tableMapping.ColumnMappings.Add("email", "email");
|
|
tableMapping.ColumnMappings.Add("authKey", "authKey");
|
|
tableMapping.ColumnMappings.Add("numAuth", "numAuth");
|
|
tableMapping.ColumnMappings.Add("WOL_MAC", "WOL_MAC");
|
|
tableMapping.ColumnMappings.Add("DOMINIO", "dominio");
|
|
tableMapping.ColumnMappings.Add("USER_NAME", "utente");
|
|
tableMapping.ColumnMappings.Add("dominio", "dominio");
|
|
tableMapping.ColumnMappings.Add("utente", "utente");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = "DELETE FROM [Dipendenti] WHERE (([idxDipendente] = @Original_idxDipendente) AND (" +
|
|
"(@IsNull_matricola = 1 AND [matricola] IS NULL) OR ([matricola] = @Original_matr" +
|
|
"icola)) AND ((@IsNull_CF = 1 AND [CF] IS NULL) OR ([CF] = @Original_CF)) AND ((@" +
|
|
"IsNull_Cognome = 1 AND [Cognome] IS NULL) OR ([Cognome] = @Original_Cognome)) AN" +
|
|
"D ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@Is" +
|
|
"Null_dataNascita = 1 AND [dataNascita] IS NULL) OR ([dataNascita] = @Original_da" +
|
|
"taNascita)) AND ((@IsNull_luogoNascita = 1 AND [luogoNascita] IS NULL) OR ([luog" +
|
|
"oNascita] = @Original_luogoNascita)) AND ((@IsNull_provNascita = 1 AND [provNasc" +
|
|
"ita] IS NULL) OR ([provNascita] = @Original_provNascita)) AND ((@IsNull_nazNasci" +
|
|
"ta = 1 AND [nazNascita] IS NULL) OR ([nazNascita] = @Original_nazNascita)) AND (" +
|
|
"(@IsNull_codHw = 1 AND [codHw] IS NULL) OR ([codHw] = @Original_codHw)) AND ((@I" +
|
|
"sNull_codOrario = 1 AND [codOrario] IS NULL) OR ([codOrario] = @Original_codOrar" +
|
|
"io)) AND ((@IsNull_mailLastOp = 1 AND [mailLastOp] IS NULL) OR ([mailLastOp] = @" +
|
|
"Original_mailLastOp)) AND ((@IsNull_mailDay = 1 AND [mailDay] IS NULL) OR ([mail" +
|
|
"Day] = @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 [em" +
|
|
"ail] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_authKey = 1 AND [aut" +
|
|
"hKey] 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_domin" +
|
|
"io = 1 AND [dominio] IS NULL) OR ([dominio] = @Original_dominio)) AND ((@IsNull_" +
|
|
"utente = 1 AND [utente] IS NULL) OR ([utente] = @Original_utente)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matricola", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CF", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cognome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataNascita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNascita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataNascita", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNascita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_luogoNascita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "luogoNascita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_luogoNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "luogoNascita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_provNascita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provNascita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_provNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provNascita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nazNascita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazNascita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nazNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazNascita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_codHw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codHw", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codHw", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codHw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_codOrario", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailLastOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailLastOp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailLastOp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailLastOp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailDay", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailDay", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailDay", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailDay", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailWeek", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailWeek", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailWeek", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailWeek", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailMonth", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailMonth", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailMonth", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailMonth", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_authKey", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "authKey", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_authKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "authKey", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_numAuth", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numAuth", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numAuth", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numAuth", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WOL_MAC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WOL_MAC", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WOL_MAC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WOL_MAC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dominio", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dominio", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dominio", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dominio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_utente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "utente", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_utente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "utente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.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())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataNascita", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNascita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@luogoNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "luogoNascita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provNascita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazNascita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codHw", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codHw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailLastOp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailLastOp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailDay", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailDay", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailWeek", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailWeek", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailMonth", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailMonth", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@authKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "authKey", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numAuth", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numAuth", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WOL_MAC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WOL_MAC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dominio", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dominio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@utente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "utente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = "UPDATE [Dipendenti] SET [matricola] = @matricola, [CF] = @CF, [Cognome] = @Cognom" +
|
|
"e, [Nome] = @Nome, [dataNascita] = @dataNascita, [luogoNascita] = @luogoNascita," +
|
|
" [provNascita] = @provNascita, [nazNascita] = @nazNascita, [codHw] = @codHw, [co" +
|
|
"dOrario] = @codOrario, [mailLastOp] = @mailLastOp, [mailDay] = @mailDay, [mailWe" +
|
|
"ek] = @mailWeek, [mailMonth] = @mailMonth, [email] = @email, [authKey] = @authKe" +
|
|
"y, [numAuth] = @numAuth, [WOL_MAC] = @WOL_MAC, [dominio] = @dominio, [utente] = " +
|
|
"@utente WHERE (([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_matrico" +
|
|
"la = 1 AND [matricola] IS NULL) OR ([matricola] = @Original_matricola)) AND ((@I" +
|
|
"sNull_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] = @Ori" +
|
|
"ginal_luogoNascita)) AND ((@IsNull_provNascita = 1 AND [provNascita] IS NULL) OR" +
|
|
" ([provNascita] = @Original_provNascita)) AND ((@IsNull_nazNascita = 1 AND [nazN" +
|
|
"ascita] 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 ((@IsNu" +
|
|
"ll_mailLastOp = 1 AND [mailLastOp] IS NULL) OR ([mailLastOp] = @Original_mailLas" +
|
|
"tOp)) 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 ([ma" +
|
|
"ilMonth] = @Original_mailMonth)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR" +
|
|
" ([email] = @Original_email)) AND ((@IsNull_authKey = 1 AND [authKey] IS NULL) O" +
|
|
"R ([authKey] = @Original_authKey)) AND ((@IsNull_numAuth = 1 AND [numAuth] IS NU" +
|
|
"LL) 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 [domi" +
|
|
"nio] IS NULL) OR ([dominio] = @Original_dominio)) AND ((@IsNull_utente = 1 AND [" +
|
|
"utente] IS NULL) OR ([utente] = @Original_utente)));\r\nSELECT idxDipendente, matr" +
|
|
"icola, CF, Cognome, Nome, dataNascita, luogoNascita, provNascita, nazNascita, co" +
|
|
"dHw, codOrario, mailLastOp, mailDay, mailWeek, mailMonth, email, authKey, numAut" +
|
|
"h, WOL_MAC, dominio, utente FROM Dipendenti WHERE (idxDipendente = @idxDipendent" +
|
|
"e)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataNascita", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNascita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@luogoNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "luogoNascita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provNascita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazNascita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codHw", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codHw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailLastOp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailLastOp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailDay", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailDay", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailWeek", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailWeek", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailMonth", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailMonth", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@authKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "authKey", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numAuth", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numAuth", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WOL_MAC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WOL_MAC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dominio", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dominio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@utente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "utente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matricola", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CF", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cognome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataNascita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNascita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataNascita", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNascita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_luogoNascita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "luogoNascita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_luogoNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "luogoNascita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_provNascita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provNascita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_provNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "provNascita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nazNascita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazNascita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nazNascita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazNascita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_codHw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codHw", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codHw", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codHw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_codOrario", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailLastOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailLastOp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailLastOp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailLastOp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailDay", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailDay", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailDay", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailDay", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailWeek", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailWeek", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailWeek", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailWeek", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailMonth", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailMonth", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailMonth", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailMonth", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_authKey", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "authKey", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_authKey", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "authKey", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_numAuth", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numAuth", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numAuth", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numAuth", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WOL_MAC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WOL_MAC", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WOL_MAC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WOL_MAC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dominio", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dominio", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dominio", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dominio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_utente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "utente", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_utente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "utente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[12];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT *\r\nFROM Dipendenti";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_AD_deleteQuery";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_Dip_getAttivi";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_Dip_getByAuthKey";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@authKey", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_AD_getByCodOrario";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codOrario", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_Dip_getByEmail";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.getDipendenteByIdx";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[7].Connection = this.Connection;
|
|
this._commandCollection[7].CommandText = "dbo.stp_AD_getByUserDominio";
|
|
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dominio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@utente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[8].Connection = this.Connection;
|
|
this._commandCollection[8].CommandText = "dbo.stp_AD_insertQuery";
|
|
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matricola", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CF", global::System.Data.SqlDbType.NVarChar, 16, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataNascita", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@luogoNascita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provNascita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazNascita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dominio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@utente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codOrario", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attivo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[9].Connection = this.Connection;
|
|
this._commandCollection[9].CommandText = "dbo.stp_Dip_recordAuthKeyUse";
|
|
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[10].Connection = this.Connection;
|
|
this._commandCollection[10].CommandText = "dbo.stp_Dip_setAuthKey";
|
|
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@authKey", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[11].Connection = this.Connection;
|
|
this._commandCollection[11].CommandText = "dbo.stp_AD_updateQuery";
|
|
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matricola", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CF", global::System.Data.SqlDbType.NVarChar, 16, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataNascita", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@luogoNascita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provNascita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazNascita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dominio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@utente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codOrario", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attivo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.DipendentiDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.DipendentiDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.DipendentiDataTable dataTable = new DS_Applicazione.DipendentiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.DipendentiDataTable getAttivi() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
DS_Applicazione.DipendentiDataTable dataTable = new DS_Applicazione.DipendentiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.DipendentiDataTable getByAuthKey(global::System.Nullable<int> idxDipendente, string authKey) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[3];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((authKey == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(authKey));
|
|
}
|
|
DS_Applicazione.DipendentiDataTable dataTable = new DS_Applicazione.DipendentiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.DipendentiDataTable getByCodOrario(string codOrario) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
if ((codOrario == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codOrario));
|
|
}
|
|
DS_Applicazione.DipendentiDataTable dataTable = new DS_Applicazione.DipendentiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.DipendentiDataTable getByEmail(string email) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
if ((email == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(email));
|
|
}
|
|
DS_Applicazione.DipendentiDataTable dataTable = new DS_Applicazione.DipendentiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.DipendentiDataTable getByIdx(global::System.Nullable<int> idxDipendente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[6];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.DipendentiDataTable dataTable = new DS_Applicazione.DipendentiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.DipendentiDataTable getByUserDominio(string dominio, string utente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[7];
|
|
if ((dominio == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(dominio));
|
|
}
|
|
if ((utente == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(utente));
|
|
}
|
|
DS_Applicazione.DipendentiDataTable dataTable = new DS_Applicazione.DipendentiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.DipendentiDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "Dipendenti");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(
|
|
int Original_idxDipendente,
|
|
string Original_matricola,
|
|
string Original_CF,
|
|
string Original_Cognome,
|
|
string Original_Nome,
|
|
global::System.Nullable<global::System.DateTime> Original_dataNascita,
|
|
string Original_luogoNascita,
|
|
string Original_provNascita,
|
|
string Original_nazNascita,
|
|
string Original_codHw,
|
|
string Original_codOrario,
|
|
global::System.Nullable<bool> Original_mailLastOp,
|
|
global::System.Nullable<bool> Original_mailDay,
|
|
global::System.Nullable<bool> Original_mailWeek,
|
|
global::System.Nullable<bool> Original_mailMonth,
|
|
string Original_email,
|
|
string Original_authKey,
|
|
global::System.Nullable<int> Original_numAuth,
|
|
string Original_WOL_MAC,
|
|
string Original_dominio,
|
|
string Original_utente) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_matricola == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_matricola));
|
|
}
|
|
if ((Original_CF == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CF));
|
|
}
|
|
if ((Original_Cognome == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Cognome));
|
|
}
|
|
if ((Original_Nome == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Nome));
|
|
}
|
|
if ((Original_dataNascita.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((System.DateTime)(Original_dataNascita.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_luogoNascita == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_luogoNascita));
|
|
}
|
|
if ((Original_provNascita == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_provNascita));
|
|
}
|
|
if ((Original_nazNascita == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_nazNascita));
|
|
}
|
|
if ((Original_codHw == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_codHw));
|
|
}
|
|
if ((Original_codOrario == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_codOrario));
|
|
}
|
|
if ((Original_mailLastOp.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((bool)(Original_mailLastOp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_mailDay.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((bool)(Original_mailDay.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_mailWeek.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((bool)(Original_mailWeek.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_mailMonth.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((bool)(Original_mailMonth.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_email == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_email));
|
|
}
|
|
if ((Original_authKey == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_authKey));
|
|
}
|
|
if ((Original_numAuth.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = ((int)(Original_numAuth.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_WOL_MAC == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_WOL_MAC));
|
|
}
|
|
if ((Original_dominio == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_dominio));
|
|
}
|
|
if ((Original_utente == null)) {
|
|
throw new global::System.ArgumentNullException("Original_utente");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[40].Value = ((string)(Original_utente));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(
|
|
string matricola,
|
|
string CF,
|
|
string Cognome,
|
|
string Nome,
|
|
global::System.Nullable<global::System.DateTime> dataNascita,
|
|
string luogoNascita,
|
|
string provNascita,
|
|
string nazNascita,
|
|
string codHw,
|
|
string codOrario,
|
|
global::System.Nullable<bool> mailLastOp,
|
|
global::System.Nullable<bool> mailDay,
|
|
global::System.Nullable<bool> mailWeek,
|
|
global::System.Nullable<bool> mailMonth,
|
|
string email,
|
|
string authKey,
|
|
global::System.Nullable<int> numAuth,
|
|
string WOL_MAC,
|
|
string dominio,
|
|
string utente) {
|
|
if ((matricola == null)) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(matricola));
|
|
}
|
|
if ((CF == null)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CF));
|
|
}
|
|
if ((Cognome == null)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Cognome));
|
|
}
|
|
if ((Nome == null)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Nome));
|
|
}
|
|
if ((dataNascita.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(dataNascita.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((luogoNascita == null)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(luogoNascita));
|
|
}
|
|
if ((provNascita == null)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(provNascita));
|
|
}
|
|
if ((nazNascita == null)) {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(nazNascita));
|
|
}
|
|
if ((codHw == null)) {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(codHw));
|
|
}
|
|
if ((codOrario == null)) {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(codOrario));
|
|
}
|
|
if ((mailLastOp.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((bool)(mailLastOp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((mailDay.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((bool)(mailDay.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((mailWeek.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((bool)(mailWeek.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((mailMonth.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((bool)(mailMonth.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((email == null)) {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((string)(email));
|
|
}
|
|
if ((authKey == null)) {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = ((string)(authKey));
|
|
}
|
|
if ((numAuth.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = ((int)(numAuth.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((WOL_MAC == null)) {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = ((string)(WOL_MAC));
|
|
}
|
|
if ((dominio == null)) {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = ((string)(dominio));
|
|
}
|
|
if ((utente == null)) {
|
|
throw new global::System.ArgumentNullException("utente");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[19].Value = ((string)(utente));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(
|
|
string matricola,
|
|
string CF,
|
|
string Cognome,
|
|
string Nome,
|
|
global::System.Nullable<global::System.DateTime> dataNascita,
|
|
string luogoNascita,
|
|
string provNascita,
|
|
string nazNascita,
|
|
string codHw,
|
|
string codOrario,
|
|
global::System.Nullable<bool> mailLastOp,
|
|
global::System.Nullable<bool> mailDay,
|
|
global::System.Nullable<bool> mailWeek,
|
|
global::System.Nullable<bool> mailMonth,
|
|
string email,
|
|
string authKey,
|
|
global::System.Nullable<int> numAuth,
|
|
string WOL_MAC,
|
|
string dominio,
|
|
string utente,
|
|
int Original_idxDipendente,
|
|
string Original_matricola,
|
|
string Original_CF,
|
|
string Original_Cognome,
|
|
string Original_Nome,
|
|
global::System.Nullable<global::System.DateTime> Original_dataNascita,
|
|
string Original_luogoNascita,
|
|
string Original_provNascita,
|
|
string Original_nazNascita,
|
|
string Original_codHw,
|
|
string Original_codOrario,
|
|
global::System.Nullable<bool> Original_mailLastOp,
|
|
global::System.Nullable<bool> Original_mailDay,
|
|
global::System.Nullable<bool> Original_mailWeek,
|
|
global::System.Nullable<bool> Original_mailMonth,
|
|
string Original_email,
|
|
string Original_authKey,
|
|
global::System.Nullable<int> Original_numAuth,
|
|
string Original_WOL_MAC,
|
|
string Original_dominio,
|
|
string Original_utente,
|
|
int idxDipendente) {
|
|
if ((matricola == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(matricola));
|
|
}
|
|
if ((CF == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CF));
|
|
}
|
|
if ((Cognome == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Cognome));
|
|
}
|
|
if ((Nome == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Nome));
|
|
}
|
|
if ((dataNascita.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(dataNascita.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((luogoNascita == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(luogoNascita));
|
|
}
|
|
if ((provNascita == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(provNascita));
|
|
}
|
|
if ((nazNascita == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(nazNascita));
|
|
}
|
|
if ((codHw == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(codHw));
|
|
}
|
|
if ((codOrario == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(codOrario));
|
|
}
|
|
if ((mailLastOp.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(mailLastOp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((mailDay.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((bool)(mailDay.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((mailWeek.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((bool)(mailWeek.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((mailMonth.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(mailMonth.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((email == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(email));
|
|
}
|
|
if ((authKey == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(authKey));
|
|
}
|
|
if ((numAuth.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(numAuth.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((WOL_MAC == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(WOL_MAC));
|
|
}
|
|
if ((dominio == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(dominio));
|
|
}
|
|
if ((utente == null)) {
|
|
throw new global::System.ArgumentNullException("utente");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(utente));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_matricola == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_matricola));
|
|
}
|
|
if ((Original_CF == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_CF));
|
|
}
|
|
if ((Original_Cognome == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_Cognome));
|
|
}
|
|
if ((Original_Nome == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_Nome));
|
|
}
|
|
if ((Original_dataNascita.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((System.DateTime)(Original_dataNascita.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_luogoNascita == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_luogoNascita));
|
|
}
|
|
if ((Original_provNascita == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_provNascita));
|
|
}
|
|
if ((Original_nazNascita == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_nazNascita));
|
|
}
|
|
if ((Original_codHw == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_codHw));
|
|
}
|
|
if ((Original_codOrario == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_codOrario));
|
|
}
|
|
if ((Original_mailLastOp.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = ((bool)(Original_mailLastOp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_mailDay.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = ((bool)(Original_mailDay.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_mailWeek.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = ((bool)(Original_mailWeek.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_mailMonth.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = ((bool)(Original_mailMonth.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_email == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_email));
|
|
}
|
|
if ((Original_authKey == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_authKey));
|
|
}
|
|
if ((Original_numAuth.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = ((int)(Original_numAuth.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_WOL_MAC == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_WOL_MAC));
|
|
}
|
|
if ((Original_dominio == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Original_dominio));
|
|
}
|
|
if ((Original_utente == null)) {
|
|
throw new global::System.ArgumentNullException("Original_utente");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_utente));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(idxDipendente));
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(
|
|
string matricola,
|
|
string CF,
|
|
string Cognome,
|
|
string Nome,
|
|
global::System.Nullable<global::System.DateTime> dataNascita,
|
|
string luogoNascita,
|
|
string provNascita,
|
|
string nazNascita,
|
|
string codHw,
|
|
string codOrario,
|
|
global::System.Nullable<bool> mailLastOp,
|
|
global::System.Nullable<bool> mailDay,
|
|
global::System.Nullable<bool> mailWeek,
|
|
global::System.Nullable<bool> mailMonth,
|
|
string email,
|
|
string authKey,
|
|
global::System.Nullable<int> numAuth,
|
|
string WOL_MAC,
|
|
string dominio,
|
|
string utente,
|
|
int Original_idxDipendente,
|
|
string Original_matricola,
|
|
string Original_CF,
|
|
string Original_Cognome,
|
|
string Original_Nome,
|
|
global::System.Nullable<global::System.DateTime> Original_dataNascita,
|
|
string Original_luogoNascita,
|
|
string Original_provNascita,
|
|
string Original_nazNascita,
|
|
string Original_codHw,
|
|
string Original_codOrario,
|
|
global::System.Nullable<bool> Original_mailLastOp,
|
|
global::System.Nullable<bool> Original_mailDay,
|
|
global::System.Nullable<bool> Original_mailWeek,
|
|
global::System.Nullable<bool> Original_mailMonth,
|
|
string Original_email,
|
|
string Original_authKey,
|
|
global::System.Nullable<int> Original_numAuth,
|
|
string Original_WOL_MAC,
|
|
string Original_dominio,
|
|
string Original_utente) {
|
|
return this.Update(matricola, CF, Cognome, Nome, dataNascita, luogoNascita, provNascita, nazNascita, codHw, codOrario, mailLastOp, mailDay, mailWeek, mailMonth, email, authKey, numAuth, WOL_MAC, dominio, utente, Original_idxDipendente, Original_matricola, Original_CF, Original_Cognome, Original_Nome, Original_dataNascita, Original_luogoNascita, Original_provNascita, Original_nazNascita, Original_codHw, Original_codOrario, Original_mailLastOp, Original_mailDay, Original_mailWeek, Original_mailMonth, Original_email, Original_authKey, Original_numAuth, Original_WOL_MAC, Original_dominio, Original_utente, Original_idxDipendente);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
|
|
public virtual int deleteQuery(global::System.Nullable<int> Original_idxDipendente) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Original_idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
|
public virtual int insertQuery(string matricola, string CF, string Cognome, string Nome, global::System.Nullable<global::System.DateTime> dataNascita, string luogoNascita, string provNascita, string nazNascita, string email, string dominio, string utente, string codOrario, global::System.Nullable<bool> attivo) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
|
|
if ((matricola == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(matricola));
|
|
}
|
|
if ((CF == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(CF));
|
|
}
|
|
if ((Cognome == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(Cognome));
|
|
}
|
|
if ((Nome == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(Nome));
|
|
}
|
|
if ((dataNascita.HasValue == true)) {
|
|
command.Parameters[5].Value = ((System.DateTime)(dataNascita.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((luogoNascita == null)) {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = ((string)(luogoNascita));
|
|
}
|
|
if ((provNascita == null)) {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = ((string)(provNascita));
|
|
}
|
|
if ((nazNascita == null)) {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = ((string)(nazNascita));
|
|
}
|
|
if ((email == null)) {
|
|
command.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[9].Value = ((string)(email));
|
|
}
|
|
if ((dominio == null)) {
|
|
command.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[10].Value = ((string)(dominio));
|
|
}
|
|
if ((utente == null)) {
|
|
command.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[11].Value = ((string)(utente));
|
|
}
|
|
if ((codOrario == null)) {
|
|
command.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[12].Value = ((string)(codOrario));
|
|
}
|
|
if ((attivo.HasValue == true)) {
|
|
command.Parameters[13].Value = ((bool)(attivo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int recordAuthKeyUse(global::System.Nullable<int> idxDipendente) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int stp_Dip_setAuthKey(global::System.Nullable<int> idxDipendente, string authKey) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((authKey == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(authKey));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
|
|
public virtual int updateQuery(string matricola, string CF, string Cognome, string Nome, global::System.Nullable<global::System.DateTime> dataNascita, string luogoNascita, string provNascita, string nazNascita, string email, string dominio, string utente, string codOrario, global::System.Nullable<bool> attivo, global::System.Nullable<int> Original_idxDipendente) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
|
|
if ((matricola == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(matricola));
|
|
}
|
|
if ((CF == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(CF));
|
|
}
|
|
if ((Cognome == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(Cognome));
|
|
}
|
|
if ((Nome == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(Nome));
|
|
}
|
|
if ((dataNascita.HasValue == true)) {
|
|
command.Parameters[5].Value = ((System.DateTime)(dataNascita.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((luogoNascita == null)) {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = ((string)(luogoNascita));
|
|
}
|
|
if ((provNascita == null)) {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = ((string)(provNascita));
|
|
}
|
|
if ((nazNascita == null)) {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = ((string)(nazNascita));
|
|
}
|
|
if ((email == null)) {
|
|
command.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[9].Value = ((string)(email));
|
|
}
|
|
if ((dominio == null)) {
|
|
command.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[10].Value = ((string)(dominio));
|
|
}
|
|
if ((utente == null)) {
|
|
command.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[11].Value = ((string)(utente));
|
|
}
|
|
if ((codOrario == null)) {
|
|
command.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[12].Value = ((string)(codOrario));
|
|
}
|
|
if ((attivo.HasValue == true)) {
|
|
command.Parameters[13].Value = ((bool)(attivo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxDipendente.HasValue == true)) {
|
|
command.Parameters[14].Value = ((int)(Original_idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class AnagClientiTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagClientiTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "AnagClienti";
|
|
tableMapping.ColumnMappings.Add("idxCliente", "idxCliente");
|
|
tableMapping.ColumnMappings.Add("RagSociale", "RagSociale");
|
|
tableMapping.ColumnMappings.Add("indirizzo", "indirizzo");
|
|
tableMapping.ColumnMappings.Add("CAP", "CAP");
|
|
tableMapping.ColumnMappings.Add("citta", "citta");
|
|
tableMapping.ColumnMappings.Add("prov", "prov");
|
|
tableMapping.ColumnMappings.Add("tel", "tel");
|
|
tableMapping.ColumnMappings.Add("url", "url");
|
|
tableMapping.ColumnMappings.Add("email", "email");
|
|
tableMapping.ColumnMappings.Add("pIva", "pIva");
|
|
tableMapping.ColumnMappings.Add("CF", "CF");
|
|
tableMapping.ColumnMappings.Add("logoUrl", "logoUrl");
|
|
tableMapping.ColumnMappings.Add("nota", "nota");
|
|
tableMapping.ColumnMappings.Add("OldIdx", "OldIdx");
|
|
tableMapping.ColumnMappings.Add("Attivo", "Attivo");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagClienti] WHERE (([idxCliente] = @Original_idxCliente) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Original_RagSociale)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_CAP = 1 AND [CAP] IS NULL) OR ([CAP] = @Original_CAP)) AND ((@IsNull_citta = 1 AND [citta] IS NULL) OR ([citta] = @Original_citta)) AND ((@IsNull_prov = 1 AND [prov] IS NULL) OR ([prov] = @Original_prov)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_url = 1 AND [url] IS NULL) OR ([url] = @Original_url)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_pIva = 1 AND [pIva] IS NULL) OR ([pIva] = @Original_pIva)) AND ((@IsNull_CF = 1 AND [CF] IS NULL) OR ([CF] = @Original_CF)) AND ((@IsNull_logoUrl = 1 AND [logoUrl] IS NULL) OR ([logoUrl] = @Original_logoUrl)) AND ((@IsNull_nota = 1 AND [nota] IS NULL) OR ([nota] = @Original_nota)) AND ((@IsNull_OldIdx = 1 AND [OldIdx] IS NULL) OR ([OldIdx] = @Original_OldIdx)) AND ((@IsNull_Attivo = 1 AND [Attivo] IS NULL) OR ([Attivo] = @Original_Attivo)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CAP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAP", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CAP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_citta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_citta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_prov", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prov", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prov", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_tel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_url", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_url", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pIva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pIva", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pIva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pIva", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CF", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_logoUrl", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logoUrl", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_logoUrl", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logoUrl", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nota", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_OldIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OldIdx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OldIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OldIdx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Attivo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attivo", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagClienti] ([RagSociale], [indirizzo], [CAP], [citta], [prov], [tel], [url], [email], [pIva], [CF], [logoUrl], [nota], [OldIdx], [Attivo]) VALUES (@RagSociale, @indirizzo, @CAP, @citta, @prov, @tel, @url, @email, @pIva, @CF, @logoUrl, @nota, @OldIdx, @Attivo);
|
|
SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIva, CF, logoUrl, nota, OldIdx, Attivo FROM AnagClienti WHERE (idxCliente = SCOPE_IDENTITY()) ORDER BY RagSociale";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CAP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@citta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prov", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pIva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pIva", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@logoUrl", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logoUrl", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OldIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OldIdx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[AnagClienti] SET [RagSociale] = @RagSociale, [indirizzo] = @indiriz" +
|
|
"zo, [CAP] = @CAP, [citta] = @citta, [prov] = @prov, [tel] = @tel, [url] = @url, " +
|
|
"[email] = @email, [pIva] = @pIva, [CF] = @CF, [logoUrl] = @logoUrl, [nota] = @no" +
|
|
"ta, [OldIdx] = @OldIdx, [Attivo] = @Attivo WHERE (([idxCliente] = @Original_idxC" +
|
|
"liente) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] " +
|
|
"= @Original_RagSociale)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR" +
|
|
" ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_CAP = 1 AND [CAP] IS NULL) O" +
|
|
"R ([CAP] = @Original_CAP)) AND ((@IsNull_citta = 1 AND [citta] IS NULL) OR ([cit" +
|
|
"ta] = @Original_citta)) AND ((@IsNull_prov = 1 AND [prov] IS NULL) OR ([prov] = " +
|
|
"@Original_prov)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_" +
|
|
"tel)) AND ((@IsNull_url = 1 AND [url] IS NULL) OR ([url] = @Original_url)) AND (" +
|
|
"(@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@I" +
|
|
"sNull_pIva = 1 AND [pIva] IS NULL) OR ([pIva] = @Original_pIva)) AND ((@IsNull_C" +
|
|
"F = 1 AND [CF] IS NULL) OR ([CF] = @Original_CF)) AND ((@IsNull_logoUrl = 1 AND " +
|
|
"[logoUrl] IS NULL) OR ([logoUrl] = @Original_logoUrl)) AND ((@IsNull_nota = 1 AN" +
|
|
"D [nota] IS NULL) OR ([nota] = @Original_nota)) AND ((@IsNull_OldIdx = 1 AND [Ol" +
|
|
"dIdx] IS NULL) OR ([OldIdx] = @Original_OldIdx)) AND ((@IsNull_Attivo = 1 AND [A" +
|
|
"ttivo] IS NULL) OR ([Attivo] = @Original_Attivo)));\r\nSELECT idxCliente, RagSocia" +
|
|
"le, indirizzo, CAP, citta, prov, tel, url, email, pIva, CF, logoUrl, nota, OldId" +
|
|
"x, Attivo FROM AnagClienti WHERE (idxCliente = @idxCliente) ORDER BY RagSociale";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CAP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@citta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prov", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pIva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pIva", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@logoUrl", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logoUrl", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OldIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OldIdx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CAP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAP", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CAP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_citta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_citta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_prov", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prov", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prov", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_tel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_url", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_url", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pIva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pIva", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pIva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pIva", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CF", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CF", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_logoUrl", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logoUrl", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_logoUrl", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logoUrl", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nota", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_OldIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OldIdx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OldIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OldIdx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Attivo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attivo", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT * \r\nFROM dbo.AnagClienti\r\nORDER BY RagSociale";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_AC_delete";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_AC_getByIdx";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_AC_insert";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CAP", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@citta", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prov", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tel", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pIva", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CF", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nota", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_AC_update";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CAP", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@citta", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prov", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tel", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pIva", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CF", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@logoUrl", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nota", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.AnagClientiDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.AnagClientiDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.AnagClientiDataTable dataTable = new DS_Applicazione.AnagClientiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.AnagClientiDataTable getByIdx(global::System.Nullable<int> idxCliente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((idxCliente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxCliente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagClientiDataTable dataTable = new DS_Applicazione.AnagClientiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.AnagClientiDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "AnagClienti");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(int Original_idxCliente, string Original_RagSociale, string Original_indirizzo, string Original_CAP, string Original_citta, string Original_prov, string Original_tel, string Original_url, string Original_email, string Original_pIva, string Original_CF, string Original_logoUrl, string Original_nota, global::System.Nullable<int> Original_OldIdx, global::System.Nullable<byte> Original_Attivo) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxCliente));
|
|
if ((Original_RagSociale == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_RagSociale));
|
|
}
|
|
if ((Original_indirizzo == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_indirizzo));
|
|
}
|
|
if ((Original_CAP == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CAP));
|
|
}
|
|
if ((Original_citta == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_citta));
|
|
}
|
|
if ((Original_prov == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_prov));
|
|
}
|
|
if ((Original_tel == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_tel));
|
|
}
|
|
if ((Original_url == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_url));
|
|
}
|
|
if ((Original_email == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_email));
|
|
}
|
|
if ((Original_pIva == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_pIva));
|
|
}
|
|
if ((Original_CF == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_CF));
|
|
}
|
|
if ((Original_logoUrl == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_logoUrl));
|
|
}
|
|
if ((Original_nota == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_nota));
|
|
}
|
|
if ((Original_OldIdx.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((int)(Original_OldIdx.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_Attivo.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((byte)(Original_Attivo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(string RagSociale, string indirizzo, string CAP, string citta, string prov, string tel, string url, string email, string pIva, string CF, string logoUrl, string nota, global::System.Nullable<int> OldIdx, global::System.Nullable<byte> Attivo) {
|
|
if ((RagSociale == null)) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(RagSociale));
|
|
}
|
|
if ((indirizzo == null)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(indirizzo));
|
|
}
|
|
if ((CAP == null)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CAP));
|
|
}
|
|
if ((citta == null)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(citta));
|
|
}
|
|
if ((prov == null)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(prov));
|
|
}
|
|
if ((tel == null)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(tel));
|
|
}
|
|
if ((url == null)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(url));
|
|
}
|
|
if ((email == null)) {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(email));
|
|
}
|
|
if ((pIva == null)) {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(pIva));
|
|
}
|
|
if ((CF == null)) {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(CF));
|
|
}
|
|
if ((logoUrl == null)) {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(logoUrl));
|
|
}
|
|
if ((nota == null)) {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(nota));
|
|
}
|
|
if ((OldIdx.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((int)(OldIdx.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Attivo.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((byte)(Attivo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(
|
|
string RagSociale,
|
|
string indirizzo,
|
|
string CAP,
|
|
string citta,
|
|
string prov,
|
|
string tel,
|
|
string url,
|
|
string email,
|
|
string pIva,
|
|
string CF,
|
|
string logoUrl,
|
|
string nota,
|
|
global::System.Nullable<int> OldIdx,
|
|
global::System.Nullable<byte> Attivo,
|
|
int Original_idxCliente,
|
|
string Original_RagSociale,
|
|
string Original_indirizzo,
|
|
string Original_CAP,
|
|
string Original_citta,
|
|
string Original_prov,
|
|
string Original_tel,
|
|
string Original_url,
|
|
string Original_email,
|
|
string Original_pIva,
|
|
string Original_CF,
|
|
string Original_logoUrl,
|
|
string Original_nota,
|
|
global::System.Nullable<int> Original_OldIdx,
|
|
global::System.Nullable<byte> Original_Attivo,
|
|
int idxCliente) {
|
|
if ((RagSociale == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(RagSociale));
|
|
}
|
|
if ((indirizzo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(indirizzo));
|
|
}
|
|
if ((CAP == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CAP));
|
|
}
|
|
if ((citta == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(citta));
|
|
}
|
|
if ((prov == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(prov));
|
|
}
|
|
if ((tel == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(tel));
|
|
}
|
|
if ((url == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(url));
|
|
}
|
|
if ((email == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(email));
|
|
}
|
|
if ((pIva == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(pIva));
|
|
}
|
|
if ((CF == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(CF));
|
|
}
|
|
if ((logoUrl == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(logoUrl));
|
|
}
|
|
if ((nota == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(nota));
|
|
}
|
|
if ((OldIdx.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(OldIdx.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Attivo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((byte)(Attivo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_idxCliente));
|
|
if ((Original_RagSociale == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_RagSociale));
|
|
}
|
|
if ((Original_indirizzo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_indirizzo));
|
|
}
|
|
if ((Original_CAP == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_CAP));
|
|
}
|
|
if ((Original_citta == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_citta));
|
|
}
|
|
if ((Original_prov == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_prov));
|
|
}
|
|
if ((Original_tel == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_tel));
|
|
}
|
|
if ((Original_url == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_url));
|
|
}
|
|
if ((Original_email == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_email));
|
|
}
|
|
if ((Original_pIva == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_pIva));
|
|
}
|
|
if ((Original_CF == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_CF));
|
|
}
|
|
if ((Original_logoUrl == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_logoUrl));
|
|
}
|
|
if ((Original_nota == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_nota));
|
|
}
|
|
if ((Original_OldIdx.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((int)(Original_OldIdx.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_Attivo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = ((byte)(Original_Attivo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((int)(idxCliente));
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(
|
|
string RagSociale,
|
|
string indirizzo,
|
|
string CAP,
|
|
string citta,
|
|
string prov,
|
|
string tel,
|
|
string url,
|
|
string email,
|
|
string pIva,
|
|
string CF,
|
|
string logoUrl,
|
|
string nota,
|
|
global::System.Nullable<int> OldIdx,
|
|
global::System.Nullable<byte> Attivo,
|
|
int Original_idxCliente,
|
|
string Original_RagSociale,
|
|
string Original_indirizzo,
|
|
string Original_CAP,
|
|
string Original_citta,
|
|
string Original_prov,
|
|
string Original_tel,
|
|
string Original_url,
|
|
string Original_email,
|
|
string Original_pIva,
|
|
string Original_CF,
|
|
string Original_logoUrl,
|
|
string Original_nota,
|
|
global::System.Nullable<int> Original_OldIdx,
|
|
global::System.Nullable<byte> Original_Attivo) {
|
|
return this.Update(RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIva, CF, logoUrl, nota, OldIdx, Attivo, Original_idxCliente, Original_RagSociale, Original_indirizzo, Original_CAP, Original_citta, Original_prov, Original_tel, Original_url, Original_email, Original_pIva, Original_CF, Original_logoUrl, Original_nota, Original_OldIdx, Original_Attivo, Original_idxCliente);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int deleteQuery(global::System.Nullable<int> Original_idxCliente) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_idxCliente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Original_idxCliente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int insertQuery(string RagSociale, string indirizzo, string CAP, string citta, string prov, string tel, string email, string pIva, string CF, string nota) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((RagSociale == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(RagSociale));
|
|
}
|
|
if ((indirizzo == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(indirizzo));
|
|
}
|
|
if ((CAP == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(CAP));
|
|
}
|
|
if ((citta == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(citta));
|
|
}
|
|
if ((prov == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(prov));
|
|
}
|
|
if ((tel == null)) {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = ((string)(tel));
|
|
}
|
|
if ((email == null)) {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = ((string)(email));
|
|
}
|
|
if ((pIva == null)) {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = ((string)(pIva));
|
|
}
|
|
if ((CF == null)) {
|
|
command.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[9].Value = ((string)(CF));
|
|
}
|
|
if ((nota == null)) {
|
|
command.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[10].Value = ((string)(nota));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
|
|
public virtual int updateQuery(string RagSociale, string indirizzo, string CAP, string citta, string prov, string tel, string url, string email, string pIva, string CF, string logoUrl, string nota, global::System.Nullable<int> Original_idxCliente) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((RagSociale == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(RagSociale));
|
|
}
|
|
if ((indirizzo == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(indirizzo));
|
|
}
|
|
if ((CAP == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(CAP));
|
|
}
|
|
if ((citta == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(citta));
|
|
}
|
|
if ((prov == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(prov));
|
|
}
|
|
if ((tel == null)) {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = ((string)(tel));
|
|
}
|
|
if ((url == null)) {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = ((string)(url));
|
|
}
|
|
if ((email == null)) {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = ((string)(email));
|
|
}
|
|
if ((pIva == null)) {
|
|
command.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[9].Value = ((string)(pIva));
|
|
}
|
|
if ((CF == null)) {
|
|
command.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[10].Value = ((string)(CF));
|
|
}
|
|
if ((logoUrl == null)) {
|
|
command.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[11].Value = ((string)(logoUrl));
|
|
}
|
|
if ((nota == null)) {
|
|
command.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[12].Value = ((string)(nota));
|
|
}
|
|
if ((Original_idxCliente.HasValue == true)) {
|
|
command.Parameters[13].Value = ((int)(Original_idxCliente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class AnagProgettiTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgettiTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "AnagProgetti";
|
|
tableMapping.ColumnMappings.Add("idxProgetto", "idxProgetto");
|
|
tableMapping.ColumnMappings.Add("idxCliente", "idxCliente");
|
|
tableMapping.ColumnMappings.Add("nomeProj", "nomeProj");
|
|
tableMapping.ColumnMappings.Add("descrProj", "descrProj");
|
|
tableMapping.ColumnMappings.Add("budgetTime", "budgetTime");
|
|
tableMapping.ColumnMappings.Add("budgetMoney", "budgetMoney");
|
|
tableMapping.ColumnMappings.Add("OldIdx", "OldIdx");
|
|
tableMapping.ColumnMappings.Add("RagSociale", "RagSociale");
|
|
tableMapping.ColumnMappings.Add("Attivo", "Attivo");
|
|
tableMapping.ColumnMappings.Add("codExt", "codExt");
|
|
tableMapping.ColumnMappings.Add("totOre", "totOre");
|
|
tableMapping.ColumnMappings.Add("avvio", "avvio");
|
|
tableMapping.ColumnMappings.Add("chiusura", "chiusura");
|
|
tableMapping.ColumnMappings.Add("totOrePrevMont", "totOrePrevMont");
|
|
tableMapping.ColumnMappings.Add("totOreLast30", "totOreLast30");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = "dbo.stp_AP_delete";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, "idxProgetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = "dbo.stp_AP_insertQuery";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, "idxCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeProj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "nomeProj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrProj", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "descrProj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = "dbo.stp_AP_update";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, "idxCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeProj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "nomeProj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrProj", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "descrProj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, "idxProgetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "dbo.stp_AP_Expl_getData";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjZeroH", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjStar", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_AP_delete";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_AP_getByIdxCli";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjStar", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_AP_getByIdxPrj";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_AP_insertQuery";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeProj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrProj", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_AP_updateAttivo";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.stp_AP_update";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeProj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrProj", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[7].Connection = this.Connection;
|
|
this._commandCollection[7].CommandText = "dbo.stp_AP_updateStarred";
|
|
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@starred", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.AnagProgettiDataTable dataTable, global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> idxCliente, global::System.Nullable<bool> showPrjArch, global::System.Nullable<bool> showPrjZeroH, global::System.Nullable<bool> showPrjStar) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxCliente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(idxCliente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showPrjArch.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(showPrjArch.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showPrjZeroH.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(showPrjZeroH.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showPrjStar.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(showPrjStar.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.AnagProgettiDataTable GetData(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> idxCliente, global::System.Nullable<bool> showPrjArch, global::System.Nullable<bool> showPrjZeroH, global::System.Nullable<bool> showPrjStar) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxCliente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(idxCliente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showPrjArch.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(showPrjArch.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showPrjZeroH.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(showPrjZeroH.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showPrjStar.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(showPrjStar.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagProgettiDataTable dataTable = new DS_Applicazione.AnagProgettiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.AnagProgettiDataTable getByIdxCli(global::System.Nullable<int> idxCliente, global::System.Nullable<bool> showPrjArch, global::System.Nullable<bool> showPrjStar) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((idxCliente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxCliente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showPrjArch.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(showPrjArch.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showPrjStar.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(showPrjStar.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagProgettiDataTable dataTable = new DS_Applicazione.AnagProgettiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.AnagProgettiDataTable getByIdxPrj(global::System.Nullable<int> idxProgetto) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[3];
|
|
if ((idxProgetto.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxProgetto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagProgettiDataTable dataTable = new DS_Applicazione.AnagProgettiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.AnagProgettiDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "AnagProgetti");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(global::System.Nullable<int> Original_idxProgetto) {
|
|
if ((Original_idxProgetto.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxProgetto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(global::System.Nullable<int> idxCliente, string nomeProj, string descrProj) {
|
|
if ((idxCliente.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxCliente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((nomeProj == null)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(nomeProj));
|
|
}
|
|
if ((descrProj == null)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(descrProj));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(global::System.Nullable<int> idxCliente, string nomeProj, string descrProj, global::System.Nullable<int> Original_idxProgetto) {
|
|
if ((idxCliente.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxCliente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((nomeProj == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(nomeProj));
|
|
}
|
|
if ((descrProj == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(descrProj));
|
|
}
|
|
if ((Original_idxProgetto.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Original_idxProgetto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
|
|
public virtual int deleteQuery(global::System.Nullable<int> Original_idxProgetto) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_idxProgetto.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Original_idxProgetto.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
|
public virtual int insertQuery(global::System.Nullable<int> idxCliente, string nomeProj, string descrProj) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((idxCliente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxCliente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((nomeProj == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(nomeProj));
|
|
}
|
|
if ((descrProj == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(descrProj));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int updateAttivo(global::System.Nullable<bool> Attivo, global::System.Nullable<int> Original_idxProgetto) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
|
if ((Attivo.HasValue == true)) {
|
|
command.Parameters[1].Value = ((bool)(Attivo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxProgetto.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_idxProgetto.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
|
|
public virtual int updateQuery(global::System.Nullable<int> idxCliente, string nomeProj, string descrProj, global::System.Nullable<int> Original_idxProgetto) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
|
|
if ((idxCliente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxCliente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((nomeProj == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(nomeProj));
|
|
}
|
|
if ((descrProj == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(descrProj));
|
|
}
|
|
if ((Original_idxProgetto.HasValue == true)) {
|
|
command.Parameters[4].Value = ((int)(Original_idxProgetto.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int updateStarred(global::System.Nullable<bool> starred, global::System.Nullable<int> Original_idxProgetto) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
|
|
if ((starred.HasValue == true)) {
|
|
command.Parameters[1].Value = ((bool)(starred.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxProgetto.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_idxProgetto.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class Dipendenti2RuoliTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Dipendenti2RuoliTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "Dipendenti2Ruoli";
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("CodRuolo", "CodRuolo");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[Dipendenti2Ruoli] WHERE (([idxDipendente] = @Original_idxDipen" +
|
|
"dente) AND ([CodRuolo] = @Original_CodRuolo))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodRuolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodRuolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Dipendenti2Ruoli] ([idxDipendente], [CodRuolo]) VALUES (@idxDi" +
|
|
"pendente, @CodRuolo);\r\nSELECT idxDipendente, CodRuolo FROM Dipendenti2Ruoli WHER" +
|
|
"E (CodRuolo = @CodRuolo) AND (idxDipendente = @idxDipendente)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodRuolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodRuolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Dipendenti2Ruoli] SET [idxDipendente] = @idxDipendente, [CodRuolo] = @CodRuolo WHERE (([idxDipendente] = @Original_idxDipendente) AND ([CodRuolo] = @Original_CodRuolo));
|
|
SELECT idxDipendente, CodRuolo FROM Dipendenti2Ruoli WHERE (CodRuolo = @CodRuolo) AND (idxDipendente = @idxDipendente)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodRuolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodRuolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodRuolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodRuolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT idxDipendente, CodRuolo FROM dbo.Dipendenti2Ruoli";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_ruoliByDip";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_ruoliByDipRuolo";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodRuolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.Dipendenti2RuoliDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.Dipendenti2RuoliDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.Dipendenti2RuoliDataTable dataTable = new DS_Applicazione.Dipendenti2RuoliDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.Dipendenti2RuoliDataTable getByDip(global::System.Nullable<int> idxDipendente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.Dipendenti2RuoliDataTable dataTable = new DS_Applicazione.Dipendenti2RuoliDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.Dipendenti2RuoliDataTable getByDipRuolo(global::System.Nullable<int> idxDipendente, string CodRuolo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodRuolo == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodRuolo));
|
|
}
|
|
DS_Applicazione.Dipendenti2RuoliDataTable dataTable = new DS_Applicazione.Dipendenti2RuoliDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.Dipendenti2RuoliDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "Dipendenti2Ruoli");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(int Original_idxDipendente, string Original_CodRuolo) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_CodRuolo == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodRuolo");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodRuolo));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(int idxDipendente, string CodRuolo) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxDipendente));
|
|
if ((CodRuolo == null)) {
|
|
throw new global::System.ArgumentNullException("CodRuolo");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodRuolo));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(int idxDipendente, string CodRuolo, int Original_idxDipendente, string Original_CodRuolo) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxDipendente));
|
|
if ((CodRuolo == null)) {
|
|
throw new global::System.ArgumentNullException("CodRuolo");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodRuolo));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_CodRuolo == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodRuolo");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodRuolo));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(int Original_idxDipendente, string Original_CodRuolo) {
|
|
return this.Update(Original_idxDipendente, Original_CodRuolo, Original_idxDipendente, Original_CodRuolo);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class AnagFasiTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagFasiTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "AnagFasi";
|
|
tableMapping.ColumnMappings.Add("idxFase", "idxFase");
|
|
tableMapping.ColumnMappings.Add("idxProgetto", "idxProgetto");
|
|
tableMapping.ColumnMappings.Add("codFase", "codFase");
|
|
tableMapping.ColumnMappings.Add("idxFaseAncest", "idxFaseAncest");
|
|
tableMapping.ColumnMappings.Add("nomeFase", "nomeFase");
|
|
tableMapping.ColumnMappings.Add("descrizioneFase", "descrizioneFase");
|
|
tableMapping.ColumnMappings.Add("enableTime", "enableTime");
|
|
tableMapping.ColumnMappings.Add("enableMoney", "enableMoney");
|
|
tableMapping.ColumnMappings.Add("Attivo", "Attivo");
|
|
tableMapping.ColumnMappings.Add("codClasse", "codClasse");
|
|
tableMapping.ColumnMappings.Add("codExt", "codExt");
|
|
tableMapping.ColumnMappings.Add("totOre", "totOre");
|
|
tableMapping.ColumnMappings.Add("budgetTime", "budgetTime");
|
|
tableMapping.ColumnMappings.Add("budgetMoney", "budgetMoney");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = "dbo.stp_AF_deleteQuery";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, "idxFase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = "dbo.stp_AF_InsertQuery";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, "idxProgetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFaseAncest", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, "idxFaseAncest", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeFase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "nomeFase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneFase", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "descrizioneFase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enableTime", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, "enableTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enableMoney", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, "enableMoney", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, "Attivo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = "dbo.stp_AF_updateQuery";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeFase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "nomeFase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneFase", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "descrizioneFase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enableTime", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, "enableTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enableMoney", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, "enableMoney", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, "Attivo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, "idxFase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "dbo.stp_AF_Expl_getData";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_AF_clonaFase";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFaseAncest", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_AF_clonaFaseAnc";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_AF_deleteQuery";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_AF_getByIdxFase";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_AF_getByIdxProj";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.stp_AF_getLastByIdxDipendente";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@num2show", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[7].Connection = this.Connection;
|
|
this._commandCollection[7].CommandText = "dbo.stp_AF_InsertQuery";
|
|
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFaseAncest", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeFase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneFase", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enableTime", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enableMoney", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@budgetTime", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 19, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@budgetMoney", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 19, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[8].Connection = this.Connection;
|
|
this._commandCollection[8].CommandText = "dbo.stp_AF_updateFaseAncest";
|
|
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFaseAncest", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[9].Connection = this.Connection;
|
|
this._commandCollection[9].CommandText = "dbo.stp_AF_updateProgetto";
|
|
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[10].Connection = this.Connection;
|
|
this._commandCollection[10].CommandText = "dbo.stp_AF_updateQuery";
|
|
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeFase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneFase", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enableTime", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enableMoney", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@budgetTime", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 19, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@budgetMoney", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 19, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.AnagFasiDataTable dataTable, global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> idxProgetto) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxProgetto.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(idxProgetto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.AnagFasiDataTable GetData(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> idxProgetto) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxProgetto.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(idxProgetto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagFasiDataTable dataTable = new DS_Applicazione.AnagFasiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.AnagFasiDataTable getByIdx(global::System.Nullable<int> idxFase) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
if ((idxFase.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxFase.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagFasiDataTable dataTable = new DS_Applicazione.AnagFasiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.AnagFasiDataTable getByIdxProgetto(global::System.Nullable<int> idxProgetto) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
if ((idxProgetto.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxProgetto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagFasiDataTable dataTable = new DS_Applicazione.AnagFasiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.AnagFasiDataTable getLastByDip(global::System.Nullable<int> idxDipendente, global::System.Nullable<int> num2show) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[6];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((num2show.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(num2show.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagFasiDataTable dataTable = new DS_Applicazione.AnagFasiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.AnagFasiDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "AnagFasi");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(global::System.Nullable<int> Original_idxFase) {
|
|
if ((Original_idxFase.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxFase.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(global::System.Nullable<int> idxProgetto, global::System.Nullable<int> idxFaseAncest, string nomeFase, string descrizioneFase, global::System.Nullable<bool> enableTime, global::System.Nullable<bool> enableMoney, global::System.Nullable<bool> Attivo) {
|
|
if ((idxProgetto.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxProgetto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxFaseAncest.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(idxFaseAncest.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((nomeFase == null)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(nomeFase));
|
|
}
|
|
if ((descrizioneFase == null)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(descrizioneFase));
|
|
}
|
|
if ((enableTime.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(enableTime.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((enableMoney.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(enableMoney.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Attivo.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((bool)(Attivo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(string nomeFase, string descrizioneFase, global::System.Nullable<bool> enableTime, global::System.Nullable<bool> enableMoney, global::System.Nullable<int> Attivo, global::System.Nullable<int> Original_idxFase) {
|
|
if ((nomeFase == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(nomeFase));
|
|
}
|
|
if ((descrizioneFase == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(descrizioneFase));
|
|
}
|
|
if ((enableTime.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(enableTime.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((enableMoney.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(enableMoney.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Attivo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Attivo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxFase.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_idxFase.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int clonaFase(global::System.Nullable<int> idxFaseAncest, global::System.Nullable<int> Original_idxFase) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((idxFaseAncest.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxFaseAncest.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxFase.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int clonaFaseAnc(global::System.Nullable<int> idxProgetto, global::System.Nullable<int> Original_idxFase) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((idxProgetto.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxProgetto.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxFase.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int deleteQuery(global::System.Nullable<int> Original_idxFase) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((Original_idxFase.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Original_idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
|
public virtual int insertQuery(global::System.Nullable<int> idxProgetto, global::System.Nullable<int> idxFaseAncest, string nomeFase, string descrizioneFase, global::System.Nullable<bool> enableTime, global::System.Nullable<bool> enableMoney, global::System.Nullable<decimal> budgetTime, global::System.Nullable<decimal> budgetMoney, global::System.Nullable<bool> Attivo) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
|
|
if ((idxProgetto.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxProgetto.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxFaseAncest.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(idxFaseAncest.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((nomeFase == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(nomeFase));
|
|
}
|
|
if ((descrizioneFase == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(descrizioneFase));
|
|
}
|
|
if ((enableTime.HasValue == true)) {
|
|
command.Parameters[5].Value = ((bool)(enableTime.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((enableMoney.HasValue == true)) {
|
|
command.Parameters[6].Value = ((bool)(enableMoney.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((budgetTime.HasValue == true)) {
|
|
command.Parameters[7].Value = ((decimal)(budgetTime.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((budgetMoney.HasValue == true)) {
|
|
command.Parameters[8].Value = ((decimal)(budgetMoney.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Attivo.HasValue == true)) {
|
|
command.Parameters[9].Value = ((bool)(Attivo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int updateFaseAncest(global::System.Nullable<int> idxFaseAncest, global::System.Nullable<int> Original_idxFase) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
|
|
if ((idxFaseAncest.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxFaseAncest.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxFase.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int updateProgetto(global::System.Nullable<int> idxProgetto, global::System.Nullable<int> Original_idxFase) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
|
if ((idxProgetto.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxProgetto.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxFase.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
|
|
public virtual int updateQuery(string nomeFase, string descrizioneFase, global::System.Nullable<bool> enableTime, global::System.Nullable<bool> enableMoney, global::System.Nullable<int> Attivo, global::System.Nullable<decimal> budgetTime, global::System.Nullable<decimal> budgetMoney, global::System.Nullable<int> Original_idxFase) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
|
|
if ((nomeFase == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(nomeFase));
|
|
}
|
|
if ((descrizioneFase == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(descrizioneFase));
|
|
}
|
|
if ((enableTime.HasValue == true)) {
|
|
command.Parameters[3].Value = ((bool)(enableTime.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((enableMoney.HasValue == true)) {
|
|
command.Parameters[4].Value = ((bool)(enableMoney.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Attivo.HasValue == true)) {
|
|
command.Parameters[5].Value = ((int)(Attivo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((budgetTime.HasValue == true)) {
|
|
command.Parameters[6].Value = ((decimal)(budgetTime.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((budgetMoney.HasValue == true)) {
|
|
command.Parameters[7].Value = ((decimal)(budgetMoney.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxFase.HasValue == true)) {
|
|
command.Parameters[8].Value = ((int)(Original_idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class v_logCommUtTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logCommUtTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "v_logCommUt";
|
|
tableMapping.ColumnMappings.Add("dataLav", "Data");
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome");
|
|
tableMapping.ColumnMappings.Add("h_lav", "h_lav");
|
|
tableMapping.ColumnMappings.Add("Data", "Data");
|
|
tableMapping.ColumnMappings.Add("progetto", "progetto");
|
|
tableMapping.ColumnMappings.Add("h_com", "h_com");
|
|
tableMapping.ColumnMappings.Add("minOrd", "minOrd");
|
|
tableMapping.ColumnMappings.Add("minStra", "minStra");
|
|
tableMapping.ColumnMappings.Add("minPerm", "minPerm");
|
|
tableMapping.ColumnMappings.Add("minFer", "minFer");
|
|
tableMapping.ColumnMappings.Add("minMal", "minMal");
|
|
tableMapping.ColumnMappings.Add("minFest", "minFest");
|
|
tableMapping.ColumnMappings.Add("minMpp", "minMpp");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT Data, idxDipendente, CognomeNome, h_lav, h_com, progetto, minOrd, minStra," +
|
|
" minPerm, minFer, minMal, minFest, minMpp FROM v_logCommUt";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_lcuByDipDate";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maxErrMin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maxErrPlus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.v_logCommUtDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.v_logCommUtDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.v_logCommUtDataTable dataTable = new DS_Applicazione.v_logCommUtDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.v_logCommUtDataTable getByIdxDipDate(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> maxErrMin, global::System.Nullable<int> maxErrPlus) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((maxErrMin.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(maxErrMin.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((maxErrPlus.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((int)(maxErrPlus.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.v_logCommUtDataTable dataTable = new DS_Applicazione.v_logCommUtDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class RegAttivitaTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegAttivitaTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "RegAttivita";
|
|
tableMapping.ColumnMappings.Add("idxRA", "idxRA");
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("idxFase", "idxFase");
|
|
tableMapping.ColumnMappings.Add("inizio", "inizio");
|
|
tableMapping.ColumnMappings.Add("fine", "fine");
|
|
tableMapping.ColumnMappings.Add("descrizione", "descrizione");
|
|
tableMapping.ColumnMappings.Add("oreTot", "oreTot");
|
|
tableMapping.ColumnMappings.Add("money", "importo");
|
|
tableMapping.ColumnMappings.Add("importo", "importo");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RegAttivita] WHERE (([idxRA] = @Original_idxRA) AND ([idxDipendente] = @Original_idxDipendente) AND ([idxFase] = @Original_idxFase) AND ([inizio] = @Original_inizio) AND ([fine] = @Original_fine) AND ((@IsNull_descrizione = 1 AND [descrizione] IS NULL) OR ([descrizione] = @Original_descrizione)) AND ((@IsNull_oreTot = 1 AND [oreTot] IS NULL) OR ([oreTot] = @Original_oreTot)) AND ((@IsNull_importo = 1 AND [importo] IS NULL) OR ([importo] = @Original_importo)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxRA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxRA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_fine", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fine", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreTot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreTot", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreTot", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 19, 4, "oreTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_importo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "importo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_importo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 19, 4, "importo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [RegAttivita] ([idxDipendente], [idxFase], [inizio], [fine], [descrizione], [importo]) VALUES (@idxDipendente, @idxFase, @inizio, @fine, @descrizione, @importo);
|
|
SELECT idxRA, idxDipendente, idxFase, inizio, fine, descrizione, oreTot, importo FROM RegAttivita WHERE (idxRA = SCOPE_IDENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fine", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@importo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 19, 4, "importo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [RegAttivita] SET [idxDipendente] = @idxDipendente, [idxFase] = @idxFase, [inizio] = @inizio, [fine] = @fine, [descrizione] = @descrizione, [importo] = @importo WHERE (([idxRA] = @Original_idxRA) AND ([idxDipendente] = @Original_idxDipendente) AND ([idxFase] = @Original_idxFase) AND ([inizio] = @Original_inizio) AND ([fine] = @Original_fine) AND ((@IsNull_descrizione = 1 AND [descrizione] IS NULL) OR ([descrizione] = @Original_descrizione)) AND ((@IsNull_oreTot = 1 AND [oreTot] IS NULL) OR ([oreTot] = @Original_oreTot)) AND ((@IsNull_importo = 1 AND [importo] IS NULL) OR ([importo] = @Original_importo)));
|
|
SELECT idxRA, idxDipendente, idxFase, inizio, fine, descrizione, oreTot, importo FROM RegAttivita WHERE (idxRA = @idxRA)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fine", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@importo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 19, 4, "importo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxRA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxRA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_fine", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fine", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreTot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreTot", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreTot", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 19, 4, "oreTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_importo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "importo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_importo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 19, 4, "importo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxRA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxRA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[9];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT idxRA, idxDipendente, idxFase, inizio, fine, descrizione, oreTot, i" +
|
|
"mporto\r\nFROM RegAttivita";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_RA_clonaLastRA_byFaseUtente";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minuti", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_RA_clonaLastRA_Utente";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@durataMin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_RA_clona";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxRA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_RA_deleteQuery";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxRA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_RA_getByIdxDipData";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.stp_RA_getByKey";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxRA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[7].Connection = this.Connection;
|
|
this._commandCollection[7].CommandText = "dbo.stp_ricalcolaRegAttivitaExpl_byPeriodoUser";
|
|
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[8].Connection = this.Connection;
|
|
this._commandCollection[8].CommandText = "dbo.stp_RA_updateQuery";
|
|
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@importo", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 19, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxRA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.RegAttivitaDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.RegAttivitaDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.RegAttivitaDataTable dataTable = new DS_Applicazione.RegAttivitaDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.RegAttivitaDataTable getByDipData(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.RegAttivitaDataTable dataTable = new DS_Applicazione.RegAttivitaDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.RegAttivitaDataTable getByKey(global::System.Nullable<int> idxRA) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[6];
|
|
if ((idxRA.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxRA.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.RegAttivitaDataTable dataTable = new DS_Applicazione.RegAttivitaDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.RegAttivitaDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "RegAttivita");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(int Original_idxRA, int Original_idxDipendente, int Original_idxFase, System.DateTime Original_inizio, System.DateTime Original_fine, string Original_descrizione, global::System.Nullable<decimal> Original_oreTot, global::System.Nullable<decimal> Original_importo) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxRA));
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxDipendente));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_idxFase));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_inizio));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_fine));
|
|
if ((Original_descrizione == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_descrizione));
|
|
}
|
|
if ((Original_oreTot.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_oreTot.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_importo.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_importo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(int idxDipendente, int idxFase, System.DateTime inizio, System.DateTime fine, string descrizione, global::System.Nullable<decimal> importo) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxDipendente));
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxFase));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(inizio));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(fine));
|
|
if ((descrizione == null)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(descrizione));
|
|
}
|
|
if ((importo.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(importo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(int idxDipendente, int idxFase, System.DateTime inizio, System.DateTime fine, string descrizione, global::System.Nullable<decimal> importo, int Original_idxRA, int Original_idxDipendente, int Original_idxFase, System.DateTime Original_inizio, System.DateTime Original_fine, string Original_descrizione, global::System.Nullable<decimal> Original_oreTot, global::System.Nullable<decimal> Original_importo, int idxRA) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxDipendente));
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxFase));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(inizio));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(fine));
|
|
if ((descrizione == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(descrizione));
|
|
}
|
|
if ((importo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(importo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_idxRA));
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_idxDipendente));
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_idxFase));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(Original_inizio));
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(Original_fine));
|
|
if ((Original_descrizione == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_descrizione));
|
|
}
|
|
if ((Original_oreTot.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(Original_oreTot.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_importo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(Original_importo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(idxRA));
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(int idxDipendente, int idxFase, System.DateTime inizio, System.DateTime fine, string descrizione, global::System.Nullable<decimal> importo, int Original_idxRA, int Original_idxDipendente, int Original_idxFase, System.DateTime Original_inizio, System.DateTime Original_fine, string Original_descrizione, global::System.Nullable<decimal> Original_oreTot, global::System.Nullable<decimal> Original_importo) {
|
|
return this.Update(idxDipendente, idxFase, inizio, fine, descrizione, importo, Original_idxRA, Original_idxDipendente, Original_idxFase, Original_inizio, Original_fine, Original_descrizione, Original_oreTot, Original_importo, Original_idxRA);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int clonaLastRA_byFaseUtente(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataRif, global::System.Nullable<int> idxFase, global::System.Nullable<int> minuti) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataRif.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(dataRif.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxFase.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minuti.HasValue == true)) {
|
|
command.Parameters[4].Value = ((int)(minuti.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int clonaLastRA_Utente(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataRif, global::System.Nullable<int> durataMin) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataRif.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(dataRif.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((durataMin.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(durataMin.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int clonaRecord(global::System.Nullable<int> idxRA) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((idxRA.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxRA.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
|
|
public virtual int deleteQuery(global::System.Nullable<int> Original_idxRA) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((Original_idxRA.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Original_idxRA.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int stp_ricalcolaRegAttivitaExpl_byPeriodoUser(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((inizio.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
command.Parameters[3].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
|
|
public virtual int updateQuery(global::System.Nullable<int> idxDipendente, global::System.Nullable<int> idxFase, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, string descrizione, global::System.Nullable<decimal> importo, global::System.Nullable<int> Original_idxRA) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxFase.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((inizio.HasValue == true)) {
|
|
command.Parameters[3].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
command.Parameters[4].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((descrizione == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(descrizione));
|
|
}
|
|
if ((importo.HasValue == true)) {
|
|
command.Parameters[6].Value = ((decimal)(importo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxRA.HasValue == true)) {
|
|
command.Parameters[7].Value = ((int)(Original_idxRA.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class CalendFesteFerieTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "CalendFesteFerie";
|
|
tableMapping.ColumnMappings.Add("data", "data");
|
|
tableMapping.ColumnMappings.Add("descrizione", "descrizione");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[CalendFesteFerie] WHERE (([data] = @Original_data) AND ((@IsNu" +
|
|
"ll_descrizione = 1 AND [descrizione] IS NULL) OR ([descrizione] = @Original_desc" +
|
|
"rizione)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[CalendFesteFerie] ([data], [descrizione]) VALUES (@data, @desc" +
|
|
"rizione);\r\nSELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[CalendFesteFerie] SET [data] = @data, [descrizione] = @descrizione WHERE (([data] = @Original_data) AND ((@IsNull_descrizione = 1 AND [descrizione] IS NULL) OR ([descrizione] = @Original_descrizione)));
|
|
SELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT data, descrizione FROM dbo.CalendFesteFerie";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.CalendFesteFerieDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.CalendFesteFerieDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.CalendFesteFerieDataTable dataTable = new DS_Applicazione.CalendFesteFerieDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.CalendFesteFerieDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "CalendFesteFerie");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(System.DateTime Original_data, string Original_descrizione) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_data));
|
|
if ((Original_descrizione == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_descrizione));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(System.DateTime data, string descrizione) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(data));
|
|
if ((descrizione == null)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(descrizione));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(System.DateTime data, string descrizione, System.DateTime Original_data, string Original_descrizione) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(data));
|
|
if ((descrizione == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(descrizione));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(Original_data));
|
|
if ((Original_descrizione == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_descrizione));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(string descrizione, System.DateTime Original_data, string Original_descrizione) {
|
|
return this.Update(Original_data, descrizione, Original_data, Original_descrizione);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class AnagOrariTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagOrariTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "AnagOrari";
|
|
tableMapping.ColumnMappings.Add("codOrario", "codOrario");
|
|
tableMapping.ColumnMappings.Add("descOrario", "descOrario");
|
|
tableMapping.ColumnMappings.Add("oreOrdSett", "oreOrdSett");
|
|
tableMapping.ColumnMappings.Add("oreStraordAss", "oreStraordAss");
|
|
tableMapping.ColumnMappings.Add("autoCompOreOrd", "autoCompOreOrd");
|
|
tableMapping.ColumnMappings.Add("oreLun", "oreLun");
|
|
tableMapping.ColumnMappings.Add("oreMar", "oreMar");
|
|
tableMapping.ColumnMappings.Add("oreMer", "oreMer");
|
|
tableMapping.ColumnMappings.Add("oreGio", "oreGio");
|
|
tableMapping.ColumnMappings.Add("oreVen", "oreVen");
|
|
tableMapping.ColumnMappings.Add("oreSab", "oreSab");
|
|
tableMapping.ColumnMappings.Add("oreDom", "oreDom");
|
|
tableMapping.ColumnMappings.Add("oraInizio_1", "oraInizio_1");
|
|
tableMapping.ColumnMappings.Add("oraFine_1", "oraFine_1");
|
|
tableMapping.ColumnMappings.Add("oraInizio_2", "oraInizio_2");
|
|
tableMapping.ColumnMappings.Add("oraFine_2", "oraFine_2");
|
|
tableMapping.ColumnMappings.Add("oraInizio_3", "oraInizio_3");
|
|
tableMapping.ColumnMappings.Add("oraFine_3", "oraFine_3");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagOrari] WHERE (([codOrario] = @Original_codOrario) AND ((@I" +
|
|
"sNull_descOrario = 1 AND [descOrario] IS NULL) OR ([descOrario] = @Original_desc" +
|
|
"Orario)) AND ((@IsNull_oreOrdSett = 1 AND [oreOrdSett] IS NULL) OR ([oreOrdSett]" +
|
|
" = @Original_oreOrdSett)) AND ((@IsNull_oreStraordAss = 1 AND [oreStraordAss] IS" +
|
|
" NULL) OR ([oreStraordAss] = @Original_oreStraordAss)) AND ((@IsNull_autoCompOre" +
|
|
"Ord = 1 AND [autoCompOreOrd] IS NULL) OR ([autoCompOreOrd] = @Original_autoCompO" +
|
|
"reOrd)) AND ((@IsNull_oreLun = 1 AND [oreLun] IS NULL) OR ([oreLun] = @Original_" +
|
|
"oreLun)) AND ((@IsNull_oreMar = 1 AND [oreMar] IS NULL) OR ([oreMar] = @Original" +
|
|
"_oreMar)) AND ((@IsNull_oreMer = 1 AND [oreMer] IS NULL) OR ([oreMer] = @Origina" +
|
|
"l_oreMer)) AND ((@IsNull_oreGio = 1 AND [oreGio] IS NULL) OR ([oreGio] = @Origin" +
|
|
"al_oreGio)) AND ((@IsNull_oreVen = 1 AND [oreVen] IS NULL) OR ([oreVen] = @Origi" +
|
|
"nal_oreVen)) AND ((@IsNull_oreSab = 1 AND [oreSab] IS NULL) OR ([oreSab] = @Orig" +
|
|
"inal_oreSab)) AND ((@IsNull_oreDom = 1 AND [oreDom] IS NULL) OR ([oreDom] = @Ori" +
|
|
"ginal_oreDom)) AND ((@IsNull_oraInizio_1 = 1 AND [oraInizio_1] IS NULL) OR ([ora" +
|
|
"Inizio_1] = @Original_oraInizio_1)) AND ((@IsNull_oraFine_1 = 1 AND [oraFine_1] " +
|
|
"IS NULL) OR ([oraFine_1] = @Original_oraFine_1)) AND ((@IsNull_oraInizio_2 = 1 A" +
|
|
"ND [oraInizio_2] IS NULL) OR ([oraInizio_2] = @Original_oraInizio_2)) AND ((@IsN" +
|
|
"ull_oraFine_2 = 1 AND [oraFine_2] IS NULL) OR ([oraFine_2] = @Original_oraFine_2" +
|
|
")) AND ((@IsNull_oraInizio_3 = 1 AND [oraInizio_3] IS NULL) OR ([oraInizio_3] = " +
|
|
"@Original_oraInizio_3)) AND ((@IsNull_oraFine_3 = 1 AND [oraFine_3] IS NULL) OR " +
|
|
"([oraFine_3] = @Original_oraFine_3)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descOrario", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descOrario", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descOrario", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreOrdSett", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreOrdSett", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreOrdSett", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreOrdSett", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreStraordAss", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreStraordAss", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreStraordAss", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreStraordAss", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_autoCompOreOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoCompOreOrd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_autoCompOreOrd", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoCompOreOrd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreLun", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreLun", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreLun", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreLun", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreMar", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMar", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreMar", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMar", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreMer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMer", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreMer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreGio", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreGio", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreGio", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreGio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreVen", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreVen", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreVen", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreVen", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreSab", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreSab", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreSab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreSab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreDom", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreDom", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreDom", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreDom", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraInizio_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraInizio_1", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraFine_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraFine_1", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraInizio_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraInizio_2", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraFine_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraFine_2", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraInizio_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraInizio_3", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraFine_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraFine_3", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagOrari] ([codOrario], [descOrario], [oreOrdSett], [oreStraordAss], [autoCompOreOrd], [oreLun], [oreMar], [oreMer], [oreGio], [oreVen], [oreSab], [oreDom], [oraInizio_1], [oraFine_1], [oraInizio_2], [oraFine_2], [oraInizio_3], [oraFine_3]) VALUES (@codOrario, @descOrario, @oreOrdSett, @oreStraordAss, @autoCompOreOrd, @oreLun, @oreMar, @oreMer, @oreGio, @oreVen, @oreSab, @oreDom, @oraInizio_1, @oraFine_1, @oraInizio_2, @oraFine_2, @oraInizio_3, @oraFine_3);
|
|
SELECT codOrario, descOrario, oreOrdSett, oreStraordAss, autoCompOreOrd, oreLun, oreMar, oreMer, oreGio, oreVen, oreSab, oreDom, oraInizio_1, oraFine_1, oraInizio_2, oraFine_2, oraInizio_3, oraFine_3 FROM AnagOrari WHERE (codOrario = @codOrario)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descOrario", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreOrdSett", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreOrdSett", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreStraordAss", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreStraordAss", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@autoCompOreOrd", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoCompOreOrd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreLun", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreLun", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreMar", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMar", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreMer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreGio", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreGio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreVen", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreVen", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreSab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreSab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreDom", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreDom", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraInizio_1", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraFine_1", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraInizio_2", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraFine_2", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraInizio_3", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraFine_3", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[AnagOrari] SET [codOrario] = @codOrario, [descOrario] = @descOrario" +
|
|
", [oreOrdSett] = @oreOrdSett, [oreStraordAss] = @oreStraordAss, [autoCompOreOrd]" +
|
|
" = @autoCompOreOrd, [oreLun] = @oreLun, [oreMar] = @oreMar, [oreMer] = @oreMer, " +
|
|
"[oreGio] = @oreGio, [oreVen] = @oreVen, [oreSab] = @oreSab, [oreDom] = @oreDom, " +
|
|
"[oraInizio_1] = @oraInizio_1, [oraFine_1] = @oraFine_1, [oraInizio_2] = @oraIniz" +
|
|
"io_2, [oraFine_2] = @oraFine_2, [oraInizio_3] = @oraInizio_3, [oraFine_3] = @ora" +
|
|
"Fine_3 WHERE (([codOrario] = @Original_codOrario) AND ((@IsNull_descOrario = 1 A" +
|
|
"ND [descOrario] IS NULL) OR ([descOrario] = @Original_descOrario)) AND ((@IsNull" +
|
|
"_oreOrdSett = 1 AND [oreOrdSett] IS NULL) OR ([oreOrdSett] = @Original_oreOrdSet" +
|
|
"t)) AND ((@IsNull_oreStraordAss = 1 AND [oreStraordAss] IS NULL) OR ([oreStraord" +
|
|
"Ass] = @Original_oreStraordAss)) AND ((@IsNull_autoCompOreOrd = 1 AND [autoCompO" +
|
|
"reOrd] IS NULL) OR ([autoCompOreOrd] = @Original_autoCompOreOrd)) AND ((@IsNull_" +
|
|
"oreLun = 1 AND [oreLun] IS NULL) OR ([oreLun] = @Original_oreLun)) AND ((@IsNull" +
|
|
"_oreMar = 1 AND [oreMar] IS NULL) OR ([oreMar] = @Original_oreMar)) AND ((@IsNul" +
|
|
"l_oreMer = 1 AND [oreMer] IS NULL) OR ([oreMer] = @Original_oreMer)) AND ((@IsNu" +
|
|
"ll_oreGio = 1 AND [oreGio] IS NULL) OR ([oreGio] = @Original_oreGio)) AND ((@IsN" +
|
|
"ull_oreVen = 1 AND [oreVen] IS NULL) OR ([oreVen] = @Original_oreVen)) AND ((@Is" +
|
|
"Null_oreSab = 1 AND [oreSab] IS NULL) OR ([oreSab] = @Original_oreSab)) AND ((@I" +
|
|
"sNull_oreDom = 1 AND [oreDom] IS NULL) OR ([oreDom] = @Original_oreDom)) AND ((@" +
|
|
"IsNull_oraInizio_1 = 1 AND [oraInizio_1] IS NULL) OR ([oraInizio_1] = @Original_" +
|
|
"oraInizio_1)) AND ((@IsNull_oraFine_1 = 1 AND [oraFine_1] IS NULL) OR ([oraFine_" +
|
|
"1] = @Original_oraFine_1)) AND ((@IsNull_oraInizio_2 = 1 AND [oraInizio_2] IS NU" +
|
|
"LL) OR ([oraInizio_2] = @Original_oraInizio_2)) AND ((@IsNull_oraFine_2 = 1 AND " +
|
|
"[oraFine_2] IS NULL) OR ([oraFine_2] = @Original_oraFine_2)) AND ((@IsNull_oraIn" +
|
|
"izio_3 = 1 AND [oraInizio_3] IS NULL) OR ([oraInizio_3] = @Original_oraInizio_3)" +
|
|
") AND ((@IsNull_oraFine_3 = 1 AND [oraFine_3] IS NULL) OR ([oraFine_3] = @Origin" +
|
|
"al_oraFine_3)));\r\nSELECT codOrario, descOrario, oreOrdSett, oreStraordAss, autoC" +
|
|
"ompOreOrd, oreLun, oreMar, oreMer, oreGio, oreVen, oreSab, oreDom, oraInizio_1, " +
|
|
"oraFine_1, oraInizio_2, oraFine_2, oraInizio_3, oraFine_3 FROM AnagOrari WHERE (" +
|
|
"codOrario = @codOrario)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descOrario", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreOrdSett", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreOrdSett", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreStraordAss", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreStraordAss", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@autoCompOreOrd", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoCompOreOrd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreLun", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreLun", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreMar", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMar", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreMer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreGio", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreGio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreVen", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreVen", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreSab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreSab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreDom", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreDom", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraInizio_1", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraFine_1", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraInizio_2", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraFine_2", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraInizio_3", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraFine_3", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codOrario", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descOrario", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descOrario", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descOrario", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descOrario", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreOrdSett", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreOrdSett", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreOrdSett", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreOrdSett", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreStraordAss", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreStraordAss", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreStraordAss", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreStraordAss", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_autoCompOreOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoCompOreOrd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_autoCompOreOrd", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoCompOreOrd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreLun", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreLun", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreLun", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreLun", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreMar", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMar", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreMar", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMar", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreMer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMer", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreMer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreMer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreGio", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreGio", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreGio", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreGio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreVen", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreVen", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreVen", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreVen", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreSab", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreSab", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreSab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreSab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oreDom", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreDom", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oreDom", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oreDom", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraInizio_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraInizio_1", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraFine_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraFine_1", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraInizio_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraInizio_2", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraFine_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraFine_2", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraInizio_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraInizio_3", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraInizio_3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_oraFine_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_oraFine_3", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "oraFine_3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT codOrario, descOrario, oreOrdSett, oreStraordAss, autoCompOreOrd, oreLun, " +
|
|
"oreMar, oreMer, oreGio, oreVen, oreSab, oreDom, oraInizio_1, oraFine_1, oraInizi" +
|
|
"o_2, oraFine_2, oraInizio_3, oraFine_3 FROM dbo.AnagOrari";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_AO_deleteQuery";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codOrario", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_AO_updateQuery";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codOrario", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descOrario", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreOrdSett", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreStraordAss", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@autoCompOreOrd", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreLun", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreMar", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreMer", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreGio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreVen", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreSab", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oreDom", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraInizio_1", global::System.Data.SqlDbType.Time, 5, global::System.Data.ParameterDirection.Input, 16, 7, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraFine_1", global::System.Data.SqlDbType.Time, 5, global::System.Data.ParameterDirection.Input, 16, 7, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraInizio_2", global::System.Data.SqlDbType.Time, 5, global::System.Data.ParameterDirection.Input, 16, 7, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraFine_2", global::System.Data.SqlDbType.Time, 5, global::System.Data.ParameterDirection.Input, 16, 7, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraInizio_3", global::System.Data.SqlDbType.Time, 5, global::System.Data.ParameterDirection.Input, 16, 7, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@oraFine_3", global::System.Data.SqlDbType.Time, 5, global::System.Data.ParameterDirection.Input, 16, 7, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codOrario", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.AnagOrariDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.AnagOrariDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.AnagOrariDataTable dataTable = new DS_Applicazione.AnagOrariDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.AnagOrariDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "AnagOrari");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(
|
|
string Original_codOrario,
|
|
string Original_descOrario,
|
|
global::System.Nullable<double> Original_oreOrdSett,
|
|
global::System.Nullable<double> Original_oreStraordAss,
|
|
global::System.Nullable<bool> Original_autoCompOreOrd,
|
|
global::System.Nullable<double> Original_oreLun,
|
|
global::System.Nullable<double> Original_oreMar,
|
|
global::System.Nullable<double> Original_oreMer,
|
|
global::System.Nullable<double> Original_oreGio,
|
|
global::System.Nullable<double> Original_oreVen,
|
|
global::System.Nullable<double> Original_oreSab,
|
|
global::System.Nullable<double> Original_oreDom,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraInizio_1,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraFine_1,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraInizio_2,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraFine_2,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraInizio_3,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraFine_3) {
|
|
if ((Original_codOrario == null)) {
|
|
throw new global::System.ArgumentNullException("Original_codOrario");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_codOrario));
|
|
}
|
|
if ((Original_descOrario == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_descOrario));
|
|
}
|
|
if ((Original_oreOrdSett.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_oreOrdSett.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreStraordAss.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((double)(Original_oreStraordAss.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_autoCompOreOrd.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((bool)(Original_autoCompOreOrd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreLun.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_oreLun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreMar.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((double)(Original_oreMar.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreMer.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((double)(Original_oreMer.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreGio.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((double)(Original_oreGio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreVen.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((double)(Original_oreVen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreSab.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((double)(Original_oreSab.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreDom.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((double)(Original_oreDom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraInizio_1.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((System.TimeSpan)(Original_oraInizio_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraFine_1.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((System.TimeSpan)(Original_oraFine_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraInizio_2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((System.TimeSpan)(Original_oraInizio_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraFine_2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = ((System.TimeSpan)(Original_oraFine_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraInizio_3.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = ((System.TimeSpan)(Original_oraInizio_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraFine_3.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = ((System.TimeSpan)(Original_oraFine_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(
|
|
string codOrario,
|
|
string descOrario,
|
|
global::System.Nullable<double> oreOrdSett,
|
|
global::System.Nullable<double> oreStraordAss,
|
|
global::System.Nullable<bool> autoCompOreOrd,
|
|
global::System.Nullable<double> oreLun,
|
|
global::System.Nullable<double> oreMar,
|
|
global::System.Nullable<double> oreMer,
|
|
global::System.Nullable<double> oreGio,
|
|
global::System.Nullable<double> oreVen,
|
|
global::System.Nullable<double> oreSab,
|
|
global::System.Nullable<double> oreDom,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_1,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_1,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_2,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_2,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_3,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_3) {
|
|
if ((codOrario == null)) {
|
|
throw new global::System.ArgumentNullException("codOrario");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(codOrario));
|
|
}
|
|
if ((descOrario == null)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(descOrario));
|
|
}
|
|
if ((oreOrdSett.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((double)(oreOrdSett.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreStraordAss.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((double)(oreStraordAss.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((autoCompOreOrd.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((bool)(autoCompOreOrd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreLun.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((double)(oreLun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreMar.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((double)(oreMar.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreMer.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((double)(oreMer.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreGio.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((double)(oreGio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreVen.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((double)(oreVen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreSab.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((double)(oreSab.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreDom.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((double)(oreDom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraInizio_1.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((System.TimeSpan)(oraInizio_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraFine_1.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((System.TimeSpan)(oraFine_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraInizio_2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((System.TimeSpan)(oraInizio_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraFine_2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = ((System.TimeSpan)(oraFine_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraInizio_3.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = ((System.TimeSpan)(oraInizio_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraFine_3.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = ((System.TimeSpan)(oraFine_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(
|
|
string codOrario,
|
|
string descOrario,
|
|
global::System.Nullable<double> oreOrdSett,
|
|
global::System.Nullable<double> oreStraordAss,
|
|
global::System.Nullable<bool> autoCompOreOrd,
|
|
global::System.Nullable<double> oreLun,
|
|
global::System.Nullable<double> oreMar,
|
|
global::System.Nullable<double> oreMer,
|
|
global::System.Nullable<double> oreGio,
|
|
global::System.Nullable<double> oreVen,
|
|
global::System.Nullable<double> oreSab,
|
|
global::System.Nullable<double> oreDom,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_1,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_1,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_2,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_2,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_3,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_3,
|
|
string Original_codOrario,
|
|
string Original_descOrario,
|
|
global::System.Nullable<double> Original_oreOrdSett,
|
|
global::System.Nullable<double> Original_oreStraordAss,
|
|
global::System.Nullable<bool> Original_autoCompOreOrd,
|
|
global::System.Nullable<double> Original_oreLun,
|
|
global::System.Nullable<double> Original_oreMar,
|
|
global::System.Nullable<double> Original_oreMer,
|
|
global::System.Nullable<double> Original_oreGio,
|
|
global::System.Nullable<double> Original_oreVen,
|
|
global::System.Nullable<double> Original_oreSab,
|
|
global::System.Nullable<double> Original_oreDom,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraInizio_1,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraFine_1,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraInizio_2,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraFine_2,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraInizio_3,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraFine_3) {
|
|
if ((codOrario == null)) {
|
|
throw new global::System.ArgumentNullException("codOrario");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(codOrario));
|
|
}
|
|
if ((descOrario == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(descOrario));
|
|
}
|
|
if ((oreOrdSett.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((double)(oreOrdSett.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreStraordAss.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((double)(oreStraordAss.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((autoCompOreOrd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(autoCompOreOrd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreLun.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(oreLun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreMar.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((double)(oreMar.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreMer.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(oreMer.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreGio.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((double)(oreGio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreVen.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((double)(oreVen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreSab.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((double)(oreSab.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreDom.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((double)(oreDom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraInizio_1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((System.TimeSpan)(oraInizio_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraFine_1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((System.TimeSpan)(oraFine_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraInizio_2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((System.TimeSpan)(oraInizio_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraFine_2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((System.TimeSpan)(oraFine_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraInizio_3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((System.TimeSpan)(oraInizio_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraFine_3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((System.TimeSpan)(oraFine_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_codOrario == null)) {
|
|
throw new global::System.ArgumentNullException("Original_codOrario");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_codOrario));
|
|
}
|
|
if ((Original_descOrario == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_descOrario));
|
|
}
|
|
if ((Original_oreOrdSett.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((double)(Original_oreOrdSett.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreStraordAss.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((double)(Original_oreStraordAss.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_autoCompOreOrd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((bool)(Original_autoCompOreOrd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreLun.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((double)(Original_oreLun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreMar.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((double)(Original_oreMar.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreMer.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((double)(Original_oreMer.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreGio.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((double)(Original_oreGio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreVen.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((double)(Original_oreVen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreSab.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((double)(Original_oreSab.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oreDom.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((double)(Original_oreDom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraInizio_1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = ((System.TimeSpan)(Original_oraInizio_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraFine_1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = ((System.TimeSpan)(Original_oraFine_1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraInizio_2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = ((System.TimeSpan)(Original_oraInizio_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraFine_2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = ((System.TimeSpan)(Original_oraFine_2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraInizio_3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = ((System.TimeSpan)(Original_oraInizio_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_oraFine_3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = ((System.TimeSpan)(Original_oraFine_3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(
|
|
string descOrario,
|
|
global::System.Nullable<double> oreOrdSett,
|
|
global::System.Nullable<double> oreStraordAss,
|
|
global::System.Nullable<bool> autoCompOreOrd,
|
|
global::System.Nullable<double> oreLun,
|
|
global::System.Nullable<double> oreMar,
|
|
global::System.Nullable<double> oreMer,
|
|
global::System.Nullable<double> oreGio,
|
|
global::System.Nullable<double> oreVen,
|
|
global::System.Nullable<double> oreSab,
|
|
global::System.Nullable<double> oreDom,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_1,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_1,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_2,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_2,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_3,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_3,
|
|
string Original_codOrario,
|
|
string Original_descOrario,
|
|
global::System.Nullable<double> Original_oreOrdSett,
|
|
global::System.Nullable<double> Original_oreStraordAss,
|
|
global::System.Nullable<bool> Original_autoCompOreOrd,
|
|
global::System.Nullable<double> Original_oreLun,
|
|
global::System.Nullable<double> Original_oreMar,
|
|
global::System.Nullable<double> Original_oreMer,
|
|
global::System.Nullable<double> Original_oreGio,
|
|
global::System.Nullable<double> Original_oreVen,
|
|
global::System.Nullable<double> Original_oreSab,
|
|
global::System.Nullable<double> Original_oreDom,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraInizio_1,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraFine_1,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraInizio_2,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraFine_2,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraInizio_3,
|
|
global::System.Nullable<global::System.TimeSpan> Original_oraFine_3) {
|
|
return this.Update(Original_codOrario, descOrario, oreOrdSett, oreStraordAss, autoCompOreOrd, oreLun, oreMar, oreMer, oreGio, oreVen, oreSab, oreDom, oraInizio_1, oraFine_1, oraInizio_2, oraFine_2, oraInizio_3, oraFine_3, Original_codOrario, Original_descOrario, Original_oreOrdSett, Original_oreStraordAss, Original_autoCompOreOrd, Original_oreLun, Original_oreMar, Original_oreMer, Original_oreGio, Original_oreVen, Original_oreSab, Original_oreDom, Original_oraInizio_1, Original_oraFine_1, Original_oraInizio_2, Original_oraFine_2, Original_oraInizio_3, Original_oraFine_3);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
|
|
public virtual int deleteQuery(string Original_codOrario) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_codOrario == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_codOrario));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
|
|
public virtual int updateQuery(
|
|
string codOrario,
|
|
string descOrario,
|
|
global::System.Nullable<double> oreOrdSett,
|
|
global::System.Nullable<double> oreStraordAss,
|
|
global::System.Nullable<bool> autoCompOreOrd,
|
|
global::System.Nullable<double> oreLun,
|
|
global::System.Nullable<double> oreMar,
|
|
global::System.Nullable<double> oreMer,
|
|
global::System.Nullable<double> oreGio,
|
|
global::System.Nullable<double> oreVen,
|
|
global::System.Nullable<double> oreSab,
|
|
global::System.Nullable<double> oreDom,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_1,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_1,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_2,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_2,
|
|
global::System.Nullable<global::System.TimeSpan> oraInizio_3,
|
|
global::System.Nullable<global::System.TimeSpan> oraFine_3,
|
|
string Original_codOrario) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((codOrario == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(codOrario));
|
|
}
|
|
if ((descOrario == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(descOrario));
|
|
}
|
|
if ((oreOrdSett.HasValue == true)) {
|
|
command.Parameters[3].Value = ((double)(oreOrdSett.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreStraordAss.HasValue == true)) {
|
|
command.Parameters[4].Value = ((double)(oreStraordAss.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((autoCompOreOrd.HasValue == true)) {
|
|
command.Parameters[5].Value = ((bool)(autoCompOreOrd.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreLun.HasValue == true)) {
|
|
command.Parameters[6].Value = ((double)(oreLun.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreMar.HasValue == true)) {
|
|
command.Parameters[7].Value = ((double)(oreMar.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreMer.HasValue == true)) {
|
|
command.Parameters[8].Value = ((double)(oreMer.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreGio.HasValue == true)) {
|
|
command.Parameters[9].Value = ((double)(oreGio.Value));
|
|
}
|
|
else {
|
|
command.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreVen.HasValue == true)) {
|
|
command.Parameters[10].Value = ((double)(oreVen.Value));
|
|
}
|
|
else {
|
|
command.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreSab.HasValue == true)) {
|
|
command.Parameters[11].Value = ((double)(oreSab.Value));
|
|
}
|
|
else {
|
|
command.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oreDom.HasValue == true)) {
|
|
command.Parameters[12].Value = ((double)(oreDom.Value));
|
|
}
|
|
else {
|
|
command.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraInizio_1.HasValue == true)) {
|
|
command.Parameters[13].Value = ((System.TimeSpan)(oraInizio_1.Value));
|
|
}
|
|
else {
|
|
command.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraFine_1.HasValue == true)) {
|
|
command.Parameters[14].Value = ((System.TimeSpan)(oraFine_1.Value));
|
|
}
|
|
else {
|
|
command.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraInizio_2.HasValue == true)) {
|
|
command.Parameters[15].Value = ((System.TimeSpan)(oraInizio_2.Value));
|
|
}
|
|
else {
|
|
command.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraFine_2.HasValue == true)) {
|
|
command.Parameters[16].Value = ((System.TimeSpan)(oraFine_2.Value));
|
|
}
|
|
else {
|
|
command.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraInizio_3.HasValue == true)) {
|
|
command.Parameters[17].Value = ((System.TimeSpan)(oraInizio_3.Value));
|
|
}
|
|
else {
|
|
command.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((oraFine_3.HasValue == true)) {
|
|
command.Parameters[18].Value = ((System.TimeSpan)(oraFine_3.Value));
|
|
}
|
|
else {
|
|
command.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_codOrario == null)) {
|
|
command.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[19].Value = ((string)(Original_codOrario));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class TimbMeseExplTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TimbMeseExplTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "TimbMeseExpl";
|
|
tableMapping.ColumnMappings.Add("Anno", "Anno");
|
|
tableMapping.ColumnMappings.Add("Mese", "Mese");
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome");
|
|
tableMapping.ColumnMappings.Add("totOreOrd", "totOreOrd");
|
|
tableMapping.ColumnMappings.Add("totOreFest", "totOreFest");
|
|
tableMapping.ColumnMappings.Add("totOreDaLav", "totOreDaLav");
|
|
tableMapping.ColumnMappings.Add("totOrePerm", "totOrePerm");
|
|
tableMapping.ColumnMappings.Add("totOreFer", "totOreFer");
|
|
tableMapping.ColumnMappings.Add("totOreMal", "totOreMal");
|
|
tableMapping.ColumnMappings.Add("totLav", "totLav");
|
|
tableMapping.ColumnMappings.Add("totOreNonLav", "totOreNonLav");
|
|
tableMapping.ColumnMappings.Add("totOreStra", "totOreStra");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "dbo.stp_TimbMeseExpl";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_TimbMeseCompStraord";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Mese", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tipoCom", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minuti", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.TimbMeseExplDataTable dataTable, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, global::System.Nullable<int> idxDipendente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.TimbMeseExplDataTable GetData(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, global::System.Nullable<int> idxDipendente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TimbMeseExplDataTable dataTable = new DS_Applicazione.TimbMeseExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int CompStraord(global::System.Nullable<int> Anno, global::System.Nullable<int> Mese, global::System.Nullable<int> idxDipendente, global::System.Nullable<int> tipoCom, global::System.Nullable<int> minuti) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Anno.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Anno.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Mese.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Mese.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((tipoCom.HasValue == true)) {
|
|
command.Parameters[4].Value = ((int)(tipoCom.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minuti.HasValue == true)) {
|
|
command.Parameters[5].Value = ((int)(minuti.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class GiustificativiTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public GiustificativiTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "Giustificativi";
|
|
tableMapping.ColumnMappings.Add("dataLav", "dataLav");
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("codGiust", "codGiust");
|
|
tableMapping.ColumnMappings.Add("minuti", "minuti");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[Giustificativi] WHERE (([dataLav] = @Original_dataLav) AND ([i" +
|
|
"dxDipendente] = @Original_idxDipendente) AND ([codGiust] = @Original_codGiust) A" +
|
|
"ND ((@IsNull_minuti = 1 AND [minuti] IS NULL) OR ([minuti] = @Original_minuti)))" +
|
|
"";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codGiust", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codGiust", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minuti", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minuti", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minuti", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minuti", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Giustificativi] ([dataLav], [idxDipendente], [codGiust], [minuti]) VALUES (@dataLav, @idxDipendente, @codGiust, @minuti);
|
|
SELECT dataLav, idxDipendente, codGiust, minuti FROM Giustificativi WHERE (codGiust = @codGiust) AND (dataLav = @dataLav) AND (idxDipendente = @idxDipendente)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codGiust", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codGiust", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minuti", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minuti", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Giustificativi] SET [dataLav] = @dataLav, [idxDipendente] = @idxDipendente, [codGiust] = @codGiust, [minuti] = @minuti WHERE (([dataLav] = @Original_dataLav) AND ([idxDipendente] = @Original_idxDipendente) AND ([codGiust] = @Original_codGiust) AND ((@IsNull_minuti = 1 AND [minuti] IS NULL) OR ([minuti] = @Original_minuti)));
|
|
SELECT dataLav, idxDipendente, codGiust, minuti FROM Giustificativi WHERE (codGiust = @codGiust) AND (dataLav = @dataLav) AND (idxDipendente = @idxDipendente)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codGiust", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codGiust", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minuti", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minuti", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codGiust", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codGiust", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minuti", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minuti", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minuti", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minuti", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT dataLav, idxDipendente, codGiust, minuti FROM dbo.Giustificativi";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_giustDeleteQuery";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataLav", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codGiust", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_Giust_GetByDipDate";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataLav", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_giust_insByDate";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codGiust", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_giust_insertQuery";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataLav", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codGiust", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minuti", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_giust_updateQuery";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataLav", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codGiust", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codGiust", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minuti", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.GiustificativiDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.GiustificativiDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.GiustificativiDataTable dataTable = new DS_Applicazione.GiustificativiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.GiustificativiDataTable getByDipDate(global::System.Nullable<global::System.DateTime> dataLav, global::System.Nullable<int> idxDipendente) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((dataLav.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.GiustificativiDataTable dataTable = new DS_Applicazione.GiustificativiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.GiustificativiDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "Giustificativi");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(System.DateTime Original_dataLav, int Original_idxDipendente, string Original_codGiust, global::System.Nullable<int> Original_minuti) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_dataLav));
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_codGiust == null)) {
|
|
throw new global::System.ArgumentNullException("Original_codGiust");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_codGiust));
|
|
}
|
|
if ((Original_minuti.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_minuti.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(System.DateTime dataLav, int idxDipendente, string codGiust, global::System.Nullable<int> minuti) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(dataLav));
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxDipendente));
|
|
if ((codGiust == null)) {
|
|
throw new global::System.ArgumentNullException("codGiust");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(codGiust));
|
|
}
|
|
if ((minuti.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(minuti.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(System.DateTime dataLav, int idxDipendente, string codGiust, global::System.Nullable<int> minuti, System.DateTime Original_dataLav, int Original_idxDipendente, string Original_codGiust, global::System.Nullable<int> Original_minuti) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(dataLav));
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxDipendente));
|
|
if ((codGiust == null)) {
|
|
throw new global::System.ArgumentNullException("codGiust");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(codGiust));
|
|
}
|
|
if ((minuti.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(minuti.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(Original_dataLav));
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_idxDipendente));
|
|
if ((Original_codGiust == null)) {
|
|
throw new global::System.ArgumentNullException("Original_codGiust");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_codGiust));
|
|
}
|
|
if ((Original_minuti.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_minuti.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(global::System.Nullable<int> minuti, System.DateTime Original_dataLav, int Original_idxDipendente, string Original_codGiust, global::System.Nullable<int> Original_minuti) {
|
|
return this.Update(Original_dataLav, Original_idxDipendente, Original_codGiust, minuti, Original_dataLav, Original_idxDipendente, Original_codGiust, Original_minuti);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
|
|
public virtual int DeleteQuery(global::System.Nullable<global::System.DateTime> Original_dataLav, global::System.Nullable<int> Original_idxDipendente, string Original_codGiust) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_dataLav.HasValue == true)) {
|
|
command.Parameters[1].Value = ((System.DateTime)(Original_dataLav.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxDipendente.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_codGiust == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(Original_codGiust));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int giustInsByDate(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataRif, string codGiust) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataRif.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(dataRif.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((codGiust == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(codGiust));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
|
public virtual int InsertQuery(global::System.Nullable<global::System.DateTime> dataLav, global::System.Nullable<int> idxDipendente, string codGiust, global::System.Nullable<int> minuti) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((dataLav.HasValue == true)) {
|
|
command.Parameters[1].Value = ((System.DateTime)(dataLav.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((codGiust == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(codGiust));
|
|
}
|
|
if ((minuti.HasValue == true)) {
|
|
command.Parameters[4].Value = ((int)(minuti.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int updateQuery(global::System.Nullable<global::System.DateTime> Original_dataLav, global::System.Nullable<int> Original_idxDipendente, string Original_codGiust, string codGiust, global::System.Nullable<int> minuti) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
|
if ((Original_dataLav.HasValue == true)) {
|
|
command.Parameters[1].Value = ((System.DateTime)(Original_dataLav.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxDipendente.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_codGiust == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(Original_codGiust));
|
|
}
|
|
if ((codGiust == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(codGiust));
|
|
}
|
|
if ((minuti.HasValue == true)) {
|
|
command.Parameters[5].Value = ((int)(minuti.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class stp_DipendentiAndAnomalieTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_DipendentiAndAnomalieTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "stp_DipendentiAndAnomalie";
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome");
|
|
tableMapping.ColumnMappings.Add("email", "email");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "dbo.stp_DipendentiAndAnomalie";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notOkApp", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notOkTim", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notOkLav", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.stp_DipendentiAndAnomalieDataTable dataTable, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, global::System.Nullable<bool> notOkApp, global::System.Nullable<bool> notOkTim, global::System.Nullable<bool> notOkLav) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((notOkApp.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(notOkApp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((notOkTim.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(notOkTim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((notOkLav.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(notOkLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.stp_DipendentiAndAnomalieDataTable GetData(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, global::System.Nullable<bool> notOkApp, global::System.Nullable<bool> notOkTim, global::System.Nullable<bool> notOkLav) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((notOkApp.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(notOkApp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((notOkTim.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(notOkTim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((notOkLav.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(notOkLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.stp_DipendentiAndAnomalieDataTable dataTable = new DS_Applicazione.stp_DipendentiAndAnomalieDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class TE_RA_ExplTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TE_RA_ExplTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "TE_RA_Expl";
|
|
tableMapping.ColumnMappings.Add("dataLav", "dataLav");
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome");
|
|
tableMapping.ColumnMappings.Add("h_lav", "h_lav");
|
|
tableMapping.ColumnMappings.Add("h_giust", "h_giust");
|
|
tableMapping.ColumnMappings.Add("h_com", "h_com");
|
|
tableMapping.ColumnMappings.Add("progetti", "progetti");
|
|
tableMapping.ColumnMappings.Add("okLavCom", "okLavCom");
|
|
tableMapping.ColumnMappings.Add("isOkTim", "isOkTim");
|
|
tableMapping.ColumnMappings.Add("isOkApp", "isOkApp");
|
|
tableMapping.ColumnMappings.Add("isOkLav", "isOkLav");
|
|
tableMapping.ColumnMappings.Add("isOk", "isOk");
|
|
tableMapping.ColumnMappings.Add("block", "block");
|
|
tableMapping.ColumnMappings.Add("minOrd", "minOrd");
|
|
tableMapping.ColumnMappings.Add("minNonLav", "minNonLav");
|
|
tableMapping.ColumnMappings.Add("minStra", "minStra");
|
|
tableMapping.ColumnMappings.Add("minPerm", "minPerm");
|
|
tableMapping.ColumnMappings.Add("minFer", "minFer");
|
|
tableMapping.ColumnMappings.Add("minMal", "minMal");
|
|
tableMapping.ColumnMappings.Add("minFest", "minFest");
|
|
tableMapping.ColumnMappings.Add("minRegAtt", "minRegAtt");
|
|
tableMapping.ColumnMappings.Add("entrata_1", "entrata_1");
|
|
tableMapping.ColumnMappings.Add("uscita_1", "uscita_1");
|
|
tableMapping.ColumnMappings.Add("entrata_2", "entrata_2");
|
|
tableMapping.ColumnMappings.Add("uscita_2", "uscita_2");
|
|
tableMapping.ColumnMappings.Add("entrata_3", "entrata_3");
|
|
tableMapping.ColumnMappings.Add("uscita_3", "uscita_3");
|
|
tableMapping.ColumnMappings.Add("entrata_4", "entrata_4");
|
|
tableMapping.ColumnMappings.Add("uscita_4", "uscita_4");
|
|
tableMapping.ColumnMappings.Add("minArcoPres", "minArcoPres");
|
|
tableMapping.ColumnMappings.Add("chkFunCod", "chkFunCod");
|
|
tableMapping.ColumnMappings.Add("chkFunRes", "chkFunRes");
|
|
tableMapping.ColumnMappings.Add("minMpp", "minMpp");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "dbo.stp_TE_RA_ByUserDate";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showWE", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maxErrMin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maxErrPlus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.TE_RA_ExplDataTable dataTable, global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<bool> showWE, global::System.Nullable<int> maxErrMin, global::System.Nullable<int> maxErrPlus) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showWE.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(showWE.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((maxErrMin.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((int)(maxErrMin.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((maxErrPlus.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((int)(maxErrPlus.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.TE_RA_ExplDataTable GetData(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<bool> showWE, global::System.Nullable<int> maxErrMin, global::System.Nullable<int> maxErrPlus) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((showWE.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(showWE.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((maxErrMin.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((int)(maxErrMin.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((maxErrPlus.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((int)(maxErrPlus.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.TE_RA_ExplDataTable dataTable = new DS_Applicazione.TE_RA_ExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class regAttDayExplTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public regAttDayExplTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "regAttDayExpl";
|
|
tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente");
|
|
tableMapping.ColumnMappings.Add("inizio", "inizio");
|
|
tableMapping.ColumnMappings.Add("fine", "fine");
|
|
tableMapping.ColumnMappings.Add("descrizione", "descrizione");
|
|
tableMapping.ColumnMappings.Add("oreTot", "oreTot");
|
|
tableMapping.ColumnMappings.Add("importo", "importo");
|
|
tableMapping.ColumnMappings.Add("RagSociale", "RagSociale");
|
|
tableMapping.ColumnMappings.Add("nomeProj", "nomeProj");
|
|
tableMapping.ColumnMappings.Add("nomeFase", "nomeFase");
|
|
tableMapping.ColumnMappings.Add("minTot", "minTot");
|
|
tableMapping.ColumnMappings.Add("idxRA", "idxRA");
|
|
tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "dbo.stp_RAD_Expl_getByIdxDipData";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_RA_deleteQuery";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxRA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_RAD_Expl_getByIdxDipPeriodo";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@soloAncest", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_RA_InsertQuery";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@importo", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 19, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_RA_updateFase";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxRA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_RA_updateQuery";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@importo", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 19, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxRA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.regAttDayExplDataTable dataTable, global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataRif) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataRif.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataRif.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.regAttDayExplDataTable GetData(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataRif) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataRif.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataRif.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.regAttDayExplDataTable dataTable = new DS_Applicazione.regAttDayExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.regAttDayExplDataTable getByDipPeriodo(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> idxCliente, global::System.Nullable<int> idxProgetto, global::System.Nullable<int> idxFase, global::System.Nullable<bool> soloAncest) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxCliente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(idxCliente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxProgetto.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((int)(idxProgetto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxFase.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((int)(idxFase.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((soloAncest.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(soloAncest.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.regAttDayExplDataTable dataTable = new DS_Applicazione.regAttDayExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int deleteQuery(global::System.Nullable<int> Original_idxRA) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_idxRA.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Original_idxRA.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
|
public virtual int insertQuery(global::System.Nullable<int> idxDipendente, global::System.Nullable<int> idxFase, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, string descrizione, global::System.Nullable<decimal> importo) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxFase.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((inizio.HasValue == true)) {
|
|
command.Parameters[3].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
command.Parameters[4].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((descrizione == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(descrizione));
|
|
}
|
|
if ((importo.HasValue == true)) {
|
|
command.Parameters[6].Value = ((decimal)(importo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int updateFase(global::System.Nullable<int> idxFase, global::System.Nullable<int> Original_idxRA) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((idxFase.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxRA.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_idxRA.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int updateQuery(global::System.Nullable<int> idxDipendente, global::System.Nullable<int> idxFase, global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, string descrizione, global::System.Nullable<decimal> importo, global::System.Nullable<int> Original_idxRA) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxFase.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(idxFase.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((inizio.HasValue == true)) {
|
|
command.Parameters[3].Value = ((System.DateTime)(inizio.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((fine.HasValue == true)) {
|
|
command.Parameters[4].Value = ((System.DateTime)(fine.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((descrizione == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(descrizione));
|
|
}
|
|
if ((importo.HasValue == true)) {
|
|
command.Parameters[6].Value = ((decimal)(importo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxRA.HasValue == true)) {
|
|
command.Parameters[7].Value = ((int)(Original_idxRA.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class AnagProgetti_ExplTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AnagProgetti_ExplTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "AnagProgetti_Expl";
|
|
tableMapping.ColumnMappings.Add("RagSociale", "RagSociale");
|
|
tableMapping.ColumnMappings.Add("idxProgetto", "idxProgetto");
|
|
tableMapping.ColumnMappings.Add("idxCliente", "idxCliente");
|
|
tableMapping.ColumnMappings.Add("nomeProj", "nomeProj");
|
|
tableMapping.ColumnMappings.Add("descrProj", "descrProj");
|
|
tableMapping.ColumnMappings.Add("budgetTime", "budgetTime");
|
|
tableMapping.ColumnMappings.Add("budgetMoney", "budgetMoney");
|
|
tableMapping.ColumnMappings.Add("OldIdx", "OldIdx");
|
|
tableMapping.ColumnMappings.Add("Attivo", "Attivo");
|
|
tableMapping.ColumnMappings.Add("codExt", "codExt");
|
|
tableMapping.ColumnMappings.Add("totOre", "totOre");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "dbo.stp_AP_Expl_getData";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.AnagProgetti_ExplDataTable dataTable, global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.AnagProgetti_ExplDataTable GetData(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxDipendente.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxDipendente.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.AnagProgetti_ExplDataTable dataTable = new DS_Applicazione.AnagProgetti_ExplDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public partial class RegistroEventiTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RegistroEventiTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
get {
|
|
if ((this._connection == null)) {
|
|
this.InitConnection();
|
|
}
|
|
return this._connection;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
if ((this.Adapter.InsertCommand != null)) {
|
|
this.Adapter.InsertCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.DeleteCommand != null)) {
|
|
this.Adapter.DeleteCommand.Connection = value;
|
|
}
|
|
if ((this.Adapter.UpdateCommand != null)) {
|
|
this.Adapter.UpdateCommand.Connection = value;
|
|
}
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
if ((this.CommandCollection[i] != null)) {
|
|
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
get {
|
|
if ((this._commandCollection == null)) {
|
|
this.InitCommandCollection();
|
|
}
|
|
return this._commandCollection;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ClearBeforeFill {
|
|
get {
|
|
return this._clearBeforeFill;
|
|
}
|
|
set {
|
|
this._clearBeforeFill = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitAdapter() {
|
|
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
tableMapping.SourceTable = "Table";
|
|
tableMapping.DataSetTable = "RegistroEventi";
|
|
tableMapping.ColumnMappings.Add("DataOra", "DataOra");
|
|
tableMapping.ColumnMappings.Add("evento", "evento");
|
|
tableMapping.ColumnMappings.Add("commento", "commento");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.DeleteCommand.Connection = this.Connection;
|
|
this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[RegistroEventi] WHERE (([DataOra] = @Original_DataOra) AND ([e" +
|
|
"vento] = @Original_evento) AND ((@IsNull_commento = 1 AND [commento] IS NULL) OR" +
|
|
" ([commento] = @Original_commento)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_evento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "evento", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_commento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "commento", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_commento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "commento", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[RegistroEventi] ([DataOra], [evento], [commento]) VALUES (@Dat" +
|
|
"aOra, @evento, @commento);\r\nSELECT DataOra, evento, commento FROM RegistroEventi" +
|
|
" WHERE (DataOra = @DataOra) AND (evento = @evento)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@evento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "evento", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@commento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "commento", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[RegistroEventi] SET [DataOra] = @DataOra, [evento] = @evento, [commento] = @commento WHERE (([DataOra] = @Original_DataOra) AND ([evento] = @Original_evento) AND ((@IsNull_commento = 1 AND [commento] IS NULL) OR ([commento] = @Original_commento)));
|
|
SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra) AND (evento = @evento)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@evento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "evento", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@commento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "commento", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_evento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "evento", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_commento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "commento", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_commento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "commento", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitCommandCollection() {
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT DataOra, evento, commento FROM dbo.RegistroEventi";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_RE_GetByDataEv";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@evento", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
public virtual int Fill(DS_Applicazione.RegistroEventiDataTable dataTable) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((this.ClearBeforeFill == true)) {
|
|
dataTable.Clear();
|
|
}
|
|
int returnValue = this.Adapter.Fill(dataTable);
|
|
return returnValue;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_Applicazione.RegistroEventiDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Applicazione.RegistroEventiDataTable dataTable = new DS_Applicazione.RegistroEventiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Applicazione.RegistroEventiDataTable getByDataEv(string evento, global::System.Nullable<global::System.DateTime> data) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((evento == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(evento));
|
|
}
|
|
if ((data.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(data.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Applicazione.RegistroEventiDataTable dataTable = new DS_Applicazione.RegistroEventiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione.RegistroEventiDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_Applicazione dataSet) {
|
|
return this.Adapter.Update(dataSet, "RegistroEventi");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(System.DateTime Original_DataOra, string Original_evento, string Original_commento) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_DataOra));
|
|
if ((Original_evento == null)) {
|
|
throw new global::System.ArgumentNullException("Original_evento");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_evento));
|
|
}
|
|
if ((Original_commento == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_commento));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(System.DateTime DataOra, string evento, string commento) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(DataOra));
|
|
if ((evento == null)) {
|
|
throw new global::System.ArgumentNullException("evento");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(evento));
|
|
}
|
|
if ((commento == null)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(commento));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
|
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.InsertCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.InsertCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(System.DateTime DataOra, string evento, string commento, System.DateTime Original_DataOra, string Original_evento, string Original_commento) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(DataOra));
|
|
if ((evento == null)) {
|
|
throw new global::System.ArgumentNullException("evento");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(evento));
|
|
}
|
|
if ((commento == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(commento));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(Original_DataOra));
|
|
if ((Original_evento == null)) {
|
|
throw new global::System.ArgumentNullException("Original_evento");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_evento));
|
|
}
|
|
if ((Original_commento == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_commento));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
|
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.UpdateCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.UpdateCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(string commento, System.DateTime Original_DataOra, string Original_evento, string Original_commento) {
|
|
return this.Update(Original_DataOra, Original_evento, commento, Original_DataOra, Original_evento, Original_commento);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
|
|
"esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
|
|
public partial class TableAdapterManager : global::System.ComponentModel.Component {
|
|
|
|
private UpdateOrderOption _updateOrder;
|
|
|
|
private TimbratureTableAdapter _timbratureTableAdapter;
|
|
|
|
private TimbratureExplTableAdapter _timbratureExplTableAdapter;
|
|
|
|
private AnagDevicesTableAdapter _anagDevicesTableAdapter;
|
|
|
|
private DipendentiTableAdapter _dipendentiTableAdapter;
|
|
|
|
private AnagClientiTableAdapter _anagClientiTableAdapter;
|
|
|
|
private AnagProgettiTableAdapter _anagProgettiTableAdapter;
|
|
|
|
private Dipendenti2RuoliTableAdapter _dipendenti2RuoliTableAdapter;
|
|
|
|
private AnagFasiTableAdapter _anagFasiTableAdapter;
|
|
|
|
private RegAttivitaTableAdapter _regAttivitaTableAdapter;
|
|
|
|
private CalendFesteFerieTableAdapter _calendFesteFerieTableAdapter;
|
|
|
|
private AnagOrariTableAdapter _anagOrariTableAdapter;
|
|
|
|
private GiustificativiTableAdapter _giustificativiTableAdapter;
|
|
|
|
private RegistroEventiTableAdapter _registroEventiTableAdapter;
|
|
|
|
private bool _backupDataSetBeforeUpdate;
|
|
|
|
private global::System.Data.IDbConnection _connection;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public UpdateOrderOption UpdateOrder {
|
|
get {
|
|
return this._updateOrder;
|
|
}
|
|
set {
|
|
this._updateOrder = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public TimbratureTableAdapter TimbratureTableAdapter {
|
|
get {
|
|
return this._timbratureTableAdapter;
|
|
}
|
|
set {
|
|
this._timbratureTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public TimbratureExplTableAdapter TimbratureExplTableAdapter {
|
|
get {
|
|
return this._timbratureExplTableAdapter;
|
|
}
|
|
set {
|
|
this._timbratureExplTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public AnagDevicesTableAdapter AnagDevicesTableAdapter {
|
|
get {
|
|
return this._anagDevicesTableAdapter;
|
|
}
|
|
set {
|
|
this._anagDevicesTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public DipendentiTableAdapter DipendentiTableAdapter {
|
|
get {
|
|
return this._dipendentiTableAdapter;
|
|
}
|
|
set {
|
|
this._dipendentiTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public AnagClientiTableAdapter AnagClientiTableAdapter {
|
|
get {
|
|
return this._anagClientiTableAdapter;
|
|
}
|
|
set {
|
|
this._anagClientiTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public AnagProgettiTableAdapter AnagProgettiTableAdapter {
|
|
get {
|
|
return this._anagProgettiTableAdapter;
|
|
}
|
|
set {
|
|
this._anagProgettiTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public Dipendenti2RuoliTableAdapter Dipendenti2RuoliTableAdapter {
|
|
get {
|
|
return this._dipendenti2RuoliTableAdapter;
|
|
}
|
|
set {
|
|
this._dipendenti2RuoliTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public AnagFasiTableAdapter AnagFasiTableAdapter {
|
|
get {
|
|
return this._anagFasiTableAdapter;
|
|
}
|
|
set {
|
|
this._anagFasiTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public RegAttivitaTableAdapter RegAttivitaTableAdapter {
|
|
get {
|
|
return this._regAttivitaTableAdapter;
|
|
}
|
|
set {
|
|
this._regAttivitaTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public CalendFesteFerieTableAdapter CalendFesteFerieTableAdapter {
|
|
get {
|
|
return this._calendFesteFerieTableAdapter;
|
|
}
|
|
set {
|
|
this._calendFesteFerieTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public AnagOrariTableAdapter AnagOrariTableAdapter {
|
|
get {
|
|
return this._anagOrariTableAdapter;
|
|
}
|
|
set {
|
|
this._anagOrariTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public GiustificativiTableAdapter GiustificativiTableAdapter {
|
|
get {
|
|
return this._giustificativiTableAdapter;
|
|
}
|
|
set {
|
|
this._giustificativiTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public RegistroEventiTableAdapter RegistroEventiTableAdapter {
|
|
get {
|
|
return this._registroEventiTableAdapter;
|
|
}
|
|
set {
|
|
this._registroEventiTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool BackupDataSetBeforeUpdate {
|
|
get {
|
|
return this._backupDataSetBeforeUpdate;
|
|
}
|
|
set {
|
|
this._backupDataSetBeforeUpdate = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public global::System.Data.IDbConnection Connection {
|
|
get {
|
|
if ((this._connection != null)) {
|
|
return this._connection;
|
|
}
|
|
if (((this._timbratureTableAdapter != null)
|
|
&& (this._timbratureTableAdapter.Connection != null))) {
|
|
return this._timbratureTableAdapter.Connection;
|
|
}
|
|
if (((this._timbratureExplTableAdapter != null)
|
|
&& (this._timbratureExplTableAdapter.Connection != null))) {
|
|
return this._timbratureExplTableAdapter.Connection;
|
|
}
|
|
if (((this._anagDevicesTableAdapter != null)
|
|
&& (this._anagDevicesTableAdapter.Connection != null))) {
|
|
return this._anagDevicesTableAdapter.Connection;
|
|
}
|
|
if (((this._dipendentiTableAdapter != null)
|
|
&& (this._dipendentiTableAdapter.Connection != null))) {
|
|
return this._dipendentiTableAdapter.Connection;
|
|
}
|
|
if (((this._anagClientiTableAdapter != null)
|
|
&& (this._anagClientiTableAdapter.Connection != null))) {
|
|
return this._anagClientiTableAdapter.Connection;
|
|
}
|
|
if (((this._anagProgettiTableAdapter != null)
|
|
&& (this._anagProgettiTableAdapter.Connection != null))) {
|
|
return this._anagProgettiTableAdapter.Connection;
|
|
}
|
|
if (((this._dipendenti2RuoliTableAdapter != null)
|
|
&& (this._dipendenti2RuoliTableAdapter.Connection != null))) {
|
|
return this._dipendenti2RuoliTableAdapter.Connection;
|
|
}
|
|
if (((this._anagFasiTableAdapter != null)
|
|
&& (this._anagFasiTableAdapter.Connection != null))) {
|
|
return this._anagFasiTableAdapter.Connection;
|
|
}
|
|
if (((this._regAttivitaTableAdapter != null)
|
|
&& (this._regAttivitaTableAdapter.Connection != null))) {
|
|
return this._regAttivitaTableAdapter.Connection;
|
|
}
|
|
if (((this._calendFesteFerieTableAdapter != null)
|
|
&& (this._calendFesteFerieTableAdapter.Connection != null))) {
|
|
return this._calendFesteFerieTableAdapter.Connection;
|
|
}
|
|
if (((this._anagOrariTableAdapter != null)
|
|
&& (this._anagOrariTableAdapter.Connection != null))) {
|
|
return this._anagOrariTableAdapter.Connection;
|
|
}
|
|
if (((this._giustificativiTableAdapter != null)
|
|
&& (this._giustificativiTableAdapter.Connection != null))) {
|
|
return this._giustificativiTableAdapter.Connection;
|
|
}
|
|
if (((this._registroEventiTableAdapter != null)
|
|
&& (this._registroEventiTableAdapter.Connection != null))) {
|
|
return this._registroEventiTableAdapter.Connection;
|
|
}
|
|
return null;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int TableAdapterInstanceCount {
|
|
get {
|
|
int count = 0;
|
|
if ((this._timbratureTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._timbratureExplTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._anagDevicesTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._dipendentiTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._anagClientiTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._anagProgettiTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._dipendenti2RuoliTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._anagFasiTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._regAttivitaTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._anagOrariTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._giustificativiTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._registroEventiTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
return count;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Update rows in top-down order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private int UpdateUpdatedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
int result = 0;
|
|
if ((this._anagClientiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._anagClientiTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._anagProgettiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.AnagProgetti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._anagProgettiTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._anagOrariTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.AnagOrari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._anagOrariTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._dipendentiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.Dipendenti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._dipendentiTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._anagFasiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._anagFasiTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._timbratureTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.Timbrature.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._timbratureTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._giustificativiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.Giustificativi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._giustificativiTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._regAttivitaTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.RegAttivita.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._regAttivitaTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._dipendenti2RuoliTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.Dipendenti2Ruoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._dipendenti2RuoliTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._anagDevicesTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.AnagDevices.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._anagDevicesTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._timbratureExplTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.TimbratureExpl.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._timbratureExplTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._calendFesteFerieTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._registroEventiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._registroEventiTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Insert rows in top-down order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private int UpdateInsertedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
int result = 0;
|
|
if ((this._anagClientiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._anagClientiTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._anagProgettiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.AnagProgetti.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._anagProgettiTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._anagOrariTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.AnagOrari.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._anagOrariTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._dipendentiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.Dipendenti.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._dipendentiTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._anagFasiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._anagFasiTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._timbratureTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.Timbrature.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._timbratureTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._giustificativiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.Giustificativi.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._giustificativiTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._regAttivitaTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.RegAttivita.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._regAttivitaTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._dipendenti2RuoliTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.Dipendenti2Ruoli.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._dipendenti2RuoliTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._anagDevicesTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.AnagDevices.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._anagDevicesTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._timbratureExplTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.TimbratureExpl.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._timbratureExplTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._calendFesteFerieTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._registroEventiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._registroEventiTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Delete rows in bottom-up order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private int UpdateDeletedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
|
|
int result = 0;
|
|
if ((this._registroEventiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._registroEventiTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._calendFesteFerieTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._timbratureExplTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.TimbratureExpl.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._timbratureExplTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._anagDevicesTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.AnagDevices.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._anagDevicesTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._dipendenti2RuoliTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.Dipendenti2Ruoli.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._dipendenti2RuoliTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._regAttivitaTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.RegAttivita.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._regAttivitaTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._giustificativiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.Giustificativi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._giustificativiTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._timbratureTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.Timbrature.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._timbratureTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._anagFasiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._anagFasiTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._dipendentiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.Dipendenti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._dipendentiTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._anagOrariTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.AnagOrari.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._anagOrariTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._anagProgettiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.AnagProgetti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._anagProgettiTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._anagClientiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._anagClientiTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
if (((updatedRows == null)
|
|
|| (updatedRows.Length < 1))) {
|
|
return updatedRows;
|
|
}
|
|
if (((allAddedRows == null)
|
|
|| (allAddedRows.Count < 1))) {
|
|
return updatedRows;
|
|
}
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = updatedRows[i];
|
|
if ((allAddedRows.Contains(row) == false)) {
|
|
realUpdatedRows.Add(row);
|
|
}
|
|
}
|
|
return realUpdatedRows.ToArray();
|
|
}
|
|
|
|
/// <summary>
|
|
///Update all changes to the dataset.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public virtual int UpdateAll(DS_Applicazione dataSet) {
|
|
if ((dataSet == null)) {
|
|
throw new global::System.ArgumentNullException("dataSet");
|
|
}
|
|
if ((dataSet.HasChanges() == false)) {
|
|
return 0;
|
|
}
|
|
if (((this._timbratureTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._timbratureTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._timbratureExplTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._timbratureExplTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._anagDevicesTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._anagDevicesTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._dipendentiTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._dipendentiTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._anagClientiTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._anagClientiTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._anagProgettiTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._anagProgettiTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._dipendenti2RuoliTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._dipendenti2RuoliTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._anagFasiTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._anagFasiTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._regAttivitaTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._regAttivitaTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._calendFesteFerieTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._calendFesteFerieTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._anagOrariTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._anagOrariTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._giustificativiTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._giustificativiTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._registroEventiTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._registroEventiTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
global::System.Data.IDbConnection workConnection = this.Connection;
|
|
if ((workConnection == null)) {
|
|
throw new global::System.ApplicationException("TableAdapterManager non contiene informazioni di connessione. Impostare la propri" +
|
|
"età TableAdapter di ciascun oggetto TableAdapterManager su un\'istanza TableAdapt" +
|
|
"er valida.");
|
|
}
|
|
bool workConnOpened = false;
|
|
if (((workConnection.State & global::System.Data.ConnectionState.Broken)
|
|
== global::System.Data.ConnectionState.Broken)) {
|
|
workConnection.Close();
|
|
}
|
|
if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
|
|
workConnection.Open();
|
|
workConnOpened = true;
|
|
}
|
|
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
|
|
if ((workTransaction == null)) {
|
|
throw new global::System.ApplicationException("Impossibile avviare la transazione. La connessione dati corrente non supporta le " +
|
|
"transazioni oppure lo stato corrente non consente l\'avvio della transazione.");
|
|
}
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
|
|
global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
|
|
int result = 0;
|
|
global::System.Data.DataSet backupDataSet = null;
|
|
if (this.BackupDataSetBeforeUpdate) {
|
|
backupDataSet = new global::System.Data.DataSet();
|
|
backupDataSet.Merge(dataSet);
|
|
}
|
|
try {
|
|
// ---- Prepare for update -----------
|
|
//
|
|
if ((this._timbratureTableAdapter != null)) {
|
|
revertConnections.Add(this._timbratureTableAdapter, this._timbratureTableAdapter.Connection);
|
|
this._timbratureTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._timbratureTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._timbratureTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._timbratureTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._timbratureTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._timbratureExplTableAdapter != null)) {
|
|
revertConnections.Add(this._timbratureExplTableAdapter, this._timbratureExplTableAdapter.Connection);
|
|
this._timbratureExplTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._timbratureExplTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._timbratureExplTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._timbratureExplTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._timbratureExplTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._anagDevicesTableAdapter != null)) {
|
|
revertConnections.Add(this._anagDevicesTableAdapter, this._anagDevicesTableAdapter.Connection);
|
|
this._anagDevicesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._anagDevicesTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._anagDevicesTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._anagDevicesTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._anagDevicesTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._dipendentiTableAdapter != null)) {
|
|
revertConnections.Add(this._dipendentiTableAdapter, this._dipendentiTableAdapter.Connection);
|
|
this._dipendentiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._dipendentiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._dipendentiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._dipendentiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._dipendentiTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._anagClientiTableAdapter != null)) {
|
|
revertConnections.Add(this._anagClientiTableAdapter, this._anagClientiTableAdapter.Connection);
|
|
this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._anagClientiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._anagClientiTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._anagProgettiTableAdapter != null)) {
|
|
revertConnections.Add(this._anagProgettiTableAdapter, this._anagProgettiTableAdapter.Connection);
|
|
this._anagProgettiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._anagProgettiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._anagProgettiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._anagProgettiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._anagProgettiTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._dipendenti2RuoliTableAdapter != null)) {
|
|
revertConnections.Add(this._dipendenti2RuoliTableAdapter, this._dipendenti2RuoliTableAdapter.Connection);
|
|
this._dipendenti2RuoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._dipendenti2RuoliTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._dipendenti2RuoliTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._dipendenti2RuoliTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._dipendenti2RuoliTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._anagFasiTableAdapter != null)) {
|
|
revertConnections.Add(this._anagFasiTableAdapter, this._anagFasiTableAdapter.Connection);
|
|
this._anagFasiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._anagFasiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._anagFasiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._anagFasiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._anagFasiTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._regAttivitaTableAdapter != null)) {
|
|
revertConnections.Add(this._regAttivitaTableAdapter, this._regAttivitaTableAdapter.Connection);
|
|
this._regAttivitaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._regAttivitaTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._regAttivitaTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._regAttivitaTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._regAttivitaTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
revertConnections.Add(this._calendFesteFerieTableAdapter, this._calendFesteFerieTableAdapter.Connection);
|
|
this._calendFesteFerieTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._calendFesteFerieTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._calendFesteFerieTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._calendFesteFerieTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._calendFesteFerieTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._anagOrariTableAdapter != null)) {
|
|
revertConnections.Add(this._anagOrariTableAdapter, this._anagOrariTableAdapter.Connection);
|
|
this._anagOrariTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._anagOrariTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._anagOrariTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._anagOrariTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._anagOrariTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._giustificativiTableAdapter != null)) {
|
|
revertConnections.Add(this._giustificativiTableAdapter, this._giustificativiTableAdapter.Connection);
|
|
this._giustificativiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._giustificativiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._giustificativiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._giustificativiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._giustificativiTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._registroEventiTableAdapter != null)) {
|
|
revertConnections.Add(this._registroEventiTableAdapter, this._registroEventiTableAdapter.Connection);
|
|
this._registroEventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._registroEventiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._registroEventiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._registroEventiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._registroEventiTableAdapter.Adapter);
|
|
}
|
|
}
|
|
//
|
|
//---- Perform updates -----------
|
|
//
|
|
if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
|
|
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
|
|
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
|
|
}
|
|
else {
|
|
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
|
|
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
|
|
}
|
|
result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
|
|
//
|
|
//---- Commit updates -----------
|
|
//
|
|
workTransaction.Commit();
|
|
if ((0 < allAddedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
|
|
allAddedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
}
|
|
}
|
|
if ((0 < allChangedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
|
|
allChangedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
}
|
|
}
|
|
}
|
|
catch (global::System.Exception ex) {
|
|
workTransaction.Rollback();
|
|
// ---- Restore the dataset -----------
|
|
if (this.BackupDataSetBeforeUpdate) {
|
|
global::System.Diagnostics.Debug.Assert((backupDataSet != null));
|
|
dataSet.Clear();
|
|
dataSet.Merge(backupDataSet);
|
|
}
|
|
else {
|
|
if ((0 < allAddedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
|
|
allAddedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
row.SetAdded();
|
|
}
|
|
}
|
|
}
|
|
throw ex;
|
|
}
|
|
finally {
|
|
if (workConnOpened) {
|
|
workConnection.Close();
|
|
}
|
|
if ((this._timbratureTableAdapter != null)) {
|
|
this._timbratureTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._timbratureTableAdapter]));
|
|
this._timbratureTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._timbratureExplTableAdapter != null)) {
|
|
this._timbratureExplTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._timbratureExplTableAdapter]));
|
|
this._timbratureExplTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._anagDevicesTableAdapter != null)) {
|
|
this._anagDevicesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagDevicesTableAdapter]));
|
|
this._anagDevicesTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._dipendentiTableAdapter != null)) {
|
|
this._dipendentiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._dipendentiTableAdapter]));
|
|
this._dipendentiTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._anagClientiTableAdapter != null)) {
|
|
this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagClientiTableAdapter]));
|
|
this._anagClientiTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._anagProgettiTableAdapter != null)) {
|
|
this._anagProgettiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagProgettiTableAdapter]));
|
|
this._anagProgettiTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._dipendenti2RuoliTableAdapter != null)) {
|
|
this._dipendenti2RuoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._dipendenti2RuoliTableAdapter]));
|
|
this._dipendenti2RuoliTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._anagFasiTableAdapter != null)) {
|
|
this._anagFasiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagFasiTableAdapter]));
|
|
this._anagFasiTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._regAttivitaTableAdapter != null)) {
|
|
this._regAttivitaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._regAttivitaTableAdapter]));
|
|
this._regAttivitaTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
this._calendFesteFerieTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._calendFesteFerieTableAdapter]));
|
|
this._calendFesteFerieTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._anagOrariTableAdapter != null)) {
|
|
this._anagOrariTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagOrariTableAdapter]));
|
|
this._anagOrariTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._giustificativiTableAdapter != null)) {
|
|
this._giustificativiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._giustificativiTableAdapter]));
|
|
this._giustificativiTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._registroEventiTableAdapter != null)) {
|
|
this._registroEventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._registroEventiTableAdapter]));
|
|
this._registroEventiTableAdapter.Transaction = null;
|
|
}
|
|
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
|
|
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
|
|
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
|
|
for (int i = 0; (i < adapters.Length); i = (i + 1)) {
|
|
global::System.Data.Common.DataAdapter adapter = adapters[i];
|
|
adapter.AcceptChangesDuringUpdate = true;
|
|
}
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
|
|
global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
|
|
if ((this._connection != null)) {
|
|
return true;
|
|
}
|
|
if (((this.Connection == null)
|
|
|| (inputConnection == null))) {
|
|
return true;
|
|
}
|
|
if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
/// <summary>
|
|
///Update Order Option
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public enum UpdateOrderOption {
|
|
|
|
InsertUpdateDelete = 0,
|
|
|
|
UpdateInsertDelete = 1,
|
|
}
|
|
|
|
/// <summary>
|
|
///Used to sort self-referenced table's rows
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
|
|
|
|
private global::System.Data.DataRelation _relation;
|
|
|
|
private int _childFirst;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
|
|
this._relation = relation;
|
|
if (childFirst) {
|
|
this._childFirst = -1;
|
|
}
|
|
else {
|
|
this._childFirst = 1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
|
|
global::System.Diagnostics.Debug.Assert((row != null));
|
|
global::System.Data.DataRow root = row;
|
|
distance = 0;
|
|
|
|
global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
|
|
traversedRows[row] = row;
|
|
|
|
global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
|
|
for (
|
|
; ((parent != null)
|
|
&& (traversedRows.ContainsKey(parent) == false));
|
|
) {
|
|
distance = (distance + 1);
|
|
root = parent;
|
|
traversedRows[parent] = parent;
|
|
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
|
|
}
|
|
|
|
if ((distance == 0)) {
|
|
traversedRows.Clear();
|
|
traversedRows[row] = row;
|
|
parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
|
|
for (
|
|
; ((parent != null)
|
|
&& (traversedRows.ContainsKey(parent) == false));
|
|
) {
|
|
distance = (distance + 1);
|
|
root = parent;
|
|
traversedRows[parent] = parent;
|
|
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
|
|
}
|
|
}
|
|
|
|
return root;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
|
|
if (object.ReferenceEquals(row1, row2)) {
|
|
return 0;
|
|
}
|
|
if ((row1 == null)) {
|
|
return -1;
|
|
}
|
|
if ((row2 == null)) {
|
|
return 1;
|
|
}
|
|
|
|
int distance1 = 0;
|
|
global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
|
|
|
|
int distance2 = 0;
|
|
global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
|
|
|
|
if (object.ReferenceEquals(root1, root2)) {
|
|
return (this._childFirst * distance1.CompareTo(distance2));
|
|
}
|
|
else {
|
|
global::System.Diagnostics.Debug.Assert(((root1.Table != null)
|
|
&& (root2.Table != null)));
|
|
if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
|
|
return -1;
|
|
}
|
|
else {
|
|
return 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#pragma warning restore 1591 |