6103 lines
364 KiB
C#
6103 lines
364 KiB
C#
//------------------------------------------------------------------------------
|
|
// <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 SteamWare
|
|
{
|
|
|
|
|
|
/// <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_logging")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
|
|
public partial class DS_logging : global::System.Data.DataSet {
|
|
|
|
private T_anagFiltroDataTable tableT_anagFiltro;
|
|
|
|
private T_logUtenteDataTable tableT_logUtente;
|
|
|
|
private v_logUtenteDataTable tablev_logUtente;
|
|
|
|
private T_anagRecordDataTable tableT_anagRecord;
|
|
|
|
private T_logRecordsDataTable tableT_logRecords;
|
|
|
|
private v_logRecordsDataTable tablev_logRecords;
|
|
|
|
private global::System.Data.DataRelation relationFK_T_logEventi_T_logUtente1;
|
|
|
|
private global::System.Data.DataRelation relationFK_T_logRecords_T_anagFiltro1;
|
|
|
|
private global::System.Data.DataRelation relationFK_T_logRecords_T_angrRecord1;
|
|
|
|
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_logging() {
|
|
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_logging(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["T_anagFiltro"] != null)) {
|
|
base.Tables.Add(new T_anagFiltroDataTable(ds.Tables["T_anagFiltro"]));
|
|
}
|
|
if ((ds.Tables["T_logUtente"] != null)) {
|
|
base.Tables.Add(new T_logUtenteDataTable(ds.Tables["T_logUtente"]));
|
|
}
|
|
if ((ds.Tables["v_logUtente"] != null)) {
|
|
base.Tables.Add(new v_logUtenteDataTable(ds.Tables["v_logUtente"]));
|
|
}
|
|
if ((ds.Tables["T_anagRecord"] != null)) {
|
|
base.Tables.Add(new T_anagRecordDataTable(ds.Tables["T_anagRecord"]));
|
|
}
|
|
if ((ds.Tables["T_logRecords"] != null)) {
|
|
base.Tables.Add(new T_logRecordsDataTable(ds.Tables["T_logRecords"]));
|
|
}
|
|
if ((ds.Tables["v_logRecords"] != null)) {
|
|
base.Tables.Add(new v_logRecordsDataTable(ds.Tables["v_logRecords"]));
|
|
}
|
|
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 T_anagFiltroDataTable T_anagFiltro {
|
|
get {
|
|
return this.tableT_anagFiltro;
|
|
}
|
|
}
|
|
|
|
[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 T_logUtenteDataTable T_logUtente {
|
|
get {
|
|
return this.tableT_logUtente;
|
|
}
|
|
}
|
|
|
|
[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_logUtenteDataTable v_logUtente {
|
|
get {
|
|
return this.tablev_logUtente;
|
|
}
|
|
}
|
|
|
|
[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 T_anagRecordDataTable T_anagRecord {
|
|
get {
|
|
return this.tableT_anagRecord;
|
|
}
|
|
}
|
|
|
|
[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 T_logRecordsDataTable T_logRecords {
|
|
get {
|
|
return this.tableT_logRecords;
|
|
}
|
|
}
|
|
|
|
[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_logRecordsDataTable v_logRecords {
|
|
get {
|
|
return this.tablev_logRecords;
|
|
}
|
|
}
|
|
|
|
[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_logging cln = ((DS_logging)(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["T_anagFiltro"] != null)) {
|
|
base.Tables.Add(new T_anagFiltroDataTable(ds.Tables["T_anagFiltro"]));
|
|
}
|
|
if ((ds.Tables["T_logUtente"] != null)) {
|
|
base.Tables.Add(new T_logUtenteDataTable(ds.Tables["T_logUtente"]));
|
|
}
|
|
if ((ds.Tables["v_logUtente"] != null)) {
|
|
base.Tables.Add(new v_logUtenteDataTable(ds.Tables["v_logUtente"]));
|
|
}
|
|
if ((ds.Tables["T_anagRecord"] != null)) {
|
|
base.Tables.Add(new T_anagRecordDataTable(ds.Tables["T_anagRecord"]));
|
|
}
|
|
if ((ds.Tables["T_logRecords"] != null)) {
|
|
base.Tables.Add(new T_logRecordsDataTable(ds.Tables["T_logRecords"]));
|
|
}
|
|
if ((ds.Tables["v_logRecords"] != null)) {
|
|
base.Tables.Add(new v_logRecordsDataTable(ds.Tables["v_logRecords"]));
|
|
}
|
|
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.tableT_anagFiltro = ((T_anagFiltroDataTable)(base.Tables["T_anagFiltro"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableT_anagFiltro != null)) {
|
|
this.tableT_anagFiltro.InitVars();
|
|
}
|
|
}
|
|
this.tableT_logUtente = ((T_logUtenteDataTable)(base.Tables["T_logUtente"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableT_logUtente != null)) {
|
|
this.tableT_logUtente.InitVars();
|
|
}
|
|
}
|
|
this.tablev_logUtente = ((v_logUtenteDataTable)(base.Tables["v_logUtente"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablev_logUtente != null)) {
|
|
this.tablev_logUtente.InitVars();
|
|
}
|
|
}
|
|
this.tableT_anagRecord = ((T_anagRecordDataTable)(base.Tables["T_anagRecord"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableT_anagRecord != null)) {
|
|
this.tableT_anagRecord.InitVars();
|
|
}
|
|
}
|
|
this.tableT_logRecords = ((T_logRecordsDataTable)(base.Tables["T_logRecords"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableT_logRecords != null)) {
|
|
this.tableT_logRecords.InitVars();
|
|
}
|
|
}
|
|
this.tablev_logRecords = ((v_logRecordsDataTable)(base.Tables["v_logRecords"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablev_logRecords != null)) {
|
|
this.tablev_logRecords.InitVars();
|
|
}
|
|
}
|
|
this.relationFK_T_logEventi_T_logUtente1 = this.Relations["FK_T_logEventi_T_logUtente1"];
|
|
this.relationFK_T_logRecords_T_anagFiltro1 = this.Relations["FK_T_logRecords_T_anagFiltro1"];
|
|
this.relationFK_T_logRecords_T_angrRecord1 = this.Relations["FK_T_logRecords_T_angrRecord1"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.DataSetName = "DS_logging";
|
|
this.Prefix = "";
|
|
this.Namespace = "http://tempuri.org/DS_logging.xsd";
|
|
this.EnforceConstraints = true;
|
|
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|
this.tableT_anagFiltro = new T_anagFiltroDataTable();
|
|
base.Tables.Add(this.tableT_anagFiltro);
|
|
this.tableT_logUtente = new T_logUtenteDataTable();
|
|
base.Tables.Add(this.tableT_logUtente);
|
|
this.tablev_logUtente = new v_logUtenteDataTable();
|
|
base.Tables.Add(this.tablev_logUtente);
|
|
this.tableT_anagRecord = new T_anagRecordDataTable();
|
|
base.Tables.Add(this.tableT_anagRecord);
|
|
this.tableT_logRecords = new T_logRecordsDataTable();
|
|
base.Tables.Add(this.tableT_logRecords);
|
|
this.tablev_logRecords = new v_logRecordsDataTable();
|
|
base.Tables.Add(this.tablev_logRecords);
|
|
this.relationFK_T_logEventi_T_logUtente1 = new global::System.Data.DataRelation("FK_T_logEventi_T_logUtente1", new global::System.Data.DataColumn[] {
|
|
this.tableT_logUtente.idxNotaColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableT_logRecords.idxNotaColumn}, false);
|
|
this.Relations.Add(this.relationFK_T_logEventi_T_logUtente1);
|
|
this.relationFK_T_logRecords_T_anagFiltro1 = new global::System.Data.DataRelation("FK_T_logRecords_T_anagFiltro1", new global::System.Data.DataColumn[] {
|
|
this.tableT_anagFiltro.idxFiltroColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableT_logRecords.idxFiltroColumn}, false);
|
|
this.Relations.Add(this.relationFK_T_logRecords_T_anagFiltro1);
|
|
this.relationFK_T_logRecords_T_angrRecord1 = new global::System.Data.DataRelation("FK_T_logRecords_T_angrRecord1", new global::System.Data.DataColumn[] {
|
|
this.tableT_anagRecord.idxTipoRecColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableT_logRecords.idxTipoRecColumn}, false);
|
|
this.Relations.Add(this.relationFK_T_logRecords_T_angrRecord1);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeT_anagFiltro() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeT_logUtente() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializev_logUtente() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeT_anagRecord() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeT_logRecords() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializev_logRecords() {
|
|
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_logging ds = new DS_logging();
|
|
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 T_anagFiltroRowChangeEventHandler(object sender, T_anagFiltroRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void T_logUtenteRowChangeEventHandler(object sender, T_logUtenteRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void v_logUtenteRowChangeEventHandler(object sender, v_logUtenteRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void T_anagRecordRowChangeEventHandler(object sender, T_anagRecordRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void T_logRecordsRowChangeEventHandler(object sender, T_logRecordsRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void v_logRecordsRowChangeEventHandler(object sender, v_logRecordsRowChangeEvent e);
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class T_anagFiltroDataTable : global::System.Data.TypedTableBase<T_anagFiltroRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxFiltro;
|
|
|
|
private global::System.Data.DataColumn columnfiltro;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagFiltroDataTable() {
|
|
this.TableName = "T_anagFiltro";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal T_anagFiltroDataTable(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 T_anagFiltroDataTable(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 idxFiltroColumn {
|
|
get {
|
|
return this.columnidxFiltro;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn filtroColumn {
|
|
get {
|
|
return this.columnfiltro;
|
|
}
|
|
}
|
|
|
|
[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 T_anagFiltroRow this[int index] {
|
|
get {
|
|
return ((T_anagFiltroRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_anagFiltroRowChangeEventHandler T_anagFiltroRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_anagFiltroRowChangeEventHandler T_anagFiltroRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_anagFiltroRowChangeEventHandler T_anagFiltroRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_anagFiltroRowChangeEventHandler T_anagFiltroRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddT_anagFiltroRow(T_anagFiltroRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagFiltroRow AddT_anagFiltroRow(string filtro) {
|
|
T_anagFiltroRow rowT_anagFiltroRow = ((T_anagFiltroRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
filtro};
|
|
rowT_anagFiltroRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowT_anagFiltroRow);
|
|
return rowT_anagFiltroRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagFiltroRow FindByidxFiltro(int idxFiltro) {
|
|
return ((T_anagFiltroRow)(this.Rows.Find(new object[] {
|
|
idxFiltro})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
T_anagFiltroDataTable cln = ((T_anagFiltroDataTable)(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 T_anagFiltroDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxFiltro = base.Columns["idxFiltro"];
|
|
this.columnfiltro = base.Columns["filtro"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxFiltro = new global::System.Data.DataColumn("idxFiltro", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxFiltro);
|
|
this.columnfiltro = new global::System.Data.DataColumn("filtro", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnfiltro);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxFiltro}, true));
|
|
this.columnidxFiltro.AutoIncrement = true;
|
|
this.columnidxFiltro.AllowDBNull = false;
|
|
this.columnidxFiltro.ReadOnly = true;
|
|
this.columnidxFiltro.Unique = true;
|
|
this.columnfiltro.MaxLength = 500;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagFiltroRow NewT_anagFiltroRow() {
|
|
return ((T_anagFiltroRow)(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 T_anagFiltroRow(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(T_anagFiltroRow);
|
|
}
|
|
|
|
[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.T_anagFiltroRowChanged != null)) {
|
|
this.T_anagFiltroRowChanged(this, new T_anagFiltroRowChangeEvent(((T_anagFiltroRow)(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.T_anagFiltroRowChanging != null)) {
|
|
this.T_anagFiltroRowChanging(this, new T_anagFiltroRowChangeEvent(((T_anagFiltroRow)(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.T_anagFiltroRowDeleted != null)) {
|
|
this.T_anagFiltroRowDeleted(this, new T_anagFiltroRowChangeEvent(((T_anagFiltroRow)(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.T_anagFiltroRowDeleting != null)) {
|
|
this.T_anagFiltroRowDeleting(this, new T_anagFiltroRowChangeEvent(((T_anagFiltroRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveT_anagFiltroRow(T_anagFiltroRow 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_logging ds = new DS_logging();
|
|
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 = "T_anagFiltroDataTable";
|
|
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 T_logUtenteDataTable : global::System.Data.TypedTableBase<T_logUtenteRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxNota;
|
|
|
|
private global::System.Data.DataColumn columndataNota;
|
|
|
|
private global::System.Data.DataColumn columnuserNota;
|
|
|
|
private global::System.Data.DataColumn columnnota;
|
|
|
|
private global::System.Data.DataColumn columnidxFiltro;
|
|
|
|
private global::System.Data.DataColumn columnval;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logUtenteDataTable() {
|
|
this.TableName = "T_logUtente";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal T_logUtenteDataTable(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 T_logUtenteDataTable(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 idxNotaColumn {
|
|
get {
|
|
return this.columnidxNota;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataNotaColumn {
|
|
get {
|
|
return this.columndataNota;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn userNotaColumn {
|
|
get {
|
|
return this.columnuserNota;
|
|
}
|
|
}
|
|
|
|
[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 idxFiltroColumn {
|
|
get {
|
|
return this.columnidxFiltro;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn valColumn {
|
|
get {
|
|
return this.columnval;
|
|
}
|
|
}
|
|
|
|
[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 T_logUtenteRow this[int index] {
|
|
get {
|
|
return ((T_logUtenteRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_logUtenteRowChangeEventHandler T_logUtenteRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_logUtenteRowChangeEventHandler T_logUtenteRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_logUtenteRowChangeEventHandler T_logUtenteRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_logUtenteRowChangeEventHandler T_logUtenteRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddT_logUtenteRow(T_logUtenteRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logUtenteRow AddT_logUtenteRow(System.DateTime dataNota, string userNota, string nota, int idxFiltro, string val) {
|
|
T_logUtenteRow rowT_logUtenteRow = ((T_logUtenteRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
dataNota,
|
|
userNota,
|
|
nota,
|
|
idxFiltro,
|
|
val};
|
|
rowT_logUtenteRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowT_logUtenteRow);
|
|
return rowT_logUtenteRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logUtenteRow FindByidxNota(int idxNota) {
|
|
return ((T_logUtenteRow)(this.Rows.Find(new object[] {
|
|
idxNota})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
T_logUtenteDataTable cln = ((T_logUtenteDataTable)(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 T_logUtenteDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxNota = base.Columns["idxNota"];
|
|
this.columndataNota = base.Columns["dataNota"];
|
|
this.columnuserNota = base.Columns["userNota"];
|
|
this.columnnota = base.Columns["nota"];
|
|
this.columnidxFiltro = base.Columns["idxFiltro"];
|
|
this.columnval = base.Columns["val"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxNota = new global::System.Data.DataColumn("idxNota", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxNota);
|
|
this.columndataNota = new global::System.Data.DataColumn("dataNota", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataNota);
|
|
this.columnuserNota = new global::System.Data.DataColumn("userNota", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuserNota);
|
|
this.columnnota = new global::System.Data.DataColumn("nota", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnota);
|
|
this.columnidxFiltro = new global::System.Data.DataColumn("idxFiltro", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxFiltro);
|
|
this.columnval = new global::System.Data.DataColumn("val", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnval);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxNota}, true));
|
|
this.columnidxNota.AutoIncrement = true;
|
|
this.columnidxNota.AllowDBNull = false;
|
|
this.columnidxNota.ReadOnly = true;
|
|
this.columnidxNota.Unique = true;
|
|
this.columnuserNota.MaxLength = 50;
|
|
this.columnnota.MaxLength = 500;
|
|
this.columnval.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logUtenteRow NewT_logUtenteRow() {
|
|
return ((T_logUtenteRow)(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 T_logUtenteRow(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(T_logUtenteRow);
|
|
}
|
|
|
|
[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.T_logUtenteRowChanged != null)) {
|
|
this.T_logUtenteRowChanged(this, new T_logUtenteRowChangeEvent(((T_logUtenteRow)(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.T_logUtenteRowChanging != null)) {
|
|
this.T_logUtenteRowChanging(this, new T_logUtenteRowChangeEvent(((T_logUtenteRow)(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.T_logUtenteRowDeleted != null)) {
|
|
this.T_logUtenteRowDeleted(this, new T_logUtenteRowChangeEvent(((T_logUtenteRow)(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.T_logUtenteRowDeleting != null)) {
|
|
this.T_logUtenteRowDeleting(this, new T_logUtenteRowChangeEvent(((T_logUtenteRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveT_logUtenteRow(T_logUtenteRow 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_logging ds = new DS_logging();
|
|
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 = "T_logUtenteDataTable";
|
|
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_logUtenteDataTable : global::System.Data.TypedTableBase<v_logUtenteRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxNota;
|
|
|
|
private global::System.Data.DataColumn columnfiltro;
|
|
|
|
private global::System.Data.DataColumn columndataNota;
|
|
|
|
private global::System.Data.DataColumn columnuserNota;
|
|
|
|
private global::System.Data.DataColumn columnnota;
|
|
|
|
private global::System.Data.DataColumn columnval;
|
|
|
|
private global::System.Data.DataColumn columnnumRec;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logUtenteDataTable() {
|
|
this.TableName = "v_logUtente";
|
|
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_logUtenteDataTable(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_logUtenteDataTable(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 idxNotaColumn {
|
|
get {
|
|
return this.columnidxNota;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn filtroColumn {
|
|
get {
|
|
return this.columnfiltro;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn dataNotaColumn {
|
|
get {
|
|
return this.columndataNota;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn userNotaColumn {
|
|
get {
|
|
return this.columnuserNota;
|
|
}
|
|
}
|
|
|
|
[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 valColumn {
|
|
get {
|
|
return this.columnval;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn numRecColumn {
|
|
get {
|
|
return this.columnnumRec;
|
|
}
|
|
}
|
|
|
|
[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_logUtenteRow this[int index] {
|
|
get {
|
|
return ((v_logUtenteRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logUtenteRowChangeEventHandler v_logUtenteRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logUtenteRowChangeEventHandler v_logUtenteRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logUtenteRowChangeEventHandler v_logUtenteRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logUtenteRowChangeEventHandler v_logUtenteRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addv_logUtenteRow(v_logUtenteRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logUtenteRow Addv_logUtenteRow(int idxNota, string filtro, System.DateTime dataNota, string userNota, string nota, string val, int numRec) {
|
|
v_logUtenteRow rowv_logUtenteRow = ((v_logUtenteRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
idxNota,
|
|
filtro,
|
|
dataNota,
|
|
userNota,
|
|
nota,
|
|
val,
|
|
numRec};
|
|
rowv_logUtenteRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowv_logUtenteRow);
|
|
return rowv_logUtenteRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logUtenteRow FindByidxNota(int idxNota) {
|
|
return ((v_logUtenteRow)(this.Rows.Find(new object[] {
|
|
idxNota})));
|
|
}
|
|
|
|
[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_logUtenteDataTable cln = ((v_logUtenteDataTable)(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_logUtenteDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxNota = base.Columns["idxNota"];
|
|
this.columnfiltro = base.Columns["filtro"];
|
|
this.columndataNota = base.Columns["dataNota"];
|
|
this.columnuserNota = base.Columns["userNota"];
|
|
this.columnnota = base.Columns["nota"];
|
|
this.columnval = base.Columns["val"];
|
|
this.columnnumRec = base.Columns["numRec"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxNota = new global::System.Data.DataColumn("idxNota", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxNota);
|
|
this.columnfiltro = new global::System.Data.DataColumn("filtro", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnfiltro);
|
|
this.columndataNota = new global::System.Data.DataColumn("dataNota", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataNota);
|
|
this.columnuserNota = new global::System.Data.DataColumn("userNota", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuserNota);
|
|
this.columnnota = new global::System.Data.DataColumn("nota", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnota);
|
|
this.columnval = new global::System.Data.DataColumn("val", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnval);
|
|
this.columnnumRec = new global::System.Data.DataColumn("numRec", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnumRec);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxNota}, true));
|
|
this.columnidxNota.AllowDBNull = false;
|
|
this.columnidxNota.Unique = true;
|
|
this.columnfiltro.ReadOnly = true;
|
|
this.columnfiltro.MaxLength = 500;
|
|
this.columnuserNota.MaxLength = 50;
|
|
this.columnnota.MaxLength = 500;
|
|
this.columnval.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logUtenteRow Newv_logUtenteRow() {
|
|
return ((v_logUtenteRow)(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_logUtenteRow(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_logUtenteRow);
|
|
}
|
|
|
|
[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_logUtenteRowChanged != null)) {
|
|
this.v_logUtenteRowChanged(this, new v_logUtenteRowChangeEvent(((v_logUtenteRow)(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_logUtenteRowChanging != null)) {
|
|
this.v_logUtenteRowChanging(this, new v_logUtenteRowChangeEvent(((v_logUtenteRow)(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_logUtenteRowDeleted != null)) {
|
|
this.v_logUtenteRowDeleted(this, new v_logUtenteRowChangeEvent(((v_logUtenteRow)(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_logUtenteRowDeleting != null)) {
|
|
this.v_logUtenteRowDeleting(this, new v_logUtenteRowChangeEvent(((v_logUtenteRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removev_logUtenteRow(v_logUtenteRow 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_logging ds = new DS_logging();
|
|
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_logUtenteDataTable";
|
|
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 T_anagRecordDataTable : global::System.Data.TypedTableBase<T_anagRecordRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxTipoRec;
|
|
|
|
private global::System.Data.DataColumn columndescrRec;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagRecordDataTable() {
|
|
this.TableName = "T_anagRecord";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal T_anagRecordDataTable(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 T_anagRecordDataTable(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 idxTipoRecColumn {
|
|
get {
|
|
return this.columnidxTipoRec;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descrRecColumn {
|
|
get {
|
|
return this.columndescrRec;
|
|
}
|
|
}
|
|
|
|
[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 T_anagRecordRow this[int index] {
|
|
get {
|
|
return ((T_anagRecordRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_anagRecordRowChangeEventHandler T_anagRecordRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_anagRecordRowChangeEventHandler T_anagRecordRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_anagRecordRowChangeEventHandler T_anagRecordRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_anagRecordRowChangeEventHandler T_anagRecordRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddT_anagRecordRow(T_anagRecordRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagRecordRow AddT_anagRecordRow(string descrRec) {
|
|
T_anagRecordRow rowT_anagRecordRow = ((T_anagRecordRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
descrRec};
|
|
rowT_anagRecordRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowT_anagRecordRow);
|
|
return rowT_anagRecordRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagRecordRow FindByidxTipoRec(int idxTipoRec) {
|
|
return ((T_anagRecordRow)(this.Rows.Find(new object[] {
|
|
idxTipoRec})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
T_anagRecordDataTable cln = ((T_anagRecordDataTable)(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 T_anagRecordDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxTipoRec = base.Columns["idxTipoRec"];
|
|
this.columndescrRec = base.Columns["descrRec"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxTipoRec = new global::System.Data.DataColumn("idxTipoRec", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxTipoRec);
|
|
this.columndescrRec = new global::System.Data.DataColumn("descrRec", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescrRec);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxTipoRec}, true));
|
|
this.columnidxTipoRec.AutoIncrement = true;
|
|
this.columnidxTipoRec.AllowDBNull = false;
|
|
this.columnidxTipoRec.ReadOnly = true;
|
|
this.columnidxTipoRec.Unique = true;
|
|
this.columndescrRec.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagRecordRow NewT_anagRecordRow() {
|
|
return ((T_anagRecordRow)(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 T_anagRecordRow(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(T_anagRecordRow);
|
|
}
|
|
|
|
[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.T_anagRecordRowChanged != null)) {
|
|
this.T_anagRecordRowChanged(this, new T_anagRecordRowChangeEvent(((T_anagRecordRow)(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.T_anagRecordRowChanging != null)) {
|
|
this.T_anagRecordRowChanging(this, new T_anagRecordRowChangeEvent(((T_anagRecordRow)(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.T_anagRecordRowDeleted != null)) {
|
|
this.T_anagRecordRowDeleted(this, new T_anagRecordRowChangeEvent(((T_anagRecordRow)(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.T_anagRecordRowDeleting != null)) {
|
|
this.T_anagRecordRowDeleting(this, new T_anagRecordRowChangeEvent(((T_anagRecordRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveT_anagRecordRow(T_anagRecordRow 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_logging ds = new DS_logging();
|
|
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 = "T_anagRecordDataTable";
|
|
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 T_logRecordsDataTable : global::System.Data.TypedTableBase<T_logRecordsRow> {
|
|
|
|
private global::System.Data.DataColumn columndataOra;
|
|
|
|
private global::System.Data.DataColumn columnuserEv;
|
|
|
|
private global::System.Data.DataColumn columnpagina;
|
|
|
|
private global::System.Data.DataColumn columnidxTipoRec;
|
|
|
|
private global::System.Data.DataColumn columnidxFiltro;
|
|
|
|
private global::System.Data.DataColumn columnvalOrig;
|
|
|
|
private global::System.Data.DataColumn columnvalNew;
|
|
|
|
private global::System.Data.DataColumn columnidxNota;
|
|
|
|
private global::System.Data.DataColumn columncestinato;
|
|
|
|
private global::System.Data.DataColumn columnidxRecord;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logRecordsDataTable() {
|
|
this.TableName = "T_logRecords";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal T_logRecordsDataTable(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 T_logRecordsDataTable(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 userEvColumn {
|
|
get {
|
|
return this.columnuserEv;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn paginaColumn {
|
|
get {
|
|
return this.columnpagina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxTipoRecColumn {
|
|
get {
|
|
return this.columnidxTipoRec;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxFiltroColumn {
|
|
get {
|
|
return this.columnidxFiltro;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn valOrigColumn {
|
|
get {
|
|
return this.columnvalOrig;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn valNewColumn {
|
|
get {
|
|
return this.columnvalNew;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxNotaColumn {
|
|
get {
|
|
return this.columnidxNota;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn cestinatoColumn {
|
|
get {
|
|
return this.columncestinato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxRecordColumn {
|
|
get {
|
|
return this.columnidxRecord;
|
|
}
|
|
}
|
|
|
|
[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 T_logRecordsRow this[int index] {
|
|
get {
|
|
return ((T_logRecordsRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_logRecordsRowChangeEventHandler T_logRecordsRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_logRecordsRowChangeEventHandler T_logRecordsRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_logRecordsRowChangeEventHandler T_logRecordsRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event T_logRecordsRowChangeEventHandler T_logRecordsRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddT_logRecordsRow(T_logRecordsRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logRecordsRow AddT_logRecordsRow(System.DateTime dataOra, string userEv, string pagina, T_anagRecordRow parentT_anagRecordRowByFK_T_logRecords_T_angrRecord1, T_anagFiltroRow parentT_anagFiltroRowByFK_T_logRecords_T_anagFiltro1, string valOrig, string valNew, T_logUtenteRow parentT_logUtenteRowByFK_T_logEventi_T_logUtente1, bool cestinato) {
|
|
T_logRecordsRow rowT_logRecordsRow = ((T_logRecordsRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
dataOra,
|
|
userEv,
|
|
pagina,
|
|
null,
|
|
null,
|
|
valOrig,
|
|
valNew,
|
|
null,
|
|
cestinato,
|
|
null};
|
|
if ((parentT_anagRecordRowByFK_T_logRecords_T_angrRecord1 != null)) {
|
|
columnValuesArray[3] = parentT_anagRecordRowByFK_T_logRecords_T_angrRecord1[0];
|
|
}
|
|
if ((parentT_anagFiltroRowByFK_T_logRecords_T_anagFiltro1 != null)) {
|
|
columnValuesArray[4] = parentT_anagFiltroRowByFK_T_logRecords_T_anagFiltro1[0];
|
|
}
|
|
if ((parentT_logUtenteRowByFK_T_logEventi_T_logUtente1 != null)) {
|
|
columnValuesArray[7] = parentT_logUtenteRowByFK_T_logEventi_T_logUtente1[0];
|
|
}
|
|
rowT_logRecordsRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowT_logRecordsRow);
|
|
return rowT_logRecordsRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logRecordsRow FindByidxRecord(int idxRecord) {
|
|
return ((T_logRecordsRow)(this.Rows.Find(new object[] {
|
|
idxRecord})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
T_logRecordsDataTable cln = ((T_logRecordsDataTable)(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 T_logRecordsDataTable();
|
|
}
|
|
|
|
[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.columnuserEv = base.Columns["userEv"];
|
|
this.columnpagina = base.Columns["pagina"];
|
|
this.columnidxTipoRec = base.Columns["idxTipoRec"];
|
|
this.columnidxFiltro = base.Columns["idxFiltro"];
|
|
this.columnvalOrig = base.Columns["valOrig"];
|
|
this.columnvalNew = base.Columns["valNew"];
|
|
this.columnidxNota = base.Columns["idxNota"];
|
|
this.columncestinato = base.Columns["cestinato"];
|
|
this.columnidxRecord = base.Columns["idxRecord"];
|
|
}
|
|
|
|
[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.columnuserEv = new global::System.Data.DataColumn("userEv", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuserEv);
|
|
this.columnpagina = new global::System.Data.DataColumn("pagina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpagina);
|
|
this.columnidxTipoRec = new global::System.Data.DataColumn("idxTipoRec", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxTipoRec);
|
|
this.columnidxFiltro = new global::System.Data.DataColumn("idxFiltro", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxFiltro);
|
|
this.columnvalOrig = new global::System.Data.DataColumn("valOrig", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnvalOrig);
|
|
this.columnvalNew = new global::System.Data.DataColumn("valNew", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnvalNew);
|
|
this.columnidxNota = new global::System.Data.DataColumn("idxNota", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxNota);
|
|
this.columncestinato = new global::System.Data.DataColumn("cestinato", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncestinato);
|
|
this.columnidxRecord = new global::System.Data.DataColumn("idxRecord", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxRecord);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxRecord}, true));
|
|
this.columndataOra.AllowDBNull = false;
|
|
this.columnuserEv.AllowDBNull = false;
|
|
this.columnuserEv.MaxLength = 50;
|
|
this.columnpagina.MaxLength = 50;
|
|
this.columnvalOrig.MaxLength = 500;
|
|
this.columnvalNew.MaxLength = 500;
|
|
this.columnidxRecord.AutoIncrement = true;
|
|
this.columnidxRecord.AllowDBNull = false;
|
|
this.columnidxRecord.ReadOnly = true;
|
|
this.columnidxRecord.Unique = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logRecordsRow NewT_logRecordsRow() {
|
|
return ((T_logRecordsRow)(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 T_logRecordsRow(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(T_logRecordsRow);
|
|
}
|
|
|
|
[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.T_logRecordsRowChanged != null)) {
|
|
this.T_logRecordsRowChanged(this, new T_logRecordsRowChangeEvent(((T_logRecordsRow)(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.T_logRecordsRowChanging != null)) {
|
|
this.T_logRecordsRowChanging(this, new T_logRecordsRowChangeEvent(((T_logRecordsRow)(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.T_logRecordsRowDeleted != null)) {
|
|
this.T_logRecordsRowDeleted(this, new T_logRecordsRowChangeEvent(((T_logRecordsRow)(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.T_logRecordsRowDeleting != null)) {
|
|
this.T_logRecordsRowDeleting(this, new T_logRecordsRowChangeEvent(((T_logRecordsRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveT_logRecordsRow(T_logRecordsRow 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_logging ds = new DS_logging();
|
|
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 = "T_logRecordsDataTable";
|
|
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_logRecordsDataTable : global::System.Data.TypedTableBase<v_logRecordsRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxRecord;
|
|
|
|
private global::System.Data.DataColumn columndataOra;
|
|
|
|
private global::System.Data.DataColumn columnuserEv;
|
|
|
|
private global::System.Data.DataColumn columnSIGLA;
|
|
|
|
private global::System.Data.DataColumn columnpagina;
|
|
|
|
private global::System.Data.DataColumn columndescrRec;
|
|
|
|
private global::System.Data.DataColumn columnfiltro;
|
|
|
|
private global::System.Data.DataColumn columnvalOrig;
|
|
|
|
private global::System.Data.DataColumn columnvalNew;
|
|
|
|
private global::System.Data.DataColumn columnidxNota;
|
|
|
|
private global::System.Data.DataColumn columncestinato;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logRecordsDataTable() {
|
|
this.TableName = "v_logRecords";
|
|
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_logRecordsDataTable(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_logRecordsDataTable(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 idxRecordColumn {
|
|
get {
|
|
return this.columnidxRecord;
|
|
}
|
|
}
|
|
|
|
[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 userEvColumn {
|
|
get {
|
|
return this.columnuserEv;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn SIGLAColumn {
|
|
get {
|
|
return this.columnSIGLA;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn paginaColumn {
|
|
get {
|
|
return this.columnpagina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descrRecColumn {
|
|
get {
|
|
return this.columndescrRec;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn filtroColumn {
|
|
get {
|
|
return this.columnfiltro;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn valOrigColumn {
|
|
get {
|
|
return this.columnvalOrig;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn valNewColumn {
|
|
get {
|
|
return this.columnvalNew;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxNotaColumn {
|
|
get {
|
|
return this.columnidxNota;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn cestinatoColumn {
|
|
get {
|
|
return this.columncestinato;
|
|
}
|
|
}
|
|
|
|
[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_logRecordsRow this[int index] {
|
|
get {
|
|
return ((v_logRecordsRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logRecordsRowChangeEventHandler v_logRecordsRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logRecordsRowChangeEventHandler v_logRecordsRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logRecordsRowChangeEventHandler v_logRecordsRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event v_logRecordsRowChangeEventHandler v_logRecordsRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addv_logRecordsRow(v_logRecordsRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logRecordsRow Addv_logRecordsRow(int idxRecord, System.DateTime dataOra, string userEv, string SIGLA, string pagina, string descrRec, string filtro, string valOrig, string valNew, int idxNota, bool cestinato) {
|
|
v_logRecordsRow rowv_logRecordsRow = ((v_logRecordsRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
idxRecord,
|
|
dataOra,
|
|
userEv,
|
|
SIGLA,
|
|
pagina,
|
|
descrRec,
|
|
filtro,
|
|
valOrig,
|
|
valNew,
|
|
idxNota,
|
|
cestinato};
|
|
rowv_logRecordsRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowv_logRecordsRow);
|
|
return rowv_logRecordsRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logRecordsRow FindByidxRecord(int idxRecord) {
|
|
return ((v_logRecordsRow)(this.Rows.Find(new object[] {
|
|
idxRecord})));
|
|
}
|
|
|
|
[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_logRecordsDataTable cln = ((v_logRecordsDataTable)(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_logRecordsDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxRecord = base.Columns["idxRecord"];
|
|
this.columndataOra = base.Columns["dataOra"];
|
|
this.columnuserEv = base.Columns["userEv"];
|
|
this.columnSIGLA = base.Columns["SIGLA"];
|
|
this.columnpagina = base.Columns["pagina"];
|
|
this.columndescrRec = base.Columns["descrRec"];
|
|
this.columnfiltro = base.Columns["filtro"];
|
|
this.columnvalOrig = base.Columns["valOrig"];
|
|
this.columnvalNew = base.Columns["valNew"];
|
|
this.columnidxNota = base.Columns["idxNota"];
|
|
this.columncestinato = base.Columns["cestinato"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxRecord = new global::System.Data.DataColumn("idxRecord", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxRecord);
|
|
this.columndataOra = new global::System.Data.DataColumn("dataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndataOra);
|
|
this.columnuserEv = new global::System.Data.DataColumn("userEv", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnuserEv);
|
|
this.columnSIGLA = new global::System.Data.DataColumn("SIGLA", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnSIGLA);
|
|
this.columnpagina = new global::System.Data.DataColumn("pagina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpagina);
|
|
this.columndescrRec = new global::System.Data.DataColumn("descrRec", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescrRec);
|
|
this.columnfiltro = new global::System.Data.DataColumn("filtro", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnfiltro);
|
|
this.columnvalOrig = new global::System.Data.DataColumn("valOrig", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnvalOrig);
|
|
this.columnvalNew = new global::System.Data.DataColumn("valNew", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnvalNew);
|
|
this.columnidxNota = new global::System.Data.DataColumn("idxNota", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxNota);
|
|
this.columncestinato = new global::System.Data.DataColumn("cestinato", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncestinato);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxRecord}, true));
|
|
this.columnidxRecord.AllowDBNull = false;
|
|
this.columnidxRecord.Unique = true;
|
|
this.columndataOra.AllowDBNull = false;
|
|
this.columnuserEv.AllowDBNull = false;
|
|
this.columnuserEv.MaxLength = 50;
|
|
this.columnSIGLA.MaxLength = 500;
|
|
this.columnpagina.MaxLength = 50;
|
|
this.columndescrRec.MaxLength = 50;
|
|
this.columnfiltro.MaxLength = 300;
|
|
this.columnvalOrig.MaxLength = 500;
|
|
this.columnvalNew.MaxLength = 500;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public v_logRecordsRow Newv_logRecordsRow() {
|
|
return ((v_logRecordsRow)(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_logRecordsRow(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_logRecordsRow);
|
|
}
|
|
|
|
[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_logRecordsRowChanged != null)) {
|
|
this.v_logRecordsRowChanged(this, new v_logRecordsRowChangeEvent(((v_logRecordsRow)(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_logRecordsRowChanging != null)) {
|
|
this.v_logRecordsRowChanging(this, new v_logRecordsRowChangeEvent(((v_logRecordsRow)(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_logRecordsRowDeleted != null)) {
|
|
this.v_logRecordsRowDeleted(this, new v_logRecordsRowChangeEvent(((v_logRecordsRow)(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_logRecordsRowDeleting != null)) {
|
|
this.v_logRecordsRowDeleting(this, new v_logRecordsRowChangeEvent(((v_logRecordsRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removev_logRecordsRow(v_logRecordsRow 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_logging ds = new DS_logging();
|
|
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_logRecordsDataTable";
|
|
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 T_anagFiltroRow : global::System.Data.DataRow {
|
|
|
|
private T_anagFiltroDataTable tableT_anagFiltro;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal T_anagFiltroRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableT_anagFiltro = ((T_anagFiltroDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxFiltro {
|
|
get {
|
|
return ((int)(this[this.tableT_anagFiltro.idxFiltroColumn]));
|
|
}
|
|
set {
|
|
this[this.tableT_anagFiltro.idxFiltroColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string filtro {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableT_anagFiltro.filtroColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'filtro\' nella tabella \'T_anagFiltro\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_anagFiltro.filtroColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsfiltroNull() {
|
|
return this.IsNull(this.tableT_anagFiltro.filtroColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetfiltroNull() {
|
|
this[this.tableT_anagFiltro.filtroColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logRecordsRow[] GetT_logRecordsRows() {
|
|
if ((this.Table.ChildRelations["FK_T_logRecords_T_anagFiltro1"] == null)) {
|
|
return new T_logRecordsRow[0];
|
|
}
|
|
else {
|
|
return ((T_logRecordsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_T_logRecords_T_anagFiltro1"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class T_logUtenteRow : global::System.Data.DataRow {
|
|
|
|
private T_logUtenteDataTable tableT_logUtente;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal T_logUtenteRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableT_logUtente = ((T_logUtenteDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxNota {
|
|
get {
|
|
return ((int)(this[this.tableT_logUtente.idxNotaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableT_logUtente.idxNotaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime dataNota {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableT_logUtente.dataNotaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'dataNota\' nella tabella \'T_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logUtente.dataNotaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string userNota {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableT_logUtente.userNotaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'userNota\' nella tabella \'T_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logUtente.userNotaColumn] = 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.tableT_logUtente.notaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nota\' nella tabella \'T_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logUtente.notaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxFiltro {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableT_logUtente.idxFiltroColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxFiltro\' nella tabella \'T_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logUtente.idxFiltroColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string val {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableT_logUtente.valColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'val\' nella tabella \'T_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logUtente.valColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdataNotaNull() {
|
|
return this.IsNull(this.tableT_logUtente.dataNotaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdataNotaNull() {
|
|
this[this.tableT_logUtente.dataNotaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsuserNotaNull() {
|
|
return this.IsNull(this.tableT_logUtente.userNotaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetuserNotaNull() {
|
|
this[this.tableT_logUtente.userNotaColumn] = 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.tableT_logUtente.notaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetnotaNull() {
|
|
this[this.tableT_logUtente.notaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxFiltroNull() {
|
|
return this.IsNull(this.tableT_logUtente.idxFiltroColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxFiltroNull() {
|
|
this[this.tableT_logUtente.idxFiltroColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsvalNull() {
|
|
return this.IsNull(this.tableT_logUtente.valColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetvalNull() {
|
|
this[this.tableT_logUtente.valColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logRecordsRow[] _GetT_logRecordsRows() {
|
|
if ((this.Table.ChildRelations["FK_T_logEventi_T_logUtente1"] == null)) {
|
|
return new T_logRecordsRow[0];
|
|
}
|
|
else {
|
|
return ((T_logRecordsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_T_logEventi_T_logUtente1"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class v_logUtenteRow : global::System.Data.DataRow {
|
|
|
|
private v_logUtenteDataTable tablev_logUtente;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal v_logUtenteRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablev_logUtente = ((v_logUtenteDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxNota {
|
|
get {
|
|
return ((int)(this[this.tablev_logUtente.idxNotaColumn]));
|
|
}
|
|
set {
|
|
this[this.tablev_logUtente.idxNotaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string filtro {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logUtente.filtroColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'filtro\' nella tabella \'v_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logUtente.filtroColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime dataNota {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tablev_logUtente.dataNotaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'dataNota\' nella tabella \'v_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logUtente.dataNotaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string userNota {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logUtente.userNotaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'userNota\' nella tabella \'v_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logUtente.userNotaColumn] = 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.tablev_logUtente.notaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nota\' nella tabella \'v_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logUtente.notaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string val {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logUtente.valColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'val\' nella tabella \'v_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logUtente.valColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int numRec {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablev_logUtente.numRecColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'numRec\' nella tabella \'v_logUtente\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logUtente.numRecColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsfiltroNull() {
|
|
return this.IsNull(this.tablev_logUtente.filtroColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetfiltroNull() {
|
|
this[this.tablev_logUtente.filtroColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdataNotaNull() {
|
|
return this.IsNull(this.tablev_logUtente.dataNotaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdataNotaNull() {
|
|
this[this.tablev_logUtente.dataNotaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsuserNotaNull() {
|
|
return this.IsNull(this.tablev_logUtente.userNotaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetuserNotaNull() {
|
|
this[this.tablev_logUtente.userNotaColumn] = 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.tablev_logUtente.notaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetnotaNull() {
|
|
this[this.tablev_logUtente.notaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsvalNull() {
|
|
return this.IsNull(this.tablev_logUtente.valColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetvalNull() {
|
|
this[this.tablev_logUtente.valColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsnumRecNull() {
|
|
return this.IsNull(this.tablev_logUtente.numRecColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetnumRecNull() {
|
|
this[this.tablev_logUtente.numRecColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class T_anagRecordRow : global::System.Data.DataRow {
|
|
|
|
private T_anagRecordDataTable tableT_anagRecord;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal T_anagRecordRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableT_anagRecord = ((T_anagRecordDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxTipoRec {
|
|
get {
|
|
return ((int)(this[this.tableT_anagRecord.idxTipoRecColumn]));
|
|
}
|
|
set {
|
|
this[this.tableT_anagRecord.idxTipoRecColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descrRec {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableT_anagRecord.descrRecColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrRec\' nella tabella \'T_anagRecord\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_anagRecord.descrRecColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdescrRecNull() {
|
|
return this.IsNull(this.tableT_anagRecord.descrRecColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdescrRecNull() {
|
|
this[this.tableT_anagRecord.descrRecColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logRecordsRow[] _GetT_logRecordsRows() {
|
|
if ((this.Table.ChildRelations["FK_T_logRecords_T_angrRecord1"] == null)) {
|
|
return new T_logRecordsRow[0];
|
|
}
|
|
else {
|
|
return ((T_logRecordsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_T_logRecords_T_angrRecord1"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class T_logRecordsRow : global::System.Data.DataRow {
|
|
|
|
private T_logRecordsDataTable tableT_logRecords;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal T_logRecordsRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableT_logRecords = ((T_logRecordsDataTable)(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.tableT_logRecords.dataOraColumn]));
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.dataOraColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string userEv {
|
|
get {
|
|
return ((string)(this[this.tableT_logRecords.userEvColumn]));
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.userEvColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string pagina {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableT_logRecords.paginaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'pagina\' nella tabella \'T_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.paginaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxTipoRec {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableT_logRecords.idxTipoRecColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxTipoRec\' nella tabella \'T_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.idxTipoRecColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxFiltro {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableT_logRecords.idxFiltroColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxFiltro\' nella tabella \'T_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.idxFiltroColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string valOrig {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableT_logRecords.valOrigColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'valOrig\' nella tabella \'T_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.valOrigColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string valNew {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableT_logRecords.valNewColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'valNew\' nella tabella \'T_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.valNewColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxNota {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableT_logRecords.idxNotaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxNota\' nella tabella \'T_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.idxNotaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool cestinato {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableT_logRecords.cestinatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cestinato\' nella tabella \'T_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.cestinatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxRecord {
|
|
get {
|
|
return ((int)(this[this.tableT_logRecords.idxRecordColumn]));
|
|
}
|
|
set {
|
|
this[this.tableT_logRecords.idxRecordColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_logUtenteRow T_logUtenteRow {
|
|
get {
|
|
return ((T_logUtenteRow)(this.GetParentRow(this.Table.ParentRelations["FK_T_logEventi_T_logUtente1"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_T_logEventi_T_logUtente1"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagFiltroRow T_anagFiltroRow {
|
|
get {
|
|
return ((T_anagFiltroRow)(this.GetParentRow(this.Table.ParentRelations["FK_T_logRecords_T_anagFiltro1"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_T_logRecords_T_anagFiltro1"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public T_anagRecordRow T_anagRecordRow {
|
|
get {
|
|
return ((T_anagRecordRow)(this.GetParentRow(this.Table.ParentRelations["FK_T_logRecords_T_angrRecord1"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_T_logRecords_T_angrRecord1"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspaginaNull() {
|
|
return this.IsNull(this.tableT_logRecords.paginaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpaginaNull() {
|
|
this[this.tableT_logRecords.paginaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxTipoRecNull() {
|
|
return this.IsNull(this.tableT_logRecords.idxTipoRecColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxTipoRecNull() {
|
|
this[this.tableT_logRecords.idxTipoRecColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxFiltroNull() {
|
|
return this.IsNull(this.tableT_logRecords.idxFiltroColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxFiltroNull() {
|
|
this[this.tableT_logRecords.idxFiltroColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsvalOrigNull() {
|
|
return this.IsNull(this.tableT_logRecords.valOrigColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetvalOrigNull() {
|
|
this[this.tableT_logRecords.valOrigColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsvalNewNull() {
|
|
return this.IsNull(this.tableT_logRecords.valNewColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetvalNewNull() {
|
|
this[this.tableT_logRecords.valNewColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxNotaNull() {
|
|
return this.IsNull(this.tableT_logRecords.idxNotaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxNotaNull() {
|
|
this[this.tableT_logRecords.idxNotaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscestinatoNull() {
|
|
return this.IsNull(this.tableT_logRecords.cestinatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcestinatoNull() {
|
|
this[this.tableT_logRecords.cestinatoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class v_logRecordsRow : global::System.Data.DataRow {
|
|
|
|
private v_logRecordsDataTable tablev_logRecords;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal v_logRecordsRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablev_logRecords = ((v_logRecordsDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxRecord {
|
|
get {
|
|
return ((int)(this[this.tablev_logRecords.idxRecordColumn]));
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.idxRecordColumn] = value;
|
|
}
|
|
}
|
|
|
|
[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.tablev_logRecords.dataOraColumn]));
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.dataOraColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string userEv {
|
|
get {
|
|
return ((string)(this[this.tablev_logRecords.userEvColumn]));
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.userEvColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string SIGLA {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logRecords.SIGLAColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'SIGLA\' nella tabella \'v_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.SIGLAColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string pagina {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logRecords.paginaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'pagina\' nella tabella \'v_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.paginaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descrRec {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logRecords.descrRecColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrRec\' nella tabella \'v_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.descrRecColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string filtro {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logRecords.filtroColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'filtro\' nella tabella \'v_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.filtroColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string valOrig {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logRecords.valOrigColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'valOrig\' nella tabella \'v_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.valOrigColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string valNew {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablev_logRecords.valNewColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'valNew\' nella tabella \'v_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.valNewColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxNota {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablev_logRecords.idxNotaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxNota\' nella tabella \'v_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.idxNotaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool cestinato {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tablev_logRecords.cestinatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cestinato\' nella tabella \'v_logRecords\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablev_logRecords.cestinatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsSIGLANull() {
|
|
return this.IsNull(this.tablev_logRecords.SIGLAColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetSIGLANull() {
|
|
this[this.tablev_logRecords.SIGLAColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspaginaNull() {
|
|
return this.IsNull(this.tablev_logRecords.paginaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpaginaNull() {
|
|
this[this.tablev_logRecords.paginaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdescrRecNull() {
|
|
return this.IsNull(this.tablev_logRecords.descrRecColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdescrRecNull() {
|
|
this[this.tablev_logRecords.descrRecColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsfiltroNull() {
|
|
return this.IsNull(this.tablev_logRecords.filtroColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetfiltroNull() {
|
|
this[this.tablev_logRecords.filtroColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsvalOrigNull() {
|
|
return this.IsNull(this.tablev_logRecords.valOrigColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetvalOrigNull() {
|
|
this[this.tablev_logRecords.valOrigColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsvalNewNull() {
|
|
return this.IsNull(this.tablev_logRecords.valNewColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetvalNewNull() {
|
|
this[this.tablev_logRecords.valNewColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxNotaNull() {
|
|
return this.IsNull(this.tablev_logRecords.idxNotaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxNotaNull() {
|
|
this[this.tablev_logRecords.idxNotaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscestinatoNull() {
|
|
return this.IsNull(this.tablev_logRecords.cestinatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcestinatoNull() {
|
|
this[this.tablev_logRecords.cestinatoColumn] = 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 T_anagFiltroRowChangeEvent : global::System.EventArgs {
|
|
|
|
private T_anagFiltroRow 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 T_anagFiltroRowChangeEvent(T_anagFiltroRow 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 T_anagFiltroRow 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 T_logUtenteRowChangeEvent : global::System.EventArgs {
|
|
|
|
private T_logUtenteRow 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 T_logUtenteRowChangeEvent(T_logUtenteRow 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 T_logUtenteRow 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_logUtenteRowChangeEvent : global::System.EventArgs {
|
|
|
|
private v_logUtenteRow 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_logUtenteRowChangeEvent(v_logUtenteRow 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_logUtenteRow 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 T_anagRecordRowChangeEvent : global::System.EventArgs {
|
|
|
|
private T_anagRecordRow 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 T_anagRecordRowChangeEvent(T_anagRecordRow 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 T_anagRecordRow 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 T_logRecordsRowChangeEvent : global::System.EventArgs {
|
|
|
|
private T_logRecordsRow 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 T_logRecordsRowChangeEvent(T_logRecordsRow 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 T_logRecordsRow 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_logRecordsRowChangeEvent : global::System.EventArgs {
|
|
|
|
private v_logRecordsRow 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_logRecordsRowChangeEvent(v_logRecordsRow 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_logRecordsRow 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 SteamWare.DS_loggingTableAdapters
|
|
{
|
|
|
|
|
|
/// <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 T_anagFiltroTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
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 T_anagFiltroTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private 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")]
|
|
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 = "T_anagFiltro";
|
|
tableMapping.ColumnMappings.Add("idxFiltro", "idxFiltro");
|
|
tableMapping.ColumnMappings.Add("filtro", "filtro");
|
|
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].[T_anagFiltro] WHERE (([idxFiltro] = @Original_idxFiltro) AND (" +
|
|
"(@IsNull_filtro = 1 AND [filtro] IS NULL) OR ([filtro] = @Original_filtro)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_filtro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "filtro", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_filtro", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "filtro", 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].[T_anagFiltro] ([filtro]) VALUES (@filtro);\r\nSELECT idxFiltro, " +
|
|
"filtro FROM T_anagFiltro WHERE (idxFiltro = SCOPE_IDENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@filtro", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "filtro", 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].[T_anagFiltro] SET [filtro] = @filtro WHERE (([idxFiltro] = @Origina" +
|
|
"l_idxFiltro) AND ((@IsNull_filtro = 1 AND [filtro] IS NULL) OR ([filtro] = @Orig" +
|
|
"inal_filtro)));\r\nSELECT idxFiltro, filtro FROM T_anagFiltro WHERE (idxFiltro = @" +
|
|
"idxFiltro)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@filtro", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "filtro", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_filtro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "filtro", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_filtro", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "filtro", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFiltro", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", 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::SteamWare.Properties.Settings.Default.loggerConnectionString;
|
|
}
|
|
|
|
[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 idxFiltro, filtro FROM dbo.T_anagFiltro";
|
|
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_logging.T_anagFiltroDataTable 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_logging.T_anagFiltroDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_logging.T_anagFiltroDataTable dataTable = new DS_logging.T_anagFiltroDataTable();
|
|
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_logging.T_anagFiltroDataTable 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_logging dataSet) {
|
|
return this.Adapter.Update(dataSet, "T_anagFiltro");
|
|
}
|
|
|
|
[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_idxFiltro, string Original_filtro) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxFiltro));
|
|
if ((Original_filtro == 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_filtro));
|
|
}
|
|
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 filtro) {
|
|
if ((filtro == null)) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(filtro));
|
|
}
|
|
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 filtro, int Original_idxFiltro, string Original_filtro, int idxFiltro) {
|
|
if ((filtro == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(filtro));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Original_idxFiltro));
|
|
if ((Original_filtro == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_filtro));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(idxFiltro));
|
|
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 filtro, int Original_idxFiltro, string Original_filtro) {
|
|
return this.Update(filtro, Original_idxFiltro, Original_filtro, Original_idxFiltro);
|
|
}
|
|
}
|
|
|
|
/// <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 T_logUtenteTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
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 T_logUtenteTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private 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")]
|
|
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 = "T_logUtente";
|
|
tableMapping.ColumnMappings.Add("idxNota", "idxNota");
|
|
tableMapping.ColumnMappings.Add("dataNota", "dataNota");
|
|
tableMapping.ColumnMappings.Add("userNota", "userNota");
|
|
tableMapping.ColumnMappings.Add("nota", "nota");
|
|
tableMapping.ColumnMappings.Add("idxFiltro", "idxFiltro");
|
|
tableMapping.ColumnMappings.Add("val", "val");
|
|
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].[T_logUtente] WHERE (([idxNota] = @Original_idxNota) AND ((@IsNull_dataNota = 1 AND [dataNota] IS NULL) OR ([dataNota] = @Original_dataNota)) AND ((@IsNull_userNota = 1 AND [userNota] IS NULL) OR ([userNota] = @Original_userNota)) AND ((@IsNull_nota = 1 AND [nota] IS NULL) OR ([nota] = @Original_nota)) AND ((@IsNull_idxFiltro = 1 AND [idxFiltro] IS NULL) OR ([idxFiltro] = @Original_idxFiltro)) AND ((@IsNull_val = 1 AND [val] IS NULL) OR ([val] = @Original_val)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxNota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNota", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataNota", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userNota", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userNota", 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_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_val", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "val", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_val", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "val", 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].[T_logUtente] ([dataNota], [userNota], [nota], [idxFiltro], [va" +
|
|
"l]) VALUES (@dataNota, @userNota, @nota, @idxFiltro, @val);\r\nSELECT idxNota, dat" +
|
|
"aNota, userNota, nota, idxFiltro, val FROM T_logUtente WHERE (idxNota = SCOPE_ID" +
|
|
"ENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataNota", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userNota", 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("@idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@val", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "val", 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].[T_logUtente] SET [dataNota] = @dataNota, [userNota] = @userNota, [nota] = @nota, [idxFiltro] = @idxFiltro, [val] = @val WHERE (([idxNota] = @Original_idxNota) AND ((@IsNull_dataNota = 1 AND [dataNota] IS NULL) OR ([dataNota] = @Original_dataNota)) AND ((@IsNull_userNota = 1 AND [userNota] IS NULL) OR ([userNota] = @Original_userNota)) AND ((@IsNull_nota = 1 AND [nota] IS NULL) OR ([nota] = @Original_nota)) AND ((@IsNull_idxFiltro = 1 AND [idxFiltro] IS NULL) OR ([idxFiltro] = @Original_idxFiltro)) AND ((@IsNull_val = 1 AND [val] IS NULL) OR ([val] = @Original_val)));
|
|
SELECT idxNota, dataNota, userNota, nota, idxFiltro, val FROM T_logUtente WHERE (idxNota = @idxNota)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataNota", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userNota", 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("@idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@val", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "val", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxNota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNota", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataNota", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataNota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userNota", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userNota", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userNota", 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_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_val", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "val", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_val", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "val", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxNota", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxNota", 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::SteamWare.Properties.Settings.Default.loggerConnectionString;
|
|
}
|
|
|
|
[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 idxNota, dataNota, userNota, nota, idxFiltro, val FROM dbo.T_logUtente";
|
|
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 = @"SELECT T_logUtente.idxNota, T_logUtente.dataNota, T_logUtente.userNota, T_logUtente.nota, T_logUtente.idxFiltro, T_logUtente.val
|
|
FROM T_logUtente INNER JOIN
|
|
T_anagFiltro ON T_logUtente.idxFiltro = T_anagFiltro.idxFiltro
|
|
WHERE (T_anagFiltro.filtro LIKE @filtro + '%')";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@filtro", global::System.Data.SqlDbType.NVarChar, 300, global::System.Data.ParameterDirection.Input, 0, 0, "filtro", 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.sp_insLogUtFull";
|
|
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("@userNota", global::System.Data.SqlDbType.VarChar, 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("@nota", global::System.Data.SqlDbType.VarChar, 500, 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("@val", global::System.Data.SqlDbType.VarChar, 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("@filtro", global::System.Data.SqlDbType.VarChar, 300, 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("@idxNota", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 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_logging.T_logUtenteDataTable 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_logging.T_logUtenteDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_logging.T_logUtenteDataTable dataTable = new DS_logging.T_logUtenteDataTable();
|
|
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_logging.T_logUtenteDataTable getByFiltro(string filtro) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((filtro == null)) {
|
|
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(filtro));
|
|
}
|
|
DS_logging.T_logUtenteDataTable dataTable = new DS_logging.T_logUtenteDataTable();
|
|
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_logging.T_logUtenteDataTable 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_logging dataSet) {
|
|
return this.Adapter.Update(dataSet, "T_logUtente");
|
|
}
|
|
|
|
[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_idxNota, global::System.Nullable<global::System.DateTime> Original_dataNota, string Original_userNota, string Original_nota, global::System.Nullable<int> Original_idxFiltro, string Original_val) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxNota));
|
|
if ((Original_dataNota.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_dataNota.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_userNota == 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_userNota));
|
|
}
|
|
if ((Original_nota == 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_nota));
|
|
}
|
|
if ((Original_idxFiltro.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_idxFiltro.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_val == 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_val));
|
|
}
|
|
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<global::System.DateTime> dataNota, string userNota, string nota, global::System.Nullable<int> idxFiltro, string val) {
|
|
if ((dataNota.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(dataNota.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((userNota == null)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(userNota));
|
|
}
|
|
if ((nota == null)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(nota));
|
|
}
|
|
if ((idxFiltro.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(idxFiltro.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((val == null)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(val));
|
|
}
|
|
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<global::System.DateTime> dataNota, string userNota, string nota, global::System.Nullable<int> idxFiltro, string val, int Original_idxNota, global::System.Nullable<global::System.DateTime> Original_dataNota, string Original_userNota, string Original_nota, global::System.Nullable<int> Original_idxFiltro, string Original_val, int idxNota) {
|
|
if ((dataNota.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(dataNota.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((userNota == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(userNota));
|
|
}
|
|
if ((nota == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(nota));
|
|
}
|
|
if ((idxFiltro.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(idxFiltro.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((val == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(val));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_idxNota));
|
|
if ((Original_dataNota.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(Original_dataNota.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_userNota == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_userNota));
|
|
}
|
|
if ((Original_nota == 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_nota));
|
|
}
|
|
if ((Original_idxFiltro.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_idxFiltro.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_val == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_val));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(idxNota));
|
|
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<global::System.DateTime> dataNota, string userNota, string nota, global::System.Nullable<int> idxFiltro, string val, int Original_idxNota, global::System.Nullable<global::System.DateTime> Original_dataNota, string Original_userNota, string Original_nota, global::System.Nullable<int> Original_idxFiltro, string Original_val) {
|
|
return this.Update(dataNota, userNota, nota, idxFiltro, val, Original_idxNota, Original_dataNota, Original_userNota, Original_nota, Original_idxFiltro, Original_val, Original_idxNota);
|
|
}
|
|
|
|
[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 sp_insLogUtFull(string userNota, string nota, string val, string filtro, ref global::System.Nullable<int> idxNota) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((userNota == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(userNota));
|
|
}
|
|
if ((nota == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(nota));
|
|
}
|
|
if ((val == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(val));
|
|
}
|
|
if ((filtro == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(filtro));
|
|
}
|
|
if ((idxNota.HasValue == true)) {
|
|
command.Parameters[5].Value = ((int)(idxNota.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();
|
|
}
|
|
}
|
|
if (((command.Parameters[5].Value == null)
|
|
|| (command.Parameters[5].Value.GetType() == typeof(global::System.DBNull)))) {
|
|
idxNota = new global::System.Nullable<int>();
|
|
}
|
|
else {
|
|
idxNota = new global::System.Nullable<int>(((int)(command.Parameters[5].Value)));
|
|
}
|
|
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_logUtenteTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
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_logUtenteTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private 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")]
|
|
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_logUtente";
|
|
tableMapping.ColumnMappings.Add("idxNota", "idxNota");
|
|
tableMapping.ColumnMappings.Add("filtro", "filtro");
|
|
tableMapping.ColumnMappings.Add("dataNota", "dataNota");
|
|
tableMapping.ColumnMappings.Add("userNota", "userNota");
|
|
tableMapping.ColumnMappings.Add("nota", "nota");
|
|
tableMapping.ColumnMappings.Add("val", "val");
|
|
tableMapping.ColumnMappings.Add("numRec", "numRec");
|
|
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::SteamWare.Properties.Settings.Default.loggerConnectionString;
|
|
}
|
|
|
|
[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 idxNota, filtro, dataNota, userNota, nota, val, numRec FROM dbo.v_logUtent" +
|
|
"e";
|
|
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.S_v_logUtente";
|
|
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("@filtro", global::System.Data.SqlDbType.VarChar, 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_logging.v_logUtenteDataTable 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_logging.v_logUtenteDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_logging.v_logUtenteDataTable dataTable = new DS_logging.v_logUtenteDataTable();
|
|
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_logging.v_logUtenteDataTable getByFiltro(string filtro) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((filtro == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(filtro));
|
|
}
|
|
DS_logging.v_logUtenteDataTable dataTable = new DS_logging.v_logUtenteDataTable();
|
|
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 T_anagRecordTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
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 T_anagRecordTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private 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")]
|
|
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 = "T_anagRecord";
|
|
tableMapping.ColumnMappings.Add("idxTipoRec", "idxTipoRec");
|
|
tableMapping.ColumnMappings.Add("descrRec", "descrRec");
|
|
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].[T_anagRecord] WHERE (([idxTipoRec] = @Original_idxTipoRec) AND" +
|
|
" ((@IsNull_descrRec = 1 AND [descrRec] IS NULL) OR ([descrRec] = @Original_descr" +
|
|
"Rec)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxTipoRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipoRec", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrRec", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrRec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrRec", 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].[T_anagRecord] ([descrRec]) VALUES (@descrRec);\r\nSELECT idxTipo" +
|
|
"Rec, descrRec FROM T_anagRecord WHERE (idxTipoRec = SCOPE_IDENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrRec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrRec", 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].[T_anagRecord] SET [descrRec] = @descrRec WHERE (([idxTipoRec] = @Original_idxTipoRec) AND ((@IsNull_descrRec = 1 AND [descrRec] IS NULL) OR ([descrRec] = @Original_descrRec)));
|
|
SELECT idxTipoRec, descrRec FROM T_anagRecord WHERE (idxTipoRec = @idxTipoRec)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrRec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrRec", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxTipoRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipoRec", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrRec", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrRec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrRec", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipoRec", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipoRec", 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::SteamWare.Properties.Settings.Default.loggerConnectionString;
|
|
}
|
|
|
|
[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 idxTipoRec, descrRec FROM dbo.T_anagRecord";
|
|
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_logging.T_anagRecordDataTable 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_logging.T_anagRecordDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_logging.T_anagRecordDataTable dataTable = new DS_logging.T_anagRecordDataTable();
|
|
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_logging.T_anagRecordDataTable 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_logging dataSet) {
|
|
return this.Adapter.Update(dataSet, "T_anagRecord");
|
|
}
|
|
|
|
[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_idxTipoRec, string Original_descrRec) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxTipoRec));
|
|
if ((Original_descrRec == 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_descrRec));
|
|
}
|
|
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 descrRec) {
|
|
if ((descrRec == null)) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(descrRec));
|
|
}
|
|
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 descrRec, int Original_idxTipoRec, string Original_descrRec, int idxTipoRec) {
|
|
if ((descrRec == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(descrRec));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Original_idxTipoRec));
|
|
if ((Original_descrRec == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_descrRec));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(idxTipoRec));
|
|
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 descrRec, int Original_idxTipoRec, string Original_descrRec) {
|
|
return this.Update(descrRec, Original_idxTipoRec, Original_descrRec, Original_idxTipoRec);
|
|
}
|
|
}
|
|
|
|
/// <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 T_logRecordsTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
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 T_logRecordsTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private 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")]
|
|
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 = "T_logRecords";
|
|
tableMapping.ColumnMappings.Add("dataOra", "dataOra");
|
|
tableMapping.ColumnMappings.Add("userEv", "userEv");
|
|
tableMapping.ColumnMappings.Add("pagina", "pagina");
|
|
tableMapping.ColumnMappings.Add("idxTipoRec", "idxTipoRec");
|
|
tableMapping.ColumnMappings.Add("idxFiltro", "idxFiltro");
|
|
tableMapping.ColumnMappings.Add("valOrig", "valOrig");
|
|
tableMapping.ColumnMappings.Add("valNew", "valNew");
|
|
tableMapping.ColumnMappings.Add("idxNota", "idxNota");
|
|
tableMapping.ColumnMappings.Add("cestinato", "cestinato");
|
|
tableMapping.ColumnMappings.Add("idxRecord", "idxRecord");
|
|
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].[T_logRecords] WHERE (([idxRecord] = @Original_idxRecord) AND ([dataOra] = @Original_dataOra) AND ([userEv] = @Original_userEv) AND ((@IsNull_pagina = 1 AND [pagina] IS NULL) OR ([pagina] = @Original_pagina)) AND ((@IsNull_idxTipoRec = 1 AND [idxTipoRec] IS NULL) OR ([idxTipoRec] = @Original_idxTipoRec)) AND ((@IsNull_idxFiltro = 1 AND [idxFiltro] IS NULL) OR ([idxFiltro] = @Original_idxFiltro)) AND ((@IsNull_valOrig = 1 AND [valOrig] IS NULL) OR ([valOrig] = @Original_valOrig)) AND ((@IsNull_valNew = 1 AND [valNew] IS NULL) OR ([valNew] = @Original_valNew)) AND ((@IsNull_idxNota = 1 AND [idxNota] IS NULL) OR ([idxNota] = @Original_idxNota)) AND ((@IsNull_cestinato = 1 AND [cestinato] IS NULL) OR ([cestinato] = @Original_cestinato)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxRecord", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxRecord", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
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_userEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userEv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pagina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pagina", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pagina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pagina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxTipoRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipoRec", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxTipoRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipoRec", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_valOrig", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valOrig", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valOrig", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valOrig", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_valNew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valNew", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valNew", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valNew", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxNota", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxNota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cestinato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cestinato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cestinato", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cestinato", 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].[T_logRecords] ([dataOra], [userEv], [pagina], [idxTipoRec], [idxFiltro], [valOrig], [valNew], [idxNota], [cestinato]) VALUES (@dataOra, @userEv, @pagina, @idxTipoRec, @idxFiltro, @valOrig, @valNew, @idxNota, @cestinato);
|
|
SELECT idxRecord, dataOra, userEv, pagina, idxTipoRec, idxFiltro, valOrig, valNew, idxNota, cestinato FROM T_logRecords WHERE (idxRecord = SCOPE_IDENTITY())";
|
|
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("@userEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userEv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pagina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pagina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipoRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipoRec", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valOrig", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valOrig", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valNew", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valNew", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxNota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cestinato", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cestinato", 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].[T_logRecords] SET [dataOra] = @dataOra, [userEv] = @userEv, [pagina] = @pagina, [idxTipoRec] = @idxTipoRec, [idxFiltro] = @idxFiltro, [valOrig] = @valOrig, [valNew] = @valNew, [idxNota] = @idxNota, [cestinato] = @cestinato WHERE (([idxRecord] = @Original_idxRecord) AND ([dataOra] = @Original_dataOra) AND ([userEv] = @Original_userEv) AND ((@IsNull_pagina = 1 AND [pagina] IS NULL) OR ([pagina] = @Original_pagina)) AND ((@IsNull_idxTipoRec = 1 AND [idxTipoRec] IS NULL) OR ([idxTipoRec] = @Original_idxTipoRec)) AND ((@IsNull_idxFiltro = 1 AND [idxFiltro] IS NULL) OR ([idxFiltro] = @Original_idxFiltro)) AND ((@IsNull_valOrig = 1 AND [valOrig] IS NULL) OR ([valOrig] = @Original_valOrig)) AND ((@IsNull_valNew = 1 AND [valNew] IS NULL) OR ([valNew] = @Original_valNew)) AND ((@IsNull_idxNota = 1 AND [idxNota] IS NULL) OR ([idxNota] = @Original_idxNota)) AND ((@IsNull_cestinato = 1 AND [cestinato] IS NULL) OR ([cestinato] = @Original_cestinato)));
|
|
SELECT idxRecord, dataOra, userEv, pagina, idxTipoRec, idxFiltro, valOrig, valNew, idxNota, cestinato FROM T_logRecords WHERE (idxRecord = @idxRecord)";
|
|
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("@userEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userEv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pagina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pagina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipoRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipoRec", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valOrig", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valOrig", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valNew", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valNew", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxNota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cestinato", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cestinato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxRecord", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxRecord", global::System.Data.DataRowVersion.Original, 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_userEv", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userEv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pagina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pagina", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pagina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pagina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxTipoRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipoRec", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxTipoRec", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipoRec", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFiltro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFiltro", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_valOrig", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valOrig", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valOrig", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valOrig", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_valNew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valNew", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valNew", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valNew", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxNota", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxNota", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxNota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cestinato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cestinato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cestinato", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cestinato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxRecord", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxRecord", 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::SteamWare.Properties.Settings.Default.loggerConnectionString;
|
|
}
|
|
|
|
[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 dbo.T_logRecords";
|
|
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.sp_cestinaLogRecFiltro";
|
|
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("@filtro", global::System.Data.SqlDbType.VarChar, 500, 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.sp_cestinaLogRecUt";
|
|
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("@userEv", global::System.Data.SqlDbType.VarChar, 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.sp_deleteLogMaxData";
|
|
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("@dataMax", 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.sp_deleteLogUser";
|
|
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("@userEv", global::System.Data.SqlDbType.VarChar, 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.sp_insRecFull";
|
|
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("@userEv", global::System.Data.SqlDbType.VarChar, 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("@pagina", global::System.Data.SqlDbType.VarChar, 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("@valOrig", global::System.Data.SqlDbType.VarChar, 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("@valNew", global::System.Data.SqlDbType.VarChar, 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("@evento", global::System.Data.SqlDbType.VarChar, 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("@filtro", global::System.Data.SqlDbType.VarChar, 300, 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.sp_setLastRec2nota";
|
|
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("@filtro", global::System.Data.SqlDbType.VarChar, 300, 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("@idxNota", 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.sp_setRec2nota";
|
|
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("@idxRecord", 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("@idxNota", 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_logging.T_logRecordsDataTable 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_logging.T_logRecordsDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_logging.T_logRecordsDataTable dataTable = new DS_logging.T_logRecordsDataTable();
|
|
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_logging.T_logRecordsDataTable 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_logging dataSet) {
|
|
return this.Adapter.Update(dataSet, "T_logRecords");
|
|
}
|
|
|
|
[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_idxRecord, System.DateTime Original_dataOra, string Original_userEv, string Original_pagina, global::System.Nullable<int> Original_idxTipoRec, global::System.Nullable<int> Original_idxFiltro, string Original_valOrig, string Original_valNew, global::System.Nullable<int> Original_idxNota, global::System.Nullable<bool> Original_cestinato) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxRecord));
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((System.DateTime)(Original_dataOra));
|
|
if ((Original_userEv == null)) {
|
|
throw new global::System.ArgumentNullException("Original_userEv");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_userEv));
|
|
}
|
|
if ((Original_pagina == 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_pagina));
|
|
}
|
|
if ((Original_idxTipoRec.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_idxTipoRec.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxFiltro.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_idxFiltro.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_valOrig == 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_valOrig));
|
|
}
|
|
if ((Original_valNew == 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_valNew));
|
|
}
|
|
if ((Original_idxNota.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_idxNota.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cestinato.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((bool)(Original_cestinato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[16].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, string userEv, string pagina, global::System.Nullable<int> idxTipoRec, global::System.Nullable<int> idxFiltro, string valOrig, string valNew, global::System.Nullable<int> idxNota, global::System.Nullable<bool> cestinato) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(dataOra));
|
|
if ((userEv == null)) {
|
|
throw new global::System.ArgumentNullException("userEv");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(userEv));
|
|
}
|
|
if ((pagina == null)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(pagina));
|
|
}
|
|
if ((idxTipoRec.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(idxTipoRec.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxFiltro.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((int)(idxFiltro.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((valOrig == null)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(valOrig));
|
|
}
|
|
if ((valNew == null)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(valNew));
|
|
}
|
|
if ((idxNota.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((int)(idxNota.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cestinato.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((bool)(cestinato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].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,
|
|
string userEv,
|
|
string pagina,
|
|
global::System.Nullable<int> idxTipoRec,
|
|
global::System.Nullable<int> idxFiltro,
|
|
string valOrig,
|
|
string valNew,
|
|
global::System.Nullable<int> idxNota,
|
|
global::System.Nullable<bool> cestinato,
|
|
int Original_idxRecord,
|
|
System.DateTime Original_dataOra,
|
|
string Original_userEv,
|
|
string Original_pagina,
|
|
global::System.Nullable<int> Original_idxTipoRec,
|
|
global::System.Nullable<int> Original_idxFiltro,
|
|
string Original_valOrig,
|
|
string Original_valNew,
|
|
global::System.Nullable<int> Original_idxNota,
|
|
global::System.Nullable<bool> Original_cestinato,
|
|
int idxRecord) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(dataOra));
|
|
if ((userEv == null)) {
|
|
throw new global::System.ArgumentNullException("userEv");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(userEv));
|
|
}
|
|
if ((pagina == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(pagina));
|
|
}
|
|
if ((idxTipoRec.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(idxTipoRec.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxFiltro.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(idxFiltro.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((valOrig == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(valOrig));
|
|
}
|
|
if ((valNew == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(valNew));
|
|
}
|
|
if ((idxNota.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(idxNota.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cestinato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((bool)(cestinato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_idxRecord));
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(Original_dataOra));
|
|
if ((Original_userEv == null)) {
|
|
throw new global::System.ArgumentNullException("Original_userEv");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_userEv));
|
|
}
|
|
if ((Original_pagina == 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_pagina));
|
|
}
|
|
if ((Original_idxTipoRec.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_idxTipoRec.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_idxFiltro.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_idxFiltro.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_valOrig == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_valOrig));
|
|
}
|
|
if ((Original_valNew == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_valNew));
|
|
}
|
|
if ((Original_idxNota.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_idxNota.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cestinato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((bool)(Original_cestinato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(idxRecord));
|
|
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(
|
|
System.DateTime dataOra,
|
|
string userEv,
|
|
string pagina,
|
|
global::System.Nullable<int> idxTipoRec,
|
|
global::System.Nullable<int> idxFiltro,
|
|
string valOrig,
|
|
string valNew,
|
|
global::System.Nullable<int> idxNota,
|
|
global::System.Nullable<bool> cestinato,
|
|
int Original_idxRecord,
|
|
System.DateTime Original_dataOra,
|
|
string Original_userEv,
|
|
string Original_pagina,
|
|
global::System.Nullable<int> Original_idxTipoRec,
|
|
global::System.Nullable<int> Original_idxFiltro,
|
|
string Original_valOrig,
|
|
string Original_valNew,
|
|
global::System.Nullable<int> Original_idxNota,
|
|
global::System.Nullable<bool> Original_cestinato) {
|
|
return this.Update(dataOra, userEv, pagina, idxTipoRec, idxFiltro, valOrig, valNew, idxNota, cestinato, Original_idxRecord, Original_dataOra, Original_userEv, Original_pagina, Original_idxTipoRec, Original_idxFiltro, Original_valOrig, Original_valNew, Original_idxNota, Original_cestinato, Original_idxRecord);
|
|
}
|
|
|
|
[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 sp_cestinaLogRecFiltro(string filtro) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((filtro == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(filtro));
|
|
}
|
|
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 sp_cestinaLogRecUt(string userEv) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((userEv == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(userEv));
|
|
}
|
|
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 sp_deleteLogMaxData(global::System.Nullable<global::System.DateTime> dataMax) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((dataMax.HasValue == true)) {
|
|
command.Parameters[1].Value = ((System.DateTime)(dataMax.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 sp_deleteLogUser(string userEv) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((userEv == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(userEv));
|
|
}
|
|
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 sp_insRecFull(string userEv, string pagina, string valOrig, string valNew, string evento, string filtro) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
|
if ((userEv == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(userEv));
|
|
}
|
|
if ((pagina == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(pagina));
|
|
}
|
|
if ((valOrig == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(valOrig));
|
|
}
|
|
if ((valNew == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(valNew));
|
|
}
|
|
if ((evento == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(evento));
|
|
}
|
|
if ((filtro == null)) {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = ((string)(filtro));
|
|
}
|
|
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 sp_setLastRec2nota(string filtro, global::System.Nullable<int> idxNota) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
|
|
if ((filtro == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(filtro));
|
|
}
|
|
if ((idxNota.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(idxNota.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 sp_setRec2nota(global::System.Nullable<int> idxRecord, global::System.Nullable<int> idxNota) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
|
|
if ((idxRecord.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxRecord.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxNota.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(idxNota.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 v_logRecordsTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
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_logRecordsTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private 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")]
|
|
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_logRecords";
|
|
tableMapping.ColumnMappings.Add("idxRecord", "idxRecord");
|
|
tableMapping.ColumnMappings.Add("dataOra", "dataOra");
|
|
tableMapping.ColumnMappings.Add("userEv", "userEv");
|
|
tableMapping.ColumnMappings.Add("SIGLA", "SIGLA");
|
|
tableMapping.ColumnMappings.Add("pagina", "pagina");
|
|
tableMapping.ColumnMappings.Add("descrRec", "descrRec");
|
|
tableMapping.ColumnMappings.Add("filtro", "filtro");
|
|
tableMapping.ColumnMappings.Add("valOrig", "valOrig");
|
|
tableMapping.ColumnMappings.Add("valNew", "valNew");
|
|
tableMapping.ColumnMappings.Add("idxNota", "idxNota");
|
|
tableMapping.ColumnMappings.Add("cestinato", "cestinato");
|
|
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::SteamWare.Properties.Settings.Default.loggerConnectionString;
|
|
}
|
|
|
|
[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 idxRecord, dataOra, userEv, SIGLA, pagina, descrRec, filtro, valOrig, valN" +
|
|
"ew, idxNota, cestinato FROM dbo.v_logRecords";
|
|
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.S_v_logRecords";
|
|
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("@filtro", global::System.Data.SqlDbType.VarChar, 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_logging.v_logRecordsDataTable 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_logging.v_logRecordsDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_logging.v_logRecordsDataTable dataTable = new DS_logging.v_logRecordsDataTable();
|
|
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_logging.v_logRecordsDataTable getByFiltro(string filtro) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((filtro == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(filtro));
|
|
}
|
|
DS_logging.v_logRecordsDataTable dataTable = new DS_logging.v_logRecordsDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
}
|
|
|
|
#pragma warning restore 1591 |