4977 lines
304 KiB
C#
4977 lines
304 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 Data {
|
|
|
|
|
|
/// <summary>
|
|
///Represents a strongly typed in-memory cache of data.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
|
|
[global::System.Xml.Serialization.XmlRootAttribute("DS_app")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
|
|
public partial class DS_app : global::System.Data.DataSet {
|
|
|
|
private AnagAmministratoriDataTable tableAnagAmministratori;
|
|
|
|
private AnagCondominiDataTable tableAnagCondomini;
|
|
|
|
private AnagAreeDataTable tableAnagAree;
|
|
|
|
private global::System.Data.DataRelation relationFK_AnagCondomini_AnagAmministratori;
|
|
|
|
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public DS_app() {
|
|
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", "15.0.0.0")]
|
|
protected DS_app(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["AnagAmministratori"] != null)) {
|
|
base.Tables.Add(new AnagAmministratoriDataTable(ds.Tables["AnagAmministratori"]));
|
|
}
|
|
if ((ds.Tables["AnagCondomini"] != null)) {
|
|
base.Tables.Add(new AnagCondominiDataTable(ds.Tables["AnagCondomini"]));
|
|
}
|
|
if ((ds.Tables["AnagAree"] != null)) {
|
|
base.Tables.Add(new AnagAreeDataTable(ds.Tables["AnagAree"]));
|
|
}
|
|
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", "15.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public AnagAmministratoriDataTable AnagAmministratori {
|
|
get {
|
|
return this.tableAnagAmministratori;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public AnagCondominiDataTable AnagCondomini {
|
|
get {
|
|
return this.tableAnagCondomini;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public AnagAreeDataTable AnagAree {
|
|
get {
|
|
return this.tableAnagAree;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.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", "15.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", "15.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", "15.0.0.0")]
|
|
public override global::System.Data.DataSet Clone() {
|
|
DS_app cln = ((DS_app)(base.Clone()));
|
|
cln.InitVars();
|
|
cln.SchemaSerializationMode = this.SchemaSerializationMode;
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override bool ShouldSerializeTables() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override bool ShouldSerializeRelations() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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["AnagAmministratori"] != null)) {
|
|
base.Tables.Add(new AnagAmministratoriDataTable(ds.Tables["AnagAmministratori"]));
|
|
}
|
|
if ((ds.Tables["AnagCondomini"] != null)) {
|
|
base.Tables.Add(new AnagCondominiDataTable(ds.Tables["AnagCondomini"]));
|
|
}
|
|
if ((ds.Tables["AnagAree"] != null)) {
|
|
base.Tables.Add(new AnagAreeDataTable(ds.Tables["AnagAree"]));
|
|
}
|
|
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", "15.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", "15.0.0.0")]
|
|
internal void InitVars() {
|
|
this.InitVars(true);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal void InitVars(bool initTable) {
|
|
this.tableAnagAmministratori = ((AnagAmministratoriDataTable)(base.Tables["AnagAmministratori"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagAmministratori != null)) {
|
|
this.tableAnagAmministratori.InitVars();
|
|
}
|
|
}
|
|
this.tableAnagCondomini = ((AnagCondominiDataTable)(base.Tables["AnagCondomini"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagCondomini != null)) {
|
|
this.tableAnagCondomini.InitVars();
|
|
}
|
|
}
|
|
this.tableAnagAree = ((AnagAreeDataTable)(base.Tables["AnagAree"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagAree != null)) {
|
|
this.tableAnagAree.InitVars();
|
|
}
|
|
}
|
|
this.relationFK_AnagCondomini_AnagAmministratori = this.Relations["FK_AnagCondomini_AnagAmministratori"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private void InitClass() {
|
|
this.DataSetName = "DS_app";
|
|
this.Prefix = "";
|
|
this.Namespace = "http://tempuri.org/DS_app.xsd";
|
|
this.EnforceConstraints = true;
|
|
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|
this.tableAnagAmministratori = new AnagAmministratoriDataTable();
|
|
base.Tables.Add(this.tableAnagAmministratori);
|
|
this.tableAnagCondomini = new AnagCondominiDataTable();
|
|
base.Tables.Add(this.tableAnagCondomini);
|
|
this.tableAnagAree = new AnagAreeDataTable();
|
|
base.Tables.Add(this.tableAnagAree);
|
|
this.relationFK_AnagCondomini_AnagAmministratori = new global::System.Data.DataRelation("FK_AnagCondomini_AnagAmministratori", new global::System.Data.DataColumn[] {
|
|
this.tableAnagAmministratori.idxAmmColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableAnagCondomini.idxAmmColumn}, false);
|
|
this.Relations.Add(this.relationFK_AnagCondomini_AnagAmministratori);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private bool ShouldSerializeAnagAmministratori() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private bool ShouldSerializeAnagCondomini() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private bool ShouldSerializeAnagAree() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
DS_app ds = new DS_app();
|
|
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", "15.0.0.0")]
|
|
public delegate void AnagAmministratoriRowChangeEventHandler(object sender, AnagAmministratoriRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public delegate void AnagCondominiRowChangeEventHandler(object sender, AnagCondominiRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public delegate void AnagAreeRowChangeEventHandler(object sender, AnagAreeRowChangeEvent e);
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class AnagAmministratoriDataTable : global::System.Data.TypedTableBase<AnagAmministratoriRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxAmm;
|
|
|
|
private global::System.Data.DataColumn columnRagSociale;
|
|
|
|
private global::System.Data.DataColumn columnemail;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAmministratoriDataTable() {
|
|
this.TableName = "AnagAmministratori";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal AnagAmministratoriDataTable(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", "15.0.0.0")]
|
|
protected AnagAmministratoriDataTable(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", "15.0.0.0")]
|
|
public global::System.Data.DataColumn idxAmmColumn {
|
|
get {
|
|
return this.columnidxAmm;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn RagSocialeColumn {
|
|
get {
|
|
return this.columnRagSociale;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn emailColumn {
|
|
get {
|
|
return this.columnemail;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
|
|
public AnagAmministratoriRow this[int index] {
|
|
get {
|
|
return ((AnagAmministratoriRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagAmministratoriRowChangeEventHandler AnagAmministratoriRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagAmministratoriRowChangeEventHandler AnagAmministratoriRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagAmministratoriRowChangeEventHandler AnagAmministratoriRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagAmministratoriRowChangeEventHandler AnagAmministratoriRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void AddAnagAmministratoriRow(AnagAmministratoriRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAmministratoriRow AddAnagAmministratoriRow(string RagSociale, string email) {
|
|
AnagAmministratoriRow rowAnagAmministratoriRow = ((AnagAmministratoriRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
RagSociale,
|
|
email};
|
|
rowAnagAmministratoriRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAnagAmministratoriRow);
|
|
return rowAnagAmministratoriRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAmministratoriRow FindByidxAmm(int idxAmm) {
|
|
return ((AnagAmministratoriRow)(this.Rows.Find(new object[] {
|
|
idxAmm})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AnagAmministratoriDataTable cln = ((AnagAmministratoriDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new AnagAmministratoriDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxAmm = base.Columns["idxAmm"];
|
|
this.columnRagSociale = base.Columns["RagSociale"];
|
|
this.columnemail = base.Columns["email"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxAmm = new global::System.Data.DataColumn("idxAmm", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxAmm);
|
|
this.columnRagSociale = new global::System.Data.DataColumn("RagSociale", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRagSociale);
|
|
this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnemail);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxAmm}, true));
|
|
this.columnidxAmm.AutoIncrement = true;
|
|
this.columnidxAmm.AutoIncrementSeed = -1;
|
|
this.columnidxAmm.AutoIncrementStep = -1;
|
|
this.columnidxAmm.AllowDBNull = false;
|
|
this.columnidxAmm.ReadOnly = true;
|
|
this.columnidxAmm.Unique = true;
|
|
this.columnRagSociale.AllowDBNull = false;
|
|
this.columnRagSociale.MaxLength = 250;
|
|
this.columnemail.AllowDBNull = false;
|
|
this.columnemail.MaxLength = 250;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAmministratoriRow NewAnagAmministratoriRow() {
|
|
return ((AnagAmministratoriRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new AnagAmministratoriRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(AnagAmministratoriRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.AnagAmministratoriRowChanged != null)) {
|
|
this.AnagAmministratoriRowChanged(this, new AnagAmministratoriRowChangeEvent(((AnagAmministratoriRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.AnagAmministratoriRowChanging != null)) {
|
|
this.AnagAmministratoriRowChanging(this, new AnagAmministratoriRowChangeEvent(((AnagAmministratoriRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.AnagAmministratoriRowDeleted != null)) {
|
|
this.AnagAmministratoriRowDeleted(this, new AnagAmministratoriRowChangeEvent(((AnagAmministratoriRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.AnagAmministratoriRowDeleting != null)) {
|
|
this.AnagAmministratoriRowDeleting(this, new AnagAmministratoriRowChangeEvent(((AnagAmministratoriRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void RemoveAnagAmministratoriRow(AnagAmministratoriRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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_app ds = new DS_app();
|
|
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 = "AnagAmministratoriDataTable";
|
|
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 AnagCondominiDataTable : global::System.Data.TypedTableBase<AnagCondominiRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxCond;
|
|
|
|
private global::System.Data.DataColumn columncod_cond;
|
|
|
|
private global::System.Data.DataColumn columnnome;
|
|
|
|
private global::System.Data.DataColumn columnindirizzo;
|
|
|
|
private global::System.Data.DataColumn columncap;
|
|
|
|
private global::System.Data.DataColumn columncitta;
|
|
|
|
private global::System.Data.DataColumn columncod_fisc;
|
|
|
|
private global::System.Data.DataColumn columnidxAmm;
|
|
|
|
private global::System.Data.DataColumn columncod_Id;
|
|
|
|
private global::System.Data.DataColumn columncod_El;
|
|
|
|
private global::System.Data.DataColumn columncod_Ed;
|
|
|
|
private global::System.Data.DataColumn columncod_Fb;
|
|
|
|
private global::System.Data.DataColumn columncod_Tv;
|
|
|
|
private global::System.Data.DataColumn columncod_As;
|
|
|
|
private global::System.Data.DataColumn columncod_Ca;
|
|
|
|
private global::System.Data.DataColumn columncod_Sp;
|
|
|
|
private global::System.Data.DataColumn columncod_Sn;
|
|
|
|
private global::System.Data.DataColumn columncod_Mc;
|
|
|
|
private global::System.Data.DataColumn columncod_Id2;
|
|
|
|
private global::System.Data.DataColumn columncod_El2;
|
|
|
|
private global::System.Data.DataColumn columncod_Ed2;
|
|
|
|
private global::System.Data.DataColumn columncod_Fb2;
|
|
|
|
private global::System.Data.DataColumn columncod_Tv2;
|
|
|
|
private global::System.Data.DataColumn columncod_As2;
|
|
|
|
private global::System.Data.DataColumn columncod_Ca2;
|
|
|
|
private global::System.Data.DataColumn columncod_Sp2;
|
|
|
|
private global::System.Data.DataColumn columncod_Sn2;
|
|
|
|
private global::System.Data.DataColumn columncod_Mc2;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagCondominiDataTable() {
|
|
this.TableName = "AnagCondomini";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal AnagCondominiDataTable(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", "15.0.0.0")]
|
|
protected AnagCondominiDataTable(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", "15.0.0.0")]
|
|
public global::System.Data.DataColumn idxCondColumn {
|
|
get {
|
|
return this.columnidxCond;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_condColumn {
|
|
get {
|
|
return this.columncod_cond;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn nomeColumn {
|
|
get {
|
|
return this.columnnome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn indirizzoColumn {
|
|
get {
|
|
return this.columnindirizzo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn capColumn {
|
|
get {
|
|
return this.columncap;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cittaColumn {
|
|
get {
|
|
return this.columncitta;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_fiscColumn {
|
|
get {
|
|
return this.columncod_fisc;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn idxAmmColumn {
|
|
get {
|
|
return this.columnidxAmm;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_IdColumn {
|
|
get {
|
|
return this.columncod_Id;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_ElColumn {
|
|
get {
|
|
return this.columncod_El;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_EdColumn {
|
|
get {
|
|
return this.columncod_Ed;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_FbColumn {
|
|
get {
|
|
return this.columncod_Fb;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_TvColumn {
|
|
get {
|
|
return this.columncod_Tv;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_AsColumn {
|
|
get {
|
|
return this.columncod_As;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_CaColumn {
|
|
get {
|
|
return this.columncod_Ca;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_SpColumn {
|
|
get {
|
|
return this.columncod_Sp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_SnColumn {
|
|
get {
|
|
return this.columncod_Sn;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_McColumn {
|
|
get {
|
|
return this.columncod_Mc;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_Id2Column {
|
|
get {
|
|
return this.columncod_Id2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_El2Column {
|
|
get {
|
|
return this.columncod_El2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_Ed2Column {
|
|
get {
|
|
return this.columncod_Ed2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_Fb2Column {
|
|
get {
|
|
return this.columncod_Fb2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_Tv2Column {
|
|
get {
|
|
return this.columncod_Tv2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_As2Column {
|
|
get {
|
|
return this.columncod_As2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_Ca2Column {
|
|
get {
|
|
return this.columncod_Ca2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_Sp2Column {
|
|
get {
|
|
return this.columncod_Sp2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_Sn2Column {
|
|
get {
|
|
return this.columncod_Sn2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn cod_Mc2Column {
|
|
get {
|
|
return this.columncod_Mc2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
|
|
public AnagCondominiRow this[int index] {
|
|
get {
|
|
return ((AnagCondominiRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagCondominiRowChangeEventHandler AnagCondominiRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagCondominiRowChangeEventHandler AnagCondominiRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagCondominiRowChangeEventHandler AnagCondominiRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagCondominiRowChangeEventHandler AnagCondominiRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void AddAnagCondominiRow(AnagCondominiRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagCondominiRow AddAnagCondominiRow(
|
|
string cod_cond,
|
|
string nome,
|
|
string indirizzo,
|
|
string cap,
|
|
string citta,
|
|
string cod_fisc,
|
|
AnagAmministratoriRow parentAnagAmministratoriRowByFK_AnagCondomini_AnagAmministratori,
|
|
int cod_Id,
|
|
int cod_El,
|
|
int cod_Ed,
|
|
int cod_Fb,
|
|
int cod_Tv,
|
|
int cod_As,
|
|
int cod_Ca,
|
|
int cod_Sp,
|
|
int cod_Sn,
|
|
int cod_Mc,
|
|
int cod_Id2,
|
|
int cod_El2,
|
|
int cod_Ed2,
|
|
int cod_Fb2,
|
|
int cod_Tv2,
|
|
int cod_As2,
|
|
int cod_Ca2,
|
|
int cod_Sp2,
|
|
int cod_Sn2,
|
|
int cod_Mc2) {
|
|
AnagCondominiRow rowAnagCondominiRow = ((AnagCondominiRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
cod_cond,
|
|
nome,
|
|
indirizzo,
|
|
cap,
|
|
citta,
|
|
cod_fisc,
|
|
null,
|
|
cod_Id,
|
|
cod_El,
|
|
cod_Ed,
|
|
cod_Fb,
|
|
cod_Tv,
|
|
cod_As,
|
|
cod_Ca,
|
|
cod_Sp,
|
|
cod_Sn,
|
|
cod_Mc,
|
|
cod_Id2,
|
|
cod_El2,
|
|
cod_Ed2,
|
|
cod_Fb2,
|
|
cod_Tv2,
|
|
cod_As2,
|
|
cod_Ca2,
|
|
cod_Sp2,
|
|
cod_Sn2,
|
|
cod_Mc2};
|
|
if ((parentAnagAmministratoriRowByFK_AnagCondomini_AnagAmministratori != null)) {
|
|
columnValuesArray[7] = parentAnagAmministratoriRowByFK_AnagCondomini_AnagAmministratori[0];
|
|
}
|
|
rowAnagCondominiRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAnagCondominiRow);
|
|
return rowAnagCondominiRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagCondominiRow FindByidxCond(int idxCond) {
|
|
return ((AnagCondominiRow)(this.Rows.Find(new object[] {
|
|
idxCond})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AnagCondominiDataTable cln = ((AnagCondominiDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new AnagCondominiDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxCond = base.Columns["idxCond"];
|
|
this.columncod_cond = base.Columns["cod_cond"];
|
|
this.columnnome = base.Columns["nome"];
|
|
this.columnindirizzo = base.Columns["indirizzo"];
|
|
this.columncap = base.Columns["cap"];
|
|
this.columncitta = base.Columns["citta"];
|
|
this.columncod_fisc = base.Columns["cod_fisc"];
|
|
this.columnidxAmm = base.Columns["idxAmm"];
|
|
this.columncod_Id = base.Columns["cod_Id"];
|
|
this.columncod_El = base.Columns["cod_El"];
|
|
this.columncod_Ed = base.Columns["cod_Ed"];
|
|
this.columncod_Fb = base.Columns["cod_Fb"];
|
|
this.columncod_Tv = base.Columns["cod_Tv"];
|
|
this.columncod_As = base.Columns["cod_As"];
|
|
this.columncod_Ca = base.Columns["cod_Ca"];
|
|
this.columncod_Sp = base.Columns["cod_Sp"];
|
|
this.columncod_Sn = base.Columns["cod_Sn"];
|
|
this.columncod_Mc = base.Columns["cod_Mc"];
|
|
this.columncod_Id2 = base.Columns["cod_Id2"];
|
|
this.columncod_El2 = base.Columns["cod_El2"];
|
|
this.columncod_Ed2 = base.Columns["cod_Ed2"];
|
|
this.columncod_Fb2 = base.Columns["cod_Fb2"];
|
|
this.columncod_Tv2 = base.Columns["cod_Tv2"];
|
|
this.columncod_As2 = base.Columns["cod_As2"];
|
|
this.columncod_Ca2 = base.Columns["cod_Ca2"];
|
|
this.columncod_Sp2 = base.Columns["cod_Sp2"];
|
|
this.columncod_Sn2 = base.Columns["cod_Sn2"];
|
|
this.columncod_Mc2 = base.Columns["cod_Mc2"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxCond = new global::System.Data.DataColumn("idxCond", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxCond);
|
|
this.columncod_cond = new global::System.Data.DataColumn("cod_cond", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_cond);
|
|
this.columnnome = new global::System.Data.DataColumn("nome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnnome);
|
|
this.columnindirizzo = new global::System.Data.DataColumn("indirizzo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnindirizzo);
|
|
this.columncap = new global::System.Data.DataColumn("cap", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncap);
|
|
this.columncitta = new global::System.Data.DataColumn("citta", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncitta);
|
|
this.columncod_fisc = new global::System.Data.DataColumn("cod_fisc", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_fisc);
|
|
this.columnidxAmm = new global::System.Data.DataColumn("idxAmm", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxAmm);
|
|
this.columncod_Id = new global::System.Data.DataColumn("cod_Id", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Id);
|
|
this.columncod_El = new global::System.Data.DataColumn("cod_El", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_El);
|
|
this.columncod_Ed = new global::System.Data.DataColumn("cod_Ed", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Ed);
|
|
this.columncod_Fb = new global::System.Data.DataColumn("cod_Fb", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Fb);
|
|
this.columncod_Tv = new global::System.Data.DataColumn("cod_Tv", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Tv);
|
|
this.columncod_As = new global::System.Data.DataColumn("cod_As", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_As);
|
|
this.columncod_Ca = new global::System.Data.DataColumn("cod_Ca", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Ca);
|
|
this.columncod_Sp = new global::System.Data.DataColumn("cod_Sp", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Sp);
|
|
this.columncod_Sn = new global::System.Data.DataColumn("cod_Sn", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Sn);
|
|
this.columncod_Mc = new global::System.Data.DataColumn("cod_Mc", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Mc);
|
|
this.columncod_Id2 = new global::System.Data.DataColumn("cod_Id2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Id2);
|
|
this.columncod_El2 = new global::System.Data.DataColumn("cod_El2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_El2);
|
|
this.columncod_Ed2 = new global::System.Data.DataColumn("cod_Ed2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Ed2);
|
|
this.columncod_Fb2 = new global::System.Data.DataColumn("cod_Fb2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Fb2);
|
|
this.columncod_Tv2 = new global::System.Data.DataColumn("cod_Tv2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Tv2);
|
|
this.columncod_As2 = new global::System.Data.DataColumn("cod_As2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_As2);
|
|
this.columncod_Ca2 = new global::System.Data.DataColumn("cod_Ca2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Ca2);
|
|
this.columncod_Sp2 = new global::System.Data.DataColumn("cod_Sp2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Sp2);
|
|
this.columncod_Sn2 = new global::System.Data.DataColumn("cod_Sn2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Sn2);
|
|
this.columncod_Mc2 = new global::System.Data.DataColumn("cod_Mc2", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncod_Mc2);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxCond}, true));
|
|
this.columnidxCond.AutoIncrement = true;
|
|
this.columnidxCond.AutoIncrementSeed = -1;
|
|
this.columnidxCond.AutoIncrementStep = -1;
|
|
this.columnidxCond.AllowDBNull = false;
|
|
this.columnidxCond.ReadOnly = true;
|
|
this.columnidxCond.Unique = true;
|
|
this.columncod_cond.AllowDBNull = false;
|
|
this.columncod_cond.MaxLength = 5;
|
|
this.columnnome.AllowDBNull = false;
|
|
this.columnnome.MaxLength = 30;
|
|
this.columnindirizzo.AllowDBNull = false;
|
|
this.columnindirizzo.MaxLength = 100;
|
|
this.columncap.AllowDBNull = false;
|
|
this.columncap.MaxLength = 5;
|
|
this.columncitta.AllowDBNull = false;
|
|
this.columncitta.MaxLength = 50;
|
|
this.columncod_fisc.AllowDBNull = false;
|
|
this.columncod_fisc.MaxLength = 15;
|
|
this.columnidxAmm.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagCondominiRow NewAnagCondominiRow() {
|
|
return ((AnagCondominiRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new AnagCondominiRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(AnagCondominiRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.AnagCondominiRowChanged != null)) {
|
|
this.AnagCondominiRowChanged(this, new AnagCondominiRowChangeEvent(((AnagCondominiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.AnagCondominiRowChanging != null)) {
|
|
this.AnagCondominiRowChanging(this, new AnagCondominiRowChangeEvent(((AnagCondominiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.AnagCondominiRowDeleted != null)) {
|
|
this.AnagCondominiRowDeleted(this, new AnagCondominiRowChangeEvent(((AnagCondominiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.AnagCondominiRowDeleting != null)) {
|
|
this.AnagCondominiRowDeleting(this, new AnagCondominiRowChangeEvent(((AnagCondominiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void RemoveAnagCondominiRow(AnagCondominiRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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_app ds = new DS_app();
|
|
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 = "AnagCondominiDataTable";
|
|
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 AnagAreeDataTable : global::System.Data.TypedTableBase<AnagAreeRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxArea;
|
|
|
|
private global::System.Data.DataColumn columnArea;
|
|
|
|
private global::System.Data.DataColumn columnNote;
|
|
|
|
private global::System.Data.DataColumn columnQta;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAreeDataTable() {
|
|
this.TableName = "AnagAree";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal AnagAreeDataTable(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", "15.0.0.0")]
|
|
protected AnagAreeDataTable(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", "15.0.0.0")]
|
|
public global::System.Data.DataColumn idxAreaColumn {
|
|
get {
|
|
return this.columnidxArea;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn AreaColumn {
|
|
get {
|
|
return this.columnArea;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn NoteColumn {
|
|
get {
|
|
return this.columnNote;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataColumn QtaColumn {
|
|
get {
|
|
return this.columnQta;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
|
|
public AnagAreeRow this[int index] {
|
|
get {
|
|
return ((AnagAreeRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagAreeRowChangeEventHandler AnagAreeRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagAreeRowChangeEventHandler AnagAreeRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagAreeRowChangeEventHandler AnagAreeRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public event AnagAreeRowChangeEventHandler AnagAreeRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void AddAnagAreeRow(AnagAreeRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAreeRow AddAnagAreeRow(int idxArea, string Area, string Note, int Qta) {
|
|
AnagAreeRow rowAnagAreeRow = ((AnagAreeRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
idxArea,
|
|
Area,
|
|
Note,
|
|
Qta};
|
|
rowAnagAreeRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAnagAreeRow);
|
|
return rowAnagAreeRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAreeRow FindByidxArea(int idxArea) {
|
|
return ((AnagAreeRow)(this.Rows.Find(new object[] {
|
|
idxArea})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AnagAreeDataTable cln = ((AnagAreeDataTable)(base.Clone()));
|
|
cln.InitVars();
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override global::System.Data.DataTable CreateInstance() {
|
|
return new AnagAreeDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxArea = base.Columns["idxArea"];
|
|
this.columnArea = base.Columns["Area"];
|
|
this.columnNote = base.Columns["Note"];
|
|
this.columnQta = base.Columns["Qta"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxArea = new global::System.Data.DataColumn("idxArea", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxArea);
|
|
this.columnArea = new global::System.Data.DataColumn("Area", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnArea);
|
|
this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNote);
|
|
this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnQta);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnidxArea}, true));
|
|
this.columnidxArea.AllowDBNull = false;
|
|
this.columnidxArea.Unique = true;
|
|
this.columnArea.AllowDBNull = false;
|
|
this.columnArea.MaxLength = 50;
|
|
this.columnNote.AllowDBNull = false;
|
|
this.columnNote.MaxLength = 250;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAreeRow NewAnagAreeRow() {
|
|
return ((AnagAreeRow)(this.NewRow()));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
return new AnagAreeRow(builder);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override global::System.Type GetRowType() {
|
|
return typeof(AnagAreeRow);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanged(e);
|
|
if ((this.AnagAreeRowChanged != null)) {
|
|
this.AnagAreeRowChanged(this, new AnagAreeRowChangeEvent(((AnagAreeRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowChanging(e);
|
|
if ((this.AnagAreeRowChanging != null)) {
|
|
this.AnagAreeRowChanging(this, new AnagAreeRowChangeEvent(((AnagAreeRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleted(e);
|
|
if ((this.AnagAreeRowDeleted != null)) {
|
|
this.AnagAreeRowDeleted(this, new AnagAreeRowChangeEvent(((AnagAreeRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
base.OnRowDeleting(e);
|
|
if ((this.AnagAreeRowDeleting != null)) {
|
|
this.AnagAreeRowDeleting(this, new AnagAreeRowChangeEvent(((AnagAreeRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void RemoveAnagAreeRow(AnagAreeRow row) {
|
|
this.Rows.Remove(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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_app ds = new DS_app();
|
|
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 = "AnagAreeDataTable";
|
|
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 AnagAmministratoriRow : global::System.Data.DataRow {
|
|
|
|
private AnagAmministratoriDataTable tableAnagAmministratori;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal AnagAmministratoriRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAnagAmministratori = ((AnagAmministratoriDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int idxAmm {
|
|
get {
|
|
return ((int)(this[this.tableAnagAmministratori.idxAmmColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagAmministratori.idxAmmColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string RagSociale {
|
|
get {
|
|
return ((string)(this[this.tableAnagAmministratori.RagSocialeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagAmministratori.RagSocialeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string email {
|
|
get {
|
|
return ((string)(this[this.tableAnagAmministratori.emailColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagAmministratori.emailColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagCondominiRow[] GetAnagCondominiRows() {
|
|
if ((this.Table.ChildRelations["FK_AnagCondomini_AnagAmministratori"] == null)) {
|
|
return new AnagCondominiRow[0];
|
|
}
|
|
else {
|
|
return ((AnagCondominiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagCondomini_AnagAmministratori"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class AnagCondominiRow : global::System.Data.DataRow {
|
|
|
|
private AnagCondominiDataTable tableAnagCondomini;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal AnagCondominiRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAnagCondomini = ((AnagCondominiDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int idxCond {
|
|
get {
|
|
return ((int)(this[this.tableAnagCondomini.idxCondColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.idxCondColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string cod_cond {
|
|
get {
|
|
return ((string)(this[this.tableAnagCondomini.cod_condColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_condColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string nome {
|
|
get {
|
|
return ((string)(this[this.tableAnagCondomini.nomeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.nomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string indirizzo {
|
|
get {
|
|
return ((string)(this[this.tableAnagCondomini.indirizzoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.indirizzoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string cap {
|
|
get {
|
|
return ((string)(this[this.tableAnagCondomini.capColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.capColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string citta {
|
|
get {
|
|
return ((string)(this[this.tableAnagCondomini.cittaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cittaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string cod_fisc {
|
|
get {
|
|
return ((string)(this[this.tableAnagCondomini.cod_fiscColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_fiscColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int idxAmm {
|
|
get {
|
|
return ((int)(this[this.tableAnagCondomini.idxAmmColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.idxAmmColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Id {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_IdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Id\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_IdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_El {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_ElColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_El\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_ElColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Ed {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_EdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Ed\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_EdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Fb {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_FbColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Fb\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_FbColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Tv {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_TvColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Tv\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_TvColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_As {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_AsColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_As\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_AsColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Ca {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_CaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Ca\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_CaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Sp {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_SpColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Sp\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_SpColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Sn {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_SnColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Sn\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_SnColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Mc {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_McColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Mc\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_McColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Id2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_Id2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Id2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_Id2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_El2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_El2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_El2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_El2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Ed2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_Ed2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Ed2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_Ed2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Fb2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_Fb2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Fb2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_Fb2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Tv2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_Tv2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Tv2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_Tv2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_As2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_As2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_As2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_As2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Ca2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_Ca2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Ca2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_Ca2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Sp2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_Sp2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Sp2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_Sp2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Sn2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_Sn2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Sn2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_Sn2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int cod_Mc2 {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagCondomini.cod_Mc2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'cod_Mc2\' nella tabella \'AnagCondomini\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagCondomini.cod_Mc2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAmministratoriRow AnagAmministratoriRow {
|
|
get {
|
|
return ((AnagAmministratoriRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagCondomini_AnagAmministratori"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_AnagCondomini_AnagAmministratori"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_IdNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_IdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_IdNull() {
|
|
this[this.tableAnagCondomini.cod_IdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_ElNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_ElColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_ElNull() {
|
|
this[this.tableAnagCondomini.cod_ElColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_EdNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_EdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_EdNull() {
|
|
this[this.tableAnagCondomini.cod_EdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_FbNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_FbColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_FbNull() {
|
|
this[this.tableAnagCondomini.cod_FbColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_TvNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_TvColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_TvNull() {
|
|
this[this.tableAnagCondomini.cod_TvColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_AsNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_AsColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_AsNull() {
|
|
this[this.tableAnagCondomini.cod_AsColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_CaNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_CaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_CaNull() {
|
|
this[this.tableAnagCondomini.cod_CaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_SpNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_SpColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_SpNull() {
|
|
this[this.tableAnagCondomini.cod_SpColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_SnNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_SnColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_SnNull() {
|
|
this[this.tableAnagCondomini.cod_SnColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_McNull() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_McColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_McNull() {
|
|
this[this.tableAnagCondomini.cod_McColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_Id2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_Id2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_Id2Null() {
|
|
this[this.tableAnagCondomini.cod_Id2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_El2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_El2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_El2Null() {
|
|
this[this.tableAnagCondomini.cod_El2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_Ed2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_Ed2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_Ed2Null() {
|
|
this[this.tableAnagCondomini.cod_Ed2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_Fb2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_Fb2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_Fb2Null() {
|
|
this[this.tableAnagCondomini.cod_Fb2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_Tv2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_Tv2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_Tv2Null() {
|
|
this[this.tableAnagCondomini.cod_Tv2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_As2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_As2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_As2Null() {
|
|
this[this.tableAnagCondomini.cod_As2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_Ca2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_Ca2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_Ca2Null() {
|
|
this[this.tableAnagCondomini.cod_Ca2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_Sp2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_Sp2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_Sp2Null() {
|
|
this[this.tableAnagCondomini.cod_Sp2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_Sn2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_Sn2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_Sn2Null() {
|
|
this[this.tableAnagCondomini.cod_Sn2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool Iscod_Mc2Null() {
|
|
return this.IsNull(this.tableAnagCondomini.cod_Mc2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void Setcod_Mc2Null() {
|
|
this[this.tableAnagCondomini.cod_Mc2Column] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class AnagAreeRow : global::System.Data.DataRow {
|
|
|
|
private AnagAreeDataTable tableAnagAree;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal AnagAreeRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAnagAree = ((AnagAreeDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int idxArea {
|
|
get {
|
|
return ((int)(this[this.tableAnagAree.idxAreaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagAree.idxAreaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string Area {
|
|
get {
|
|
return ((string)(this[this.tableAnagAree.AreaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagAree.AreaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public string Note {
|
|
get {
|
|
return ((string)(this[this.tableAnagAree.NoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAnagAree.NoteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int Qta {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableAnagAree.QtaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Qta\' nella tabella \'AnagAree\' è DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagAree.QtaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool IsQtaNull() {
|
|
return this.IsNull(this.tableAnagAree.QtaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public void SetQtaNull() {
|
|
this[this.tableAnagAree.QtaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public class AnagAmministratoriRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AnagAmministratoriRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAmministratoriRowChangeEvent(AnagAmministratoriRow 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", "15.0.0.0")]
|
|
public AnagAmministratoriRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
|
|
public class AnagCondominiRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AnagCondominiRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagCondominiRowChangeEvent(AnagCondominiRow 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", "15.0.0.0")]
|
|
public AnagCondominiRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
|
|
public class AnagAreeRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AnagAreeRow eventRow;
|
|
|
|
private global::System.Data.DataRowAction eventAction;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAreeRowChangeEvent(AnagAreeRow 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", "15.0.0.0")]
|
|
public AnagAreeRow Row {
|
|
get {
|
|
return this.eventRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public global::System.Data.DataRowAction Action {
|
|
get {
|
|
return this.eventAction;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
namespace Data.DS_appTableAdapters {
|
|
|
|
|
|
/// <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 AnagAmministratoriTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAmministratoriTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.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", "15.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 = "AnagAmministratori";
|
|
tableMapping.ColumnMappings.Add("idxAmm", "idxAmm");
|
|
tableMapping.ColumnMappings.Add("RagSociale", "RagSociale");
|
|
tableMapping.ColumnMappings.Add("email", "email");
|
|
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].[AnagAmministratori] WHERE (([idxAmm] = @Original_idxAmm) AND (" +
|
|
"[RagSociale] = @Original_RagSociale) AND ([email] = @Original_email))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxAmm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagAmministratori] ([RagSociale], [email]) VALUES (@RagSocial" +
|
|
"e, @email);\r\nSELECT idxAmm, RagSociale, email FROM AnagAmministratori WHERE (idx" +
|
|
"Amm = SCOPE_IDENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagAmministratori] SET [RagSociale] = @RagSociale, [email] = @email WHERE (([idxAmm] = @Original_idxAmm) AND ([RagSociale] = @Original_RagSociale) AND ([email] = @Original_email));
|
|
SELECT idxAmm, RagSociale, email FROM AnagAmministratori WHERE (idxAmm = @idxAmm)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxAmm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxAmm", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::Data.Properties.Settings.Default.B2BCondConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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 idxAmm, RagSociale, email FROM dbo.AnagAmministratori";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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_app.AnagAmministratoriDataTable 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", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_app.AnagAmministratoriDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_app.AnagAmministratoriDataTable dataTable = new DS_app.AnagAmministratoriDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_app.AnagAmministratoriDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_app dataSet) {
|
|
return this.Adapter.Update(dataSet, "AnagAmministratori");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.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", "15.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_idxAmm, string Original_RagSociale, string Original_email) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxAmm));
|
|
if ((Original_RagSociale == null)) {
|
|
throw new global::System.ArgumentNullException("Original_RagSociale");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_RagSociale));
|
|
}
|
|
if ((Original_email == null)) {
|
|
throw new global::System.ArgumentNullException("Original_email");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_email));
|
|
}
|
|
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", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(string RagSociale, string email) {
|
|
if ((RagSociale == null)) {
|
|
throw new global::System.ArgumentNullException("RagSociale");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(RagSociale));
|
|
}
|
|
if ((email == null)) {
|
|
throw new global::System.ArgumentNullException("email");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(email));
|
|
}
|
|
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", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(string RagSociale, string email, int Original_idxAmm, string Original_RagSociale, string Original_email, int idxAmm) {
|
|
if ((RagSociale == null)) {
|
|
throw new global::System.ArgumentNullException("RagSociale");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(RagSociale));
|
|
}
|
|
if ((email == null)) {
|
|
throw new global::System.ArgumentNullException("email");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(email));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_idxAmm));
|
|
if ((Original_RagSociale == null)) {
|
|
throw new global::System.ArgumentNullException("Original_RagSociale");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_RagSociale));
|
|
}
|
|
if ((Original_email == null)) {
|
|
throw new global::System.ArgumentNullException("Original_email");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_email));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(idxAmm));
|
|
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", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
|
public virtual int Update(string RagSociale, string email, int Original_idxAmm, string Original_RagSociale, string Original_email) {
|
|
return this.Update(RagSociale, email, Original_idxAmm, Original_RagSociale, Original_email, Original_idxAmm);
|
|
}
|
|
}
|
|
|
|
/// <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 AnagCondominiTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagCondominiTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.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", "15.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 = "AnagCondomini";
|
|
tableMapping.ColumnMappings.Add("idxCond", "idxCond");
|
|
tableMapping.ColumnMappings.Add("cod_cond", "cod_cond");
|
|
tableMapping.ColumnMappings.Add("nome", "nome");
|
|
tableMapping.ColumnMappings.Add("indirizzo", "indirizzo");
|
|
tableMapping.ColumnMappings.Add("cap", "cap");
|
|
tableMapping.ColumnMappings.Add("citta", "citta");
|
|
tableMapping.ColumnMappings.Add("cod_fisc", "cod_fisc");
|
|
tableMapping.ColumnMappings.Add("idxAmm", "idxAmm");
|
|
tableMapping.ColumnMappings.Add("cod_Id", "cod_Id");
|
|
tableMapping.ColumnMappings.Add("cod_El", "cod_El");
|
|
tableMapping.ColumnMappings.Add("cod_Ed", "cod_Ed");
|
|
tableMapping.ColumnMappings.Add("cod_Fb", "cod_Fb");
|
|
tableMapping.ColumnMappings.Add("cod_Tv", "cod_Tv");
|
|
tableMapping.ColumnMappings.Add("cod_As", "cod_As");
|
|
tableMapping.ColumnMappings.Add("cod_Ca", "cod_Ca");
|
|
tableMapping.ColumnMappings.Add("cod_Sp", "cod_Sp");
|
|
tableMapping.ColumnMappings.Add("cod_Sn", "cod_Sn");
|
|
tableMapping.ColumnMappings.Add("cod_Mc", "cod_Mc");
|
|
tableMapping.ColumnMappings.Add("cod_Id2", "cod_Id2");
|
|
tableMapping.ColumnMappings.Add("cod_El2", "cod_El2");
|
|
tableMapping.ColumnMappings.Add("cod_Ed2", "cod_Ed2");
|
|
tableMapping.ColumnMappings.Add("cod_Fb2", "cod_Fb2");
|
|
tableMapping.ColumnMappings.Add("cod_Tv2", "cod_Tv2");
|
|
tableMapping.ColumnMappings.Add("cod_As2", "cod_As2");
|
|
tableMapping.ColumnMappings.Add("cod_Ca2", "cod_Ca2");
|
|
tableMapping.ColumnMappings.Add("cod_Sp2", "cod_Sp2");
|
|
tableMapping.ColumnMappings.Add("cod_Sn2", "cod_Sn2");
|
|
tableMapping.ColumnMappings.Add("cod_Mc2", "cod_Mc2");
|
|
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].[AnagCondomini] WHERE (([idxCond] = @Original_idxCond) AND ([co" +
|
|
"d_cond] = @Original_cod_cond) AND ([nome] = @Original_nome) AND ([indirizzo] = @" +
|
|
"Original_indirizzo) AND ([cap] = @Original_cap) AND ([citta] = @Original_citta) " +
|
|
"AND ([cod_fisc] = @Original_cod_fisc) AND ([idxAmm] = @Original_idxAmm) AND ((@I" +
|
|
"sNull_cod_Id = 1 AND [cod_Id] IS NULL) OR ([cod_Id] = @Original_cod_Id)) AND ((@" +
|
|
"IsNull_cod_El = 1 AND [cod_El] IS NULL) OR ([cod_El] = @Original_cod_El)) AND ((" +
|
|
"@IsNull_cod_Ed = 1 AND [cod_Ed] IS NULL) OR ([cod_Ed] = @Original_cod_Ed)) AND (" +
|
|
"(@IsNull_cod_Fb = 1 AND [cod_Fb] IS NULL) OR ([cod_Fb] = @Original_cod_Fb)) AND " +
|
|
"((@IsNull_cod_Tv = 1 AND [cod_Tv] IS NULL) OR ([cod_Tv] = @Original_cod_Tv)) AND" +
|
|
" ((@IsNull_cod_As = 1 AND [cod_As] IS NULL) OR ([cod_As] = @Original_cod_As)) AN" +
|
|
"D ((@IsNull_cod_Ca = 1 AND [cod_Ca] IS NULL) OR ([cod_Ca] = @Original_cod_Ca)) A" +
|
|
"ND ((@IsNull_cod_Sp = 1 AND [cod_Sp] IS NULL) OR ([cod_Sp] = @Original_cod_Sp)) " +
|
|
"AND ((@IsNull_cod_Sn = 1 AND [cod_Sn] IS NULL) OR ([cod_Sn] = @Original_cod_Sn))" +
|
|
" AND ((@IsNull_cod_Mc = 1 AND [cod_Mc] IS NULL) OR ([cod_Mc] = @Original_cod_Mc)" +
|
|
") AND ((@IsNull_cod_Id2 = 1 AND [cod_Id2] IS NULL) OR ([cod_Id2] = @Original_cod" +
|
|
"_Id2)) AND ((@IsNull_cod_El2 = 1 AND [cod_El2] IS NULL) OR ([cod_El2] = @Origina" +
|
|
"l_cod_El2)) AND ((@IsNull_cod_Ed2 = 1 AND [cod_Ed2] IS NULL) OR ([cod_Ed2] = @Or" +
|
|
"iginal_cod_Ed2)) AND ((@IsNull_cod_Fb2 = 1 AND [cod_Fb2] IS NULL) OR ([cod_Fb2] " +
|
|
"= @Original_cod_Fb2)) AND ((@IsNull_cod_Tv2 = 1 AND [cod_Tv2] IS NULL) OR ([cod_" +
|
|
"Tv2] = @Original_cod_Tv2)) AND ((@IsNull_cod_As2 = 1 AND [cod_As2] IS NULL) OR (" +
|
|
"[cod_As2] = @Original_cod_As2)) AND ((@IsNull_cod_Ca2 = 1 AND [cod_Ca2] IS NULL)" +
|
|
" OR ([cod_Ca2] = @Original_cod_Ca2)) AND ((@IsNull_cod_Sp2 = 1 AND [cod_Sp2] IS " +
|
|
"NULL) OR ([cod_Sp2] = @Original_cod_Sp2)) AND ((@IsNull_cod_Sn2 = 1 AND [cod_Sn2" +
|
|
"] IS NULL) OR ([cod_Sn2] = @Original_cod_Sn2)) AND ((@IsNull_cod_Mc2 = 1 AND [co" +
|
|
"d_Mc2] IS NULL) OR ([cod_Mc2] = @Original_cod_Mc2)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxCond", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxCond", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_cond", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_cond", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_citta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_fisc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_fisc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxAmm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Id", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Id", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_El", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_El", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Ed", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Ed", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Fb", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Fb", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Tv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Tv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_As", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_As", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Ca", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Ca", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Sp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Sp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Sn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Sn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Mc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Mc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Id2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Id2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_El2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_El2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Ed2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Ed2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Fb2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Fb2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Tv2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Tv2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_As2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_As2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Ca2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Ca2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Sp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Sp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Sn2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Sn2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Mc2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Mc2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc2", 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].[AnagCondomini] ([cod_cond], [nome], [indirizzo], [cap], [citta], [cod_fisc], [idxAmm], [cod_Id], [cod_El], [cod_Ed], [cod_Fb], [cod_Tv], [cod_As], [cod_Ca], [cod_Sp], [cod_Sn], [cod_Mc], [cod_Id2], [cod_El2], [cod_Ed2], [cod_Fb2], [cod_Tv2], [cod_As2], [cod_Ca2], [cod_Sp2], [cod_Sn2], [cod_Mc2]) VALUES (@cod_cond, @nome, @indirizzo, @cap, @citta, @cod_fisc, @idxAmm, @cod_Id, @cod_El, @cod_Ed, @cod_Fb, @cod_Tv, @cod_As, @cod_Ca, @cod_Sp, @cod_Sn, @cod_Mc, @cod_Id2, @cod_El2, @cod_Ed2, @cod_Fb2, @cod_Tv2, @cod_As2, @cod_Ca2, @cod_Sp2, @cod_Sn2, @cod_Mc2);
|
|
SELECT idxCond, cod_cond, nome, indirizzo, cap, citta, cod_fisc, idxAmm, cod_Id, cod_El, cod_Ed, cod_Fb, cod_Tv, cod_As, cod_Ca, cod_Sp, cod_Sn, cod_Mc, cod_Id2, cod_El2, cod_Ed2, cod_Fb2, cod_Tv2, cod_As2, cod_Ca2, cod_Sp2, cod_Sn2, cod_Mc2 FROM AnagCondomini WHERE (idxCond = SCOPE_IDENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_cond", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_cond", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@citta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_fisc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_fisc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxAmm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Id", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_El", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Ed", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Fb", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Tv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_As", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Ca", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Sp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Sn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Mc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Id2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_El2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Ed2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Fb2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Tv2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_As2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Ca2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Sp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Sn2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Mc2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc2", 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].[AnagCondomini] SET [cod_cond] = @cod_cond, [nome] = @nome, [indiriz" +
|
|
"zo] = @indirizzo, [cap] = @cap, [citta] = @citta, [cod_fisc] = @cod_fisc, [idxAm" +
|
|
"m] = @idxAmm, [cod_Id] = @cod_Id, [cod_El] = @cod_El, [cod_Ed] = @cod_Ed, [cod_F" +
|
|
"b] = @cod_Fb, [cod_Tv] = @cod_Tv, [cod_As] = @cod_As, [cod_Ca] = @cod_Ca, [cod_S" +
|
|
"p] = @cod_Sp, [cod_Sn] = @cod_Sn, [cod_Mc] = @cod_Mc, [cod_Id2] = @cod_Id2, [cod" +
|
|
"_El2] = @cod_El2, [cod_Ed2] = @cod_Ed2, [cod_Fb2] = @cod_Fb2, [cod_Tv2] = @cod_T" +
|
|
"v2, [cod_As2] = @cod_As2, [cod_Ca2] = @cod_Ca2, [cod_Sp2] = @cod_Sp2, [cod_Sn2] " +
|
|
"= @cod_Sn2, [cod_Mc2] = @cod_Mc2 WHERE (([idxCond] = @Original_idxCond) AND ([co" +
|
|
"d_cond] = @Original_cod_cond) AND ([nome] = @Original_nome) AND ([indirizzo] = @" +
|
|
"Original_indirizzo) AND ([cap] = @Original_cap) AND ([citta] = @Original_citta) " +
|
|
"AND ([cod_fisc] = @Original_cod_fisc) AND ([idxAmm] = @Original_idxAmm) AND ((@I" +
|
|
"sNull_cod_Id = 1 AND [cod_Id] IS NULL) OR ([cod_Id] = @Original_cod_Id)) AND ((@" +
|
|
"IsNull_cod_El = 1 AND [cod_El] IS NULL) OR ([cod_El] = @Original_cod_El)) AND ((" +
|
|
"@IsNull_cod_Ed = 1 AND [cod_Ed] IS NULL) OR ([cod_Ed] = @Original_cod_Ed)) AND (" +
|
|
"(@IsNull_cod_Fb = 1 AND [cod_Fb] IS NULL) OR ([cod_Fb] = @Original_cod_Fb)) AND " +
|
|
"((@IsNull_cod_Tv = 1 AND [cod_Tv] IS NULL) OR ([cod_Tv] = @Original_cod_Tv)) AND" +
|
|
" ((@IsNull_cod_As = 1 AND [cod_As] IS NULL) OR ([cod_As] = @Original_cod_As)) AN" +
|
|
"D ((@IsNull_cod_Ca = 1 AND [cod_Ca] IS NULL) OR ([cod_Ca] = @Original_cod_Ca)) A" +
|
|
"ND ((@IsNull_cod_Sp = 1 AND [cod_Sp] IS NULL) OR ([cod_Sp] = @Original_cod_Sp)) " +
|
|
"AND ((@IsNull_cod_Sn = 1 AND [cod_Sn] IS NULL) OR ([cod_Sn] = @Original_cod_Sn))" +
|
|
" AND ((@IsNull_cod_Mc = 1 AND [cod_Mc] IS NULL) OR ([cod_Mc] = @Original_cod_Mc)" +
|
|
") AND ((@IsNull_cod_Id2 = 1 AND [cod_Id2] IS NULL) OR ([cod_Id2] = @Original_cod" +
|
|
"_Id2)) AND ((@IsNull_cod_El2 = 1 AND [cod_El2] IS NULL) OR ([cod_El2] = @Origina" +
|
|
"l_cod_El2)) AND ((@IsNull_cod_Ed2 = 1 AND [cod_Ed2] IS NULL) OR ([cod_Ed2] = @Or" +
|
|
"iginal_cod_Ed2)) AND ((@IsNull_cod_Fb2 = 1 AND [cod_Fb2] IS NULL) OR ([cod_Fb2] " +
|
|
"= @Original_cod_Fb2)) AND ((@IsNull_cod_Tv2 = 1 AND [cod_Tv2] IS NULL) OR ([cod_" +
|
|
"Tv2] = @Original_cod_Tv2)) AND ((@IsNull_cod_As2 = 1 AND [cod_As2] IS NULL) OR (" +
|
|
"[cod_As2] = @Original_cod_As2)) AND ((@IsNull_cod_Ca2 = 1 AND [cod_Ca2] IS NULL)" +
|
|
" OR ([cod_Ca2] = @Original_cod_Ca2)) AND ((@IsNull_cod_Sp2 = 1 AND [cod_Sp2] IS " +
|
|
"NULL) OR ([cod_Sp2] = @Original_cod_Sp2)) AND ((@IsNull_cod_Sn2 = 1 AND [cod_Sn2" +
|
|
"] IS NULL) OR ([cod_Sn2] = @Original_cod_Sn2)) AND ((@IsNull_cod_Mc2 = 1 AND [co" +
|
|
"d_Mc2] IS NULL) OR ([cod_Mc2] = @Original_cod_Mc2)));\r\nSELECT idxCond, cod_cond," +
|
|
" nome, indirizzo, cap, citta, cod_fisc, idxAmm, cod_Id, cod_El, cod_Ed, cod_Fb, " +
|
|
"cod_Tv, cod_As, cod_Ca, cod_Sp, cod_Sn, cod_Mc, cod_Id2, cod_El2, cod_Ed2, cod_F" +
|
|
"b2, cod_Tv2, cod_As2, cod_Ca2, cod_Sp2, cod_Sn2, cod_Mc2 FROM AnagCondomini WHER" +
|
|
"E (idxCond = @idxCond)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_cond", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_cond", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@citta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_fisc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_fisc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxAmm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Id", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_El", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Ed", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Fb", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Tv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_As", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Ca", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Sp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Sn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Mc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Id2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_El2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Ed2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Fb2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Tv2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_As2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Ca2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Sp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Sn2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cod_Mc2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxCond", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxCond", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_cond", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_cond", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cap", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_citta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "citta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_fisc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_fisc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxAmm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxAmm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Id", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Id", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_El", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_El", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Ed", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Ed", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Fb", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Fb", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Tv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Tv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_As", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_As", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Ca", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Ca", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Sp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Sp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Sn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Sn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Mc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Mc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Id2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Id2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Id2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_El2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_El2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_El2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Ed2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Ed2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ed2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Fb2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Fb2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Fb2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Tv2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Tv2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Tv2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_As2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_As2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_As2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Ca2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Ca2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Ca2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Sp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Sp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Sn2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Sn2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Sn2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cod_Mc2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cod_Mc2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cod_Mc2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCond", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxCond", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::Data.Properties.Settings.Default.B2BCondConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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 idxCond, cod_cond, nome, indirizzo, cap, citta, cod_fisc, idxAmm, cod_Id, cod_El, cod_Ed, cod_Fb, cod_Tv, cod_As, cod_Ca, cod_Sp, cod_Sn, cod_Mc, cod_Id2, cod_El2, cod_Ed2, cod_Fb2, cod_Tv2, cod_As2, cod_Ca2, cod_Sp2, cod_Sn2, cod_Mc2 FROM dbo.AnagCondomini";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_AC_getByAmmm";
|
|
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("@idxAmm", 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", "15.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_app.AnagCondominiDataTable 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", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_app.AnagCondominiDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_app.AnagCondominiDataTable dataTable = new DS_app.AnagCondominiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_app.AnagCondominiDataTable getByAmm(global::System.Nullable<int> idxAmm) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((idxAmm.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxAmm.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_app.AnagCondominiDataTable dataTable = new DS_app.AnagCondominiDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_app.AnagCondominiDataTable dataTable) {
|
|
return this.Adapter.Update(dataTable);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(DS_app dataSet) {
|
|
return this.Adapter.Update(dataSet, "AnagCondomini");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.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", "15.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_idxCond,
|
|
string Original_cod_cond,
|
|
string Original_nome,
|
|
string Original_indirizzo,
|
|
string Original_cap,
|
|
string Original_citta,
|
|
string Original_cod_fisc,
|
|
int Original_idxAmm,
|
|
global::System.Nullable<int> Original_cod_Id,
|
|
global::System.Nullable<int> Original_cod_El,
|
|
global::System.Nullable<int> Original_cod_Ed,
|
|
global::System.Nullable<int> Original_cod_Fb,
|
|
global::System.Nullable<int> Original_cod_Tv,
|
|
global::System.Nullable<int> Original_cod_As,
|
|
global::System.Nullable<int> Original_cod_Ca,
|
|
global::System.Nullable<int> Original_cod_Sp,
|
|
global::System.Nullable<int> Original_cod_Sn,
|
|
global::System.Nullable<int> Original_cod_Mc,
|
|
global::System.Nullable<int> Original_cod_Id2,
|
|
global::System.Nullable<int> Original_cod_El2,
|
|
global::System.Nullable<int> Original_cod_Ed2,
|
|
global::System.Nullable<int> Original_cod_Fb2,
|
|
global::System.Nullable<int> Original_cod_Tv2,
|
|
global::System.Nullable<int> Original_cod_As2,
|
|
global::System.Nullable<int> Original_cod_Ca2,
|
|
global::System.Nullable<int> Original_cod_Sp2,
|
|
global::System.Nullable<int> Original_cod_Sn2,
|
|
global::System.Nullable<int> Original_cod_Mc2) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxCond));
|
|
if ((Original_cod_cond == null)) {
|
|
throw new global::System.ArgumentNullException("Original_cod_cond");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_cod_cond));
|
|
}
|
|
if ((Original_nome == null)) {
|
|
throw new global::System.ArgumentNullException("Original_nome");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_nome));
|
|
}
|
|
if ((Original_indirizzo == null)) {
|
|
throw new global::System.ArgumentNullException("Original_indirizzo");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_indirizzo));
|
|
}
|
|
if ((Original_cap == null)) {
|
|
throw new global::System.ArgumentNullException("Original_cap");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_cap));
|
|
}
|
|
if ((Original_citta == null)) {
|
|
throw new global::System.ArgumentNullException("Original_citta");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_citta));
|
|
}
|
|
if ((Original_cod_fisc == null)) {
|
|
throw new global::System.ArgumentNullException("Original_cod_fisc");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_cod_fisc));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((int)(Original_idxAmm));
|
|
if ((Original_cod_Id.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((int)(Original_cod_Id.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_El.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((int)(Original_cod_El.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Ed.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((int)(Original_cod_Ed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Fb.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((int)(Original_cod_Fb.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Tv.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((int)(Original_cod_Tv.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_As.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((int)(Original_cod_As.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Ca.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((int)(Original_cod_Ca.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Sp.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((int)(Original_cod_Sp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Sn.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((int)(Original_cod_Sn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Mc.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((int)(Original_cod_Mc.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Id2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((int)(Original_cod_Id2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_El2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((int)(Original_cod_El2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Ed2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((int)(Original_cod_Ed2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Fb2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = ((int)(Original_cod_Fb2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Tv2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = ((int)(Original_cod_Tv2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_As2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[39].Value = ((int)(Original_cod_As2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[39].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Ca2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[41].Value = ((int)(Original_cod_Ca2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[41].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Sp2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[43].Value = ((int)(Original_cod_Sp2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[43].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Sn2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[45].Value = ((int)(Original_cod_Sn2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[45].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Mc2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[47].Value = ((int)(Original_cod_Mc2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[47].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", "15.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 cod_cond,
|
|
string nome,
|
|
string indirizzo,
|
|
string cap,
|
|
string citta,
|
|
string cod_fisc,
|
|
int idxAmm,
|
|
global::System.Nullable<int> cod_Id,
|
|
global::System.Nullable<int> cod_El,
|
|
global::System.Nullable<int> cod_Ed,
|
|
global::System.Nullable<int> cod_Fb,
|
|
global::System.Nullable<int> cod_Tv,
|
|
global::System.Nullable<int> cod_As,
|
|
global::System.Nullable<int> cod_Ca,
|
|
global::System.Nullable<int> cod_Sp,
|
|
global::System.Nullable<int> cod_Sn,
|
|
global::System.Nullable<int> cod_Mc,
|
|
global::System.Nullable<int> cod_Id2,
|
|
global::System.Nullable<int> cod_El2,
|
|
global::System.Nullable<int> cod_Ed2,
|
|
global::System.Nullable<int> cod_Fb2,
|
|
global::System.Nullable<int> cod_Tv2,
|
|
global::System.Nullable<int> cod_As2,
|
|
global::System.Nullable<int> cod_Ca2,
|
|
global::System.Nullable<int> cod_Sp2,
|
|
global::System.Nullable<int> cod_Sn2,
|
|
global::System.Nullable<int> cod_Mc2) {
|
|
if ((cod_cond == null)) {
|
|
throw new global::System.ArgumentNullException("cod_cond");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(cod_cond));
|
|
}
|
|
if ((nome == null)) {
|
|
throw new global::System.ArgumentNullException("nome");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(nome));
|
|
}
|
|
if ((indirizzo == null)) {
|
|
throw new global::System.ArgumentNullException("indirizzo");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(indirizzo));
|
|
}
|
|
if ((cap == null)) {
|
|
throw new global::System.ArgumentNullException("cap");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(cap));
|
|
}
|
|
if ((citta == null)) {
|
|
throw new global::System.ArgumentNullException("citta");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(citta));
|
|
}
|
|
if ((cod_fisc == null)) {
|
|
throw new global::System.ArgumentNullException("cod_fisc");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(cod_fisc));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((int)(idxAmm));
|
|
if ((cod_Id.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((int)(cod_Id.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_El.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((int)(cod_El.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Ed.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((int)(cod_Ed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Fb.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((int)(cod_Fb.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Tv.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((int)(cod_Tv.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_As.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((int)(cod_As.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Ca.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((int)(cod_Ca.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Sp.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((int)(cod_Sp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Sn.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = ((int)(cod_Sn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Mc.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = ((int)(cod_Mc.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Id2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = ((int)(cod_Id2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_El2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = ((int)(cod_El2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Ed2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[19].Value = ((int)(cod_Ed2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Fb2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[20].Value = ((int)(cod_Fb2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Tv2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[21].Value = ((int)(cod_Tv2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_As2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[22].Value = ((int)(cod_As2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Ca2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[23].Value = ((int)(cod_Ca2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Sp2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[24].Value = ((int)(cod_Sp2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Sn2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[25].Value = ((int)(cod_Sn2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Mc2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[26].Value = ((int)(cod_Mc2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[26].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", "15.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 cod_cond,
|
|
string nome,
|
|
string indirizzo,
|
|
string cap,
|
|
string citta,
|
|
string cod_fisc,
|
|
int idxAmm,
|
|
global::System.Nullable<int> cod_Id,
|
|
global::System.Nullable<int> cod_El,
|
|
global::System.Nullable<int> cod_Ed,
|
|
global::System.Nullable<int> cod_Fb,
|
|
global::System.Nullable<int> cod_Tv,
|
|
global::System.Nullable<int> cod_As,
|
|
global::System.Nullable<int> cod_Ca,
|
|
global::System.Nullable<int> cod_Sp,
|
|
global::System.Nullable<int> cod_Sn,
|
|
global::System.Nullable<int> cod_Mc,
|
|
global::System.Nullable<int> cod_Id2,
|
|
global::System.Nullable<int> cod_El2,
|
|
global::System.Nullable<int> cod_Ed2,
|
|
global::System.Nullable<int> cod_Fb2,
|
|
global::System.Nullable<int> cod_Tv2,
|
|
global::System.Nullable<int> cod_As2,
|
|
global::System.Nullable<int> cod_Ca2,
|
|
global::System.Nullable<int> cod_Sp2,
|
|
global::System.Nullable<int> cod_Sn2,
|
|
global::System.Nullable<int> cod_Mc2,
|
|
int Original_idxCond,
|
|
string Original_cod_cond,
|
|
string Original_nome,
|
|
string Original_indirizzo,
|
|
string Original_cap,
|
|
string Original_citta,
|
|
string Original_cod_fisc,
|
|
int Original_idxAmm,
|
|
global::System.Nullable<int> Original_cod_Id,
|
|
global::System.Nullable<int> Original_cod_El,
|
|
global::System.Nullable<int> Original_cod_Ed,
|
|
global::System.Nullable<int> Original_cod_Fb,
|
|
global::System.Nullable<int> Original_cod_Tv,
|
|
global::System.Nullable<int> Original_cod_As,
|
|
global::System.Nullable<int> Original_cod_Ca,
|
|
global::System.Nullable<int> Original_cod_Sp,
|
|
global::System.Nullable<int> Original_cod_Sn,
|
|
global::System.Nullable<int> Original_cod_Mc,
|
|
global::System.Nullable<int> Original_cod_Id2,
|
|
global::System.Nullable<int> Original_cod_El2,
|
|
global::System.Nullable<int> Original_cod_Ed2,
|
|
global::System.Nullable<int> Original_cod_Fb2,
|
|
global::System.Nullable<int> Original_cod_Tv2,
|
|
global::System.Nullable<int> Original_cod_As2,
|
|
global::System.Nullable<int> Original_cod_Ca2,
|
|
global::System.Nullable<int> Original_cod_Sp2,
|
|
global::System.Nullable<int> Original_cod_Sn2,
|
|
global::System.Nullable<int> Original_cod_Mc2,
|
|
int idxCond) {
|
|
if ((cod_cond == null)) {
|
|
throw new global::System.ArgumentNullException("cod_cond");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(cod_cond));
|
|
}
|
|
if ((nome == null)) {
|
|
throw new global::System.ArgumentNullException("nome");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(nome));
|
|
}
|
|
if ((indirizzo == null)) {
|
|
throw new global::System.ArgumentNullException("indirizzo");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(indirizzo));
|
|
}
|
|
if ((cap == null)) {
|
|
throw new global::System.ArgumentNullException("cap");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(cap));
|
|
}
|
|
if ((citta == null)) {
|
|
throw new global::System.ArgumentNullException("citta");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(citta));
|
|
}
|
|
if ((cod_fisc == null)) {
|
|
throw new global::System.ArgumentNullException("cod_fisc");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(cod_fisc));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(idxAmm));
|
|
if ((cod_Id.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(cod_Id.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_El.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(cod_El.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Ed.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(cod_Ed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Fb.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(cod_Fb.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Tv.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(cod_Tv.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_As.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(cod_As.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Ca.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(cod_Ca.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Sp.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(cod_Sp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Sn.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(cod_Sn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Mc.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(cod_Mc.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Id2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(cod_Id2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_El2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(cod_El2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Ed2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(cod_Ed2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Fb2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(cod_Fb2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Tv2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(cod_Tv2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_As2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(cod_As2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Ca2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(cod_Ca2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Sp2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(cod_Sp2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Sn2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(cod_Sn2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((cod_Mc2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(cod_Mc2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_idxCond));
|
|
if ((Original_cod_cond == null)) {
|
|
throw new global::System.ArgumentNullException("Original_cod_cond");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_cod_cond));
|
|
}
|
|
if ((Original_nome == null)) {
|
|
throw new global::System.ArgumentNullException("Original_nome");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_nome));
|
|
}
|
|
if ((Original_indirizzo == null)) {
|
|
throw new global::System.ArgumentNullException("Original_indirizzo");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_indirizzo));
|
|
}
|
|
if ((Original_cap == null)) {
|
|
throw new global::System.ArgumentNullException("Original_cap");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_cap));
|
|
}
|
|
if ((Original_citta == null)) {
|
|
throw new global::System.ArgumentNullException("Original_citta");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_citta));
|
|
}
|
|
if ((Original_cod_fisc == null)) {
|
|
throw new global::System.ArgumentNullException("Original_cod_fisc");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_cod_fisc));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(Original_idxAmm));
|
|
if ((Original_cod_Id.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(Original_cod_Id.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_El.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((int)(Original_cod_El.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Ed.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((int)(Original_cod_Ed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Fb.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(Original_cod_Fb.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Tv.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = ((int)(Original_cod_Tv.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_As.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = ((int)(Original_cod_As.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Ca.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = ((int)(Original_cod_Ca.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Sp.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = ((int)(Original_cod_Sp.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Sn.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = ((int)(Original_cod_Sn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Mc.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = ((int)(Original_cod_Mc.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Id2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = ((int)(Original_cod_Id2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_El2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_cod_El2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Ed2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(Original_cod_Ed2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Fb2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[62].Value = ((int)(Original_cod_Fb2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Tv2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[64].Value = ((int)(Original_cod_Tv2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_As2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[66].Value = ((int)(Original_cod_As2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Ca2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[68].Value = ((int)(Original_cod_Ca2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Sp2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[70].Value = ((int)(Original_cod_Sp2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Sn2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[72].Value = ((int)(Original_cod_Sn2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_cod_Mc2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[74].Value = ((int)(Original_cod_Mc2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[75].Value = ((int)(idxCond));
|
|
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", "15.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 cod_cond,
|
|
string nome,
|
|
string indirizzo,
|
|
string cap,
|
|
string citta,
|
|
string cod_fisc,
|
|
int idxAmm,
|
|
global::System.Nullable<int> cod_Id,
|
|
global::System.Nullable<int> cod_El,
|
|
global::System.Nullable<int> cod_Ed,
|
|
global::System.Nullable<int> cod_Fb,
|
|
global::System.Nullable<int> cod_Tv,
|
|
global::System.Nullable<int> cod_As,
|
|
global::System.Nullable<int> cod_Ca,
|
|
global::System.Nullable<int> cod_Sp,
|
|
global::System.Nullable<int> cod_Sn,
|
|
global::System.Nullable<int> cod_Mc,
|
|
global::System.Nullable<int> cod_Id2,
|
|
global::System.Nullable<int> cod_El2,
|
|
global::System.Nullable<int> cod_Ed2,
|
|
global::System.Nullable<int> cod_Fb2,
|
|
global::System.Nullable<int> cod_Tv2,
|
|
global::System.Nullable<int> cod_As2,
|
|
global::System.Nullable<int> cod_Ca2,
|
|
global::System.Nullable<int> cod_Sp2,
|
|
global::System.Nullable<int> cod_Sn2,
|
|
global::System.Nullable<int> cod_Mc2,
|
|
int Original_idxCond,
|
|
string Original_cod_cond,
|
|
string Original_nome,
|
|
string Original_indirizzo,
|
|
string Original_cap,
|
|
string Original_citta,
|
|
string Original_cod_fisc,
|
|
int Original_idxAmm,
|
|
global::System.Nullable<int> Original_cod_Id,
|
|
global::System.Nullable<int> Original_cod_El,
|
|
global::System.Nullable<int> Original_cod_Ed,
|
|
global::System.Nullable<int> Original_cod_Fb,
|
|
global::System.Nullable<int> Original_cod_Tv,
|
|
global::System.Nullable<int> Original_cod_As,
|
|
global::System.Nullable<int> Original_cod_Ca,
|
|
global::System.Nullable<int> Original_cod_Sp,
|
|
global::System.Nullable<int> Original_cod_Sn,
|
|
global::System.Nullable<int> Original_cod_Mc,
|
|
global::System.Nullable<int> Original_cod_Id2,
|
|
global::System.Nullable<int> Original_cod_El2,
|
|
global::System.Nullable<int> Original_cod_Ed2,
|
|
global::System.Nullable<int> Original_cod_Fb2,
|
|
global::System.Nullable<int> Original_cod_Tv2,
|
|
global::System.Nullable<int> Original_cod_As2,
|
|
global::System.Nullable<int> Original_cod_Ca2,
|
|
global::System.Nullable<int> Original_cod_Sp2,
|
|
global::System.Nullable<int> Original_cod_Sn2,
|
|
global::System.Nullable<int> Original_cod_Mc2) {
|
|
return this.Update(cod_cond, nome, indirizzo, cap, citta, cod_fisc, idxAmm, cod_Id, cod_El, cod_Ed, cod_Fb, cod_Tv, cod_As, cod_Ca, cod_Sp, cod_Sn, cod_Mc, cod_Id2, cod_El2, cod_Ed2, cod_Fb2, cod_Tv2, cod_As2, cod_Ca2, cod_Sp2, cod_Sn2, cod_Mc2, Original_idxCond, Original_cod_cond, Original_nome, Original_indirizzo, Original_cap, Original_citta, Original_cod_fisc, Original_idxAmm, Original_cod_Id, Original_cod_El, Original_cod_Ed, Original_cod_Fb, Original_cod_Tv, Original_cod_As, Original_cod_Ca, Original_cod_Sp, Original_cod_Sn, Original_cod_Mc, Original_cod_Id2, Original_cod_El2, Original_cod_Ed2, Original_cod_Fb2, Original_cod_Tv2, Original_cod_As2, Original_cod_Ca2, Original_cod_Sp2, Original_cod_Sn2, Original_cod_Mc2, Original_idxCond);
|
|
}
|
|
}
|
|
|
|
/// <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 AnagAreeTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
|
private bool _clearBeforeFill;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public AnagAreeTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
get {
|
|
if ((this._adapter == null)) {
|
|
this.InitAdapter();
|
|
}
|
|
return this._adapter;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.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", "15.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 = "AnagAree";
|
|
tableMapping.ColumnMappings.Add("idxArea", "idxArea");
|
|
tableMapping.ColumnMappings.Add("Area", "Area");
|
|
tableMapping.ColumnMappings.Add("Note", "Note");
|
|
tableMapping.ColumnMappings.Add("Qta", "Qta");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private void InitConnection() {
|
|
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
this._connection.ConnectionString = global::Data.Properties.Settings.Default.B2BCondConnectionString;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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 idxArea, Area, Note, Qta FROM dbo.v_AnagAree";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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_app.AnagAreeDataTable 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", "15.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
public virtual DS_app.AnagAreeDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_app.AnagAreeDataTable dataTable = new DS_app.AnagAreeDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
|
|
"esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
|
|
public partial class TableAdapterManager : global::System.ComponentModel.Component {
|
|
|
|
private UpdateOrderOption _updateOrder;
|
|
|
|
private AnagAmministratoriTableAdapter _anagAmministratoriTableAdapter;
|
|
|
|
private AnagCondominiTableAdapter _anagCondominiTableAdapter;
|
|
|
|
private bool _backupDataSetBeforeUpdate;
|
|
|
|
private global::System.Data.IDbConnection _connection;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public UpdateOrderOption UpdateOrder {
|
|
get {
|
|
return this._updateOrder;
|
|
}
|
|
set {
|
|
this._updateOrder = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public AnagAmministratoriTableAdapter AnagAmministratoriTableAdapter {
|
|
get {
|
|
return this._anagAmministratoriTableAdapter;
|
|
}
|
|
set {
|
|
this._anagAmministratoriTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public AnagCondominiTableAdapter AnagCondominiTableAdapter {
|
|
get {
|
|
return this._anagCondominiTableAdapter;
|
|
}
|
|
set {
|
|
this._anagCondominiTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public bool BackupDataSetBeforeUpdate {
|
|
get {
|
|
return this._backupDataSetBeforeUpdate;
|
|
}
|
|
set {
|
|
this._backupDataSetBeforeUpdate = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public global::System.Data.IDbConnection Connection {
|
|
get {
|
|
if ((this._connection != null)) {
|
|
return this._connection;
|
|
}
|
|
if (((this._anagAmministratoriTableAdapter != null)
|
|
&& (this._anagAmministratoriTableAdapter.Connection != null))) {
|
|
return this._anagAmministratoriTableAdapter.Connection;
|
|
}
|
|
if (((this._anagCondominiTableAdapter != null)
|
|
&& (this._anagCondominiTableAdapter.Connection != null))) {
|
|
return this._anagCondominiTableAdapter.Connection;
|
|
}
|
|
return null;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int TableAdapterInstanceCount {
|
|
get {
|
|
int count = 0;
|
|
if ((this._anagAmministratoriTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._anagCondominiTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
return count;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Update rows in top-down order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private int UpdateUpdatedRows(DS_app dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
int result = 0;
|
|
if ((this._anagAmministratoriTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.AnagAmministratori.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._anagAmministratoriTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._anagCondominiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.AnagCondomini.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._anagCondominiTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Insert rows in top-down order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private int UpdateInsertedRows(DS_app dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
int result = 0;
|
|
if ((this._anagAmministratoriTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.AnagAmministratori.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._anagAmministratoriTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._anagCondominiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.AnagCondomini.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._anagCondominiTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Delete rows in bottom-up order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private int UpdateDeletedRows(DS_app dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
|
|
int result = 0;
|
|
if ((this._anagCondominiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.AnagCondomini.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._anagCondominiTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._anagAmministratoriTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.AnagAmministratori.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._anagAmministratoriTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
if (((updatedRows == null)
|
|
|| (updatedRows.Length < 1))) {
|
|
return updatedRows;
|
|
}
|
|
if (((allAddedRows == null)
|
|
|| (allAddedRows.Count < 1))) {
|
|
return updatedRows;
|
|
}
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = updatedRows[i];
|
|
if ((allAddedRows.Contains(row) == false)) {
|
|
realUpdatedRows.Add(row);
|
|
}
|
|
}
|
|
return realUpdatedRows.ToArray();
|
|
}
|
|
|
|
/// <summary>
|
|
///Update all changes to the dataset.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public virtual int UpdateAll(DS_app dataSet) {
|
|
if ((dataSet == null)) {
|
|
throw new global::System.ArgumentNullException("dataSet");
|
|
}
|
|
if ((dataSet.HasChanges() == false)) {
|
|
return 0;
|
|
}
|
|
if (((this._anagAmministratoriTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._anagAmministratoriTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
if (((this._anagCondominiTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._anagCondominiTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
|
"a stessa stringa di connessione.");
|
|
}
|
|
global::System.Data.IDbConnection workConnection = this.Connection;
|
|
if ((workConnection == null)) {
|
|
throw new global::System.ApplicationException("TableAdapterManager non contiene informazioni di connessione. Impostare la propri" +
|
|
"età TableAdapter di ciascun oggetto TableAdapterManager su un\'istanza TableAdapt" +
|
|
"er valida.");
|
|
}
|
|
bool workConnOpened = false;
|
|
if (((workConnection.State & global::System.Data.ConnectionState.Broken)
|
|
== global::System.Data.ConnectionState.Broken)) {
|
|
workConnection.Close();
|
|
}
|
|
if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
|
|
workConnection.Open();
|
|
workConnOpened = true;
|
|
}
|
|
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
|
|
if ((workTransaction == null)) {
|
|
throw new global::System.ApplicationException("Impossibile avviare la transazione. La connessione dati corrente non supporta le " +
|
|
"transazioni oppure lo stato corrente non consente l\'avvio della transazione.");
|
|
}
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
|
|
global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
|
|
int result = 0;
|
|
global::System.Data.DataSet backupDataSet = null;
|
|
if (this.BackupDataSetBeforeUpdate) {
|
|
backupDataSet = new global::System.Data.DataSet();
|
|
backupDataSet.Merge(dataSet);
|
|
}
|
|
try {
|
|
// ---- Prepare for update -----------
|
|
//
|
|
if ((this._anagAmministratoriTableAdapter != null)) {
|
|
revertConnections.Add(this._anagAmministratoriTableAdapter, this._anagAmministratoriTableAdapter.Connection);
|
|
this._anagAmministratoriTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._anagAmministratoriTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._anagAmministratoriTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._anagAmministratoriTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._anagAmministratoriTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._anagCondominiTableAdapter != null)) {
|
|
revertConnections.Add(this._anagCondominiTableAdapter, this._anagCondominiTableAdapter.Connection);
|
|
this._anagCondominiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._anagCondominiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._anagCondominiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._anagCondominiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._anagCondominiTableAdapter.Adapter);
|
|
}
|
|
}
|
|
//
|
|
//---- Perform updates -----------
|
|
//
|
|
if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
|
|
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
|
|
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
|
|
}
|
|
else {
|
|
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
|
|
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
|
|
}
|
|
result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
|
|
//
|
|
//---- Commit updates -----------
|
|
//
|
|
workTransaction.Commit();
|
|
if ((0 < allAddedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
|
|
allAddedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
}
|
|
}
|
|
if ((0 < allChangedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
|
|
allChangedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
}
|
|
}
|
|
}
|
|
catch (global::System.Exception ex) {
|
|
workTransaction.Rollback();
|
|
// ---- Restore the dataset -----------
|
|
if (this.BackupDataSetBeforeUpdate) {
|
|
global::System.Diagnostics.Debug.Assert((backupDataSet != null));
|
|
dataSet.Clear();
|
|
dataSet.Merge(backupDataSet);
|
|
}
|
|
else {
|
|
if ((0 < allAddedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
|
|
allAddedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
row.SetAdded();
|
|
}
|
|
}
|
|
}
|
|
throw ex;
|
|
}
|
|
finally {
|
|
if (workConnOpened) {
|
|
workConnection.Close();
|
|
}
|
|
if ((this._anagAmministratoriTableAdapter != null)) {
|
|
this._anagAmministratoriTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagAmministratoriTableAdapter]));
|
|
this._anagAmministratoriTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._anagCondominiTableAdapter != null)) {
|
|
this._anagCondominiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagCondominiTableAdapter]));
|
|
this._anagCondominiTableAdapter.Transaction = null;
|
|
}
|
|
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
|
|
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
|
|
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
|
|
for (int i = 0; (i < adapters.Length); i = (i + 1)) {
|
|
global::System.Data.Common.DataAdapter adapter = adapters[i];
|
|
adapter.AcceptChangesDuringUpdate = true;
|
|
}
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
|
|
global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
|
|
if ((this._connection != null)) {
|
|
return true;
|
|
}
|
|
if (((this.Connection == null)
|
|
|| (inputConnection == null))) {
|
|
return true;
|
|
}
|
|
if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
/// <summary>
|
|
///Update Order Option
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public enum UpdateOrderOption {
|
|
|
|
InsertUpdateDelete = 0,
|
|
|
|
UpdateInsertDelete = 1,
|
|
}
|
|
|
|
/// <summary>
|
|
///Used to sort self-referenced table's rows
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
|
|
|
|
private global::System.Data.DataRelation _relation;
|
|
|
|
private int _childFirst;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
|
|
this._relation = relation;
|
|
if (childFirst) {
|
|
this._childFirst = -1;
|
|
}
|
|
else {
|
|
this._childFirst = 1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
|
|
global::System.Diagnostics.Debug.Assert((row != null));
|
|
global::System.Data.DataRow root = row;
|
|
distance = 0;
|
|
|
|
global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
|
|
traversedRows[row] = row;
|
|
|
|
global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
|
|
for (
|
|
; ((parent != null)
|
|
&& (traversedRows.ContainsKey(parent) == false));
|
|
) {
|
|
distance = (distance + 1);
|
|
root = parent;
|
|
traversedRows[parent] = parent;
|
|
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
|
|
}
|
|
|
|
if ((distance == 0)) {
|
|
traversedRows.Clear();
|
|
traversedRows[row] = row;
|
|
parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
|
|
for (
|
|
; ((parent != null)
|
|
&& (traversedRows.ContainsKey(parent) == false));
|
|
) {
|
|
distance = (distance + 1);
|
|
root = parent;
|
|
traversedRows[parent] = parent;
|
|
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
|
|
}
|
|
}
|
|
|
|
return root;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
|
public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
|
|
if (object.ReferenceEquals(row1, row2)) {
|
|
return 0;
|
|
}
|
|
if ((row1 == null)) {
|
|
return -1;
|
|
}
|
|
if ((row2 == null)) {
|
|
return 1;
|
|
}
|
|
|
|
int distance1 = 0;
|
|
global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
|
|
|
|
int distance2 = 0;
|
|
global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
|
|
|
|
if (object.ReferenceEquals(root1, root2)) {
|
|
return (this._childFirst * distance1.CompareTo(distance2));
|
|
}
|
|
else {
|
|
global::System.Diagnostics.Debug.Assert(((root1.Table != null)
|
|
&& (root2.Table != null)));
|
|
if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
|
|
return -1;
|
|
}
|
|
else {
|
|
return 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#pragma warning restore 1591 |