modificato tipo dati da tabella zone
modificato comportamento base pagina pianificazione
This commit is contained in:
Generated
+208
-141
@@ -909,6 +909,8 @@ namespace WebSCR_data {
|
||||
|
||||
private global::System.Data.DataColumn columnProv;
|
||||
|
||||
private global::System.Data.DataColumn columnTempo;
|
||||
|
||||
private global::System.Data.DataColumn columnZona;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -976,6 +978,14 @@ namespace WebSCR_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn TempoColumn {
|
||||
get {
|
||||
return this.columnTempo;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn ZonaColumn {
|
||||
@@ -1021,13 +1031,14 @@ namespace WebSCR_data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public AnagZoneRow AddAnagZoneRow(string Cap, string Localita, string Prov, int Zona) {
|
||||
public AnagZoneRow AddAnagZoneRow(string Cap, string Localita, string Prov, int Tempo, string Zona) {
|
||||
AnagZoneRow rowAnagZoneRow = ((AnagZoneRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
Cap,
|
||||
Localita,
|
||||
Prov,
|
||||
Tempo,
|
||||
Zona};
|
||||
rowAnagZoneRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowAnagZoneRow);
|
||||
@@ -1062,6 +1073,7 @@ namespace WebSCR_data {
|
||||
this.columnCap = base.Columns["Cap"];
|
||||
this.columnLocalita = base.Columns["Localita"];
|
||||
this.columnProv = base.Columns["Prov"];
|
||||
this.columnTempo = base.Columns["Tempo"];
|
||||
this.columnZona = base.Columns["Zona"];
|
||||
}
|
||||
|
||||
@@ -1076,7 +1088,9 @@ namespace WebSCR_data {
|
||||
base.Columns.Add(this.columnLocalita);
|
||||
this.columnProv = new global::System.Data.DataColumn("Prov", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnProv);
|
||||
this.columnZona = new global::System.Data.DataColumn("Zona", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
this.columnTempo = new global::System.Data.DataColumn("Tempo", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnTempo);
|
||||
this.columnZona = new global::System.Data.DataColumn("Zona", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnZona);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidxZona}, true));
|
||||
@@ -1086,10 +1100,15 @@ namespace WebSCR_data {
|
||||
this.columnidxZona.AllowDBNull = false;
|
||||
this.columnidxZona.ReadOnly = true;
|
||||
this.columnidxZona.Unique = true;
|
||||
this.columnCap.AllowDBNull = false;
|
||||
this.columnCap.MaxLength = 10;
|
||||
this.columnLocalita.AllowDBNull = false;
|
||||
this.columnLocalita.MaxLength = 50;
|
||||
this.columnProv.AllowDBNull = false;
|
||||
this.columnProv.MaxLength = 2;
|
||||
this.columnTempo.AllowDBNull = false;
|
||||
this.columnZona.AllowDBNull = false;
|
||||
this.columnZona.MaxLength = 50;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -2117,6 +2136,8 @@ namespace WebSCR_data {
|
||||
|
||||
private global::System.Data.DataColumn columnProv;
|
||||
|
||||
private global::System.Data.DataColumn columnTempo;
|
||||
|
||||
private global::System.Data.DataColumn columnZona;
|
||||
|
||||
private global::System.Data.DataColumn columnNoteGen;
|
||||
@@ -2330,6 +2351,14 @@ namespace WebSCR_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn TempoColumn {
|
||||
get {
|
||||
return this.columnTempo;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn ZonaColumn {
|
||||
@@ -2406,7 +2435,8 @@ namespace WebSCR_data {
|
||||
string Cap,
|
||||
string Localita,
|
||||
string Prov,
|
||||
int Zona,
|
||||
int Tempo,
|
||||
string Zona,
|
||||
string NoteGen) {
|
||||
ImpegniRow rowImpegniRow = ((ImpegniRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
@@ -2432,6 +2462,7 @@ namespace WebSCR_data {
|
||||
Cap,
|
||||
Localita,
|
||||
Prov,
|
||||
Tempo,
|
||||
Zona,
|
||||
NoteGen};
|
||||
rowImpegniRow.ItemArray = columnValuesArray;
|
||||
@@ -2487,6 +2518,7 @@ namespace WebSCR_data {
|
||||
this.columnCap = base.Columns["Cap"];
|
||||
this.columnLocalita = base.Columns["Localita"];
|
||||
this.columnProv = base.Columns["Prov"];
|
||||
this.columnTempo = base.Columns["Tempo"];
|
||||
this.columnZona = base.Columns["Zona"];
|
||||
this.columnNoteGen = base.Columns["NoteGen"];
|
||||
}
|
||||
@@ -2538,7 +2570,9 @@ namespace WebSCR_data {
|
||||
base.Columns.Add(this.columnLocalita);
|
||||
this.columnProv = new global::System.Data.DataColumn("Prov", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnProv);
|
||||
this.columnZona = new global::System.Data.DataColumn("Zona", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
this.columnTempo = new global::System.Data.DataColumn("Tempo", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnTempo);
|
||||
this.columnZona = new global::System.Data.DataColumn("Zona", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnZona);
|
||||
this.columnNoteGen = new global::System.Data.DataColumn("NoteGen", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNoteGen);
|
||||
@@ -2577,8 +2611,9 @@ namespace WebSCR_data {
|
||||
this.columnLocalita.MaxLength = 50;
|
||||
this.columnProv.AllowDBNull = false;
|
||||
this.columnProv.MaxLength = 2;
|
||||
this.columnZona.AllowDBNull = false;
|
||||
this.columnZona.Caption = "idxZona";
|
||||
this.columnTempo.ReadOnly = true;
|
||||
this.columnZona.ReadOnly = true;
|
||||
this.columnZona.MaxLength = 50;
|
||||
this.columnNoteGen.AllowDBNull = false;
|
||||
this.columnNoteGen.MaxLength = 250;
|
||||
}
|
||||
@@ -4089,12 +4124,7 @@ namespace WebSCR_data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Cap {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableAnagZone.CapColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Cap\' in table \'AnagZone\' is DBNull.", e);
|
||||
}
|
||||
return ((string)(this[this.tableAnagZone.CapColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagZone.CapColumn] = value;
|
||||
@@ -4105,12 +4135,7 @@ namespace WebSCR_data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Localita {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableAnagZone.LocalitaColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Localita\' in table \'AnagZone\' is DBNull.", e);
|
||||
}
|
||||
return ((string)(this[this.tableAnagZone.LocalitaColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagZone.LocalitaColumn] = value;
|
||||
@@ -4121,12 +4146,7 @@ namespace WebSCR_data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Prov {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableAnagZone.ProvColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Prov\' in table \'AnagZone\' is DBNull.", e);
|
||||
}
|
||||
return ((string)(this[this.tableAnagZone.ProvColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagZone.ProvColumn] = value;
|
||||
@@ -4135,50 +4155,25 @@ namespace WebSCR_data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int Zona {
|
||||
public int Tempo {
|
||||
get {
|
||||
return ((int)(this[this.tableAnagZone.ZonaColumn]));
|
||||
return ((int)(this[this.tableAnagZone.TempoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagZone.TempoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Zona {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagZone.ZonaColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagZone.ZonaColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsCapNull() {
|
||||
return this.IsNull(this.tableAnagZone.CapColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetCapNull() {
|
||||
this[this.tableAnagZone.CapColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsLocalitaNull() {
|
||||
return this.IsNull(this.tableAnagZone.LocalitaColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetLocalitaNull() {
|
||||
this[this.tableAnagZone.LocalitaColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsProvNull() {
|
||||
return this.IsNull(this.tableAnagZone.ProvColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetProvNull() {
|
||||
this[this.tableAnagZone.ProvColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -4997,9 +4992,30 @@ namespace WebSCR_data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int Zona {
|
||||
public int Tempo {
|
||||
get {
|
||||
return ((int)(this[this.tableImpegni.ZonaColumn]));
|
||||
try {
|
||||
return ((int)(this[this.tableImpegni.TempoColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Tempo\' in table \'Impegni\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableImpegni.TempoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Zona {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableImpegni.ZonaColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Zona\' in table \'Impegni\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableImpegni.ZonaColumn] = value;
|
||||
@@ -5064,6 +5080,30 @@ namespace WebSCR_data {
|
||||
public void SetCodFisNull() {
|
||||
this[this.tableImpegni.CodFisColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsTempoNull() {
|
||||
return this.IsNull(this.tableImpegni.TempoColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetTempoNull() {
|
||||
this[this.tableImpegni.TempoColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsZonaNull() {
|
||||
return this.IsNull(this.tableImpegni.ZonaColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetZonaNull() {
|
||||
this[this.tableImpegni.ZonaColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -6440,47 +6480,48 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
|
||||
tableMapping.ColumnMappings.Add("Cap", "Cap");
|
||||
tableMapping.ColumnMappings.Add("Localita", "Localita");
|
||||
tableMapping.ColumnMappings.Add("Prov", "Prov");
|
||||
tableMapping.ColumnMappings.Add("Tempo", "Tempo");
|
||||
tableMapping.ColumnMappings.Add("Zona", "Zona");
|
||||
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 [AnagZone] WHERE (([idxZona] = @Original_idxZona) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ([Zona] = @Original_Zona))";
|
||||
this._adapter.DeleteCommand.CommandText = "DELETE FROM [AnagZone] WHERE (([idxZona] = @Original_idxZona) AND ([Cap] = @Origi" +
|
||||
"nal_Cap) AND ([Localita] = @Original_Localita) AND ([Prov] = @Original_Prov) AND" +
|
||||
" ([Tempo] = @Original_Tempo) AND ([Zona] = @Original_Zona))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxZona", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxZona", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Zona", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Zona", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", 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 [AnagZone] ([Cap], [Localita], [Prov], [Zona]) VALUES (@Cap, @Localit" +
|
||||
"a, @Prov, @Zona);\r\nSELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE" +
|
||||
" (idxZona = SCOPE_IDENTITY()) ORDER BY Zona";
|
||||
this._adapter.InsertCommand.CommandText = "INSERT INTO [AnagZone] ([Cap], [Localita], [Prov], [Tempo], [Zona]) VALUES (@Cap," +
|
||||
" @Localita, @Prov, @Tempo, @Zona);\r\nSELECT idxZona, Cap, Localita, Prov, Tempo, " +
|
||||
"Zona FROM AnagZone WHERE (idxZona = SCOPE_IDENTITY()) ORDER BY Zona";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
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("@Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", 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 [AnagZone] SET [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Zona] = @Zona WHERE (([idxZona] = @Original_idxZona) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ([Zona] = @Original_Zona));
|
||||
SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZona) ORDER BY Zona";
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [AnagZone] SET [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Tempo] = @Tempo, [Zona] = @Zona WHERE (([idxZona] = @Original_idxZona) AND ([Cap] = @Original_Cap) AND ([Localita] = @Original_Localita) AND ([Prov] = @Original_Prov) AND ([Tempo] = @Original_Tempo) AND ([Zona] = @Original_Zona));
|
||||
SELECT idxZona, Cap, Localita, Prov, Tempo, Zona FROM AnagZone WHERE (idxZona = @idxZona) ORDER BY Zona";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
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("@Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxZona", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxZona", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Zona", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Zona", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxZona", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxZona", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -6497,8 +6538,7 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT idxZona, Cap, Localita, Prov, Zona\r\nFROM AnagZone\r\nORDER" +
|
||||
" BY Zona";
|
||||
this._commandCollection[0].CommandText = "SELECT * FROM AnagZone ORDER BY Zona";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
@@ -6514,7 +6554,8 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = "dbo.stp_AZ_UpdateQuery";
|
||||
@@ -6523,7 +6564,8 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxZona", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -6584,33 +6626,33 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
||||
public virtual int Delete(int Original_idxZona, string Original_Cap, string Original_Localita, string Original_Prov, int Original_Zona) {
|
||||
public virtual int Delete(int Original_idxZona, string Original_Cap, string Original_Localita, string Original_Prov, int Original_Tempo, string Original_Zona) {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxZona));
|
||||
if ((Original_Cap == null)) {
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Original_Cap");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Cap));
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Cap));
|
||||
}
|
||||
if ((Original_Localita == null)) {
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Original_Localita");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Localita));
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Localita));
|
||||
}
|
||||
if ((Original_Prov == null)) {
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Original_Prov");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Prov));
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_Prov));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_Tempo));
|
||||
if ((Original_Zona == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Zona");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Zona));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[7].Value = ((int)(Original_Zona));
|
||||
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)) {
|
||||
@@ -6631,26 +6673,32 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
||||
public virtual int Insert(string Cap, string Localita, string Prov, int Zona) {
|
||||
public virtual int Insert(string Cap, string Localita, string Prov, int Tempo, string Zona) {
|
||||
if ((Cap == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Cap");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Cap));
|
||||
}
|
||||
if ((Localita == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Localita");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Localita));
|
||||
}
|
||||
if ((Prov == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Prov");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Prov));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Zona));
|
||||
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Tempo));
|
||||
if ((Zona == null)) {
|
||||
throw new global::System.ArgumentNullException("Zona");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Zona));
|
||||
}
|
||||
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)) {
|
||||
@@ -6671,53 +6719,59 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(string Cap, string Localita, string Prov, int Zona, int Original_idxZona, string Original_Cap, string Original_Localita, string Original_Prov, int Original_Zona, int idxZona) {
|
||||
public virtual int Update(string Cap, string Localita, string Prov, int Tempo, string Zona, int Original_idxZona, string Original_Cap, string Original_Localita, string Original_Prov, int Original_Tempo, string Original_Zona, int idxZona) {
|
||||
if ((Cap == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Cap");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Cap));
|
||||
}
|
||||
if ((Localita == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Localita");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Localita));
|
||||
}
|
||||
if ((Prov == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Prov");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Prov));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Zona));
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Original_idxZona));
|
||||
if ((Original_Cap == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Tempo));
|
||||
if ((Zona == null)) {
|
||||
throw new global::System.ArgumentNullException("Zona");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Zona));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_idxZona));
|
||||
if ((Original_Cap == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Cap");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Cap));
|
||||
}
|
||||
if ((Original_Localita == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Original_Localita");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Localita));
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Localita));
|
||||
}
|
||||
if ((Original_Prov == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
|
||||
throw new global::System.ArgumentNullException("Original_Prov");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Prov));
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Prov));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_Zona));
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(idxZona));
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_Tempo));
|
||||
if ((Original_Zona == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Zona");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Zona));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(idxZona));
|
||||
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)) {
|
||||
@@ -6738,8 +6792,8 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(string Cap, string Localita, string Prov, int Zona, int Original_idxZona, string Original_Cap, string Original_Localita, string Original_Prov, int Original_Zona) {
|
||||
return this.Update(Cap, Localita, Prov, Zona, Original_idxZona, Original_Cap, Original_Localita, Original_Prov, Original_Zona, Original_idxZona);
|
||||
public virtual int Update(string Cap, string Localita, string Prov, int Tempo, string Zona, int Original_idxZona, string Original_Cap, string Original_Localita, string Original_Prov, int Original_Tempo, string Original_Zona) {
|
||||
return this.Update(Cap, Localita, Prov, Tempo, Zona, Original_idxZona, Original_Cap, Original_Localita, Original_Prov, Original_Tempo, Original_Zona, Original_idxZona);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -6775,7 +6829,7 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
||||
public virtual int InsertQuery(string Cap, string Localita, string Prov, global::System.Nullable<int> Zona) {
|
||||
public virtual int InsertQuery(string Cap, string Localita, string Prov, global::System.Nullable<int> Tempo, string Zona) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
||||
if ((Cap == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -6795,12 +6849,18 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
else {
|
||||
command.Parameters[3].Value = ((string)(Prov));
|
||||
}
|
||||
if ((Zona.HasValue == true)) {
|
||||
command.Parameters[4].Value = ((int)(Zona.Value));
|
||||
if ((Tempo.HasValue == true)) {
|
||||
command.Parameters[4].Value = ((int)(Tempo.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Zona == null)) {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[5].Value = ((string)(Zona));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -6822,7 +6882,7 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
|
||||
public virtual int UpdateQuery(string Cap, string Localita, string Prov, global::System.Nullable<int> Zona, global::System.Nullable<int> Original_idxZona) {
|
||||
public virtual int UpdateQuery(string Cap, string Localita, string Prov, global::System.Nullable<int> Tempo, string Zona, global::System.Nullable<int> Original_idxZona) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
if ((Cap == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -6842,17 +6902,23 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
else {
|
||||
command.Parameters[3].Value = ((string)(Prov));
|
||||
}
|
||||
if ((Zona.HasValue == true)) {
|
||||
command.Parameters[4].Value = ((int)(Zona.Value));
|
||||
if ((Tempo.HasValue == true)) {
|
||||
command.Parameters[4].Value = ((int)(Tempo.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_idxZona.HasValue == true)) {
|
||||
command.Parameters[5].Value = ((int)(Original_idxZona.Value));
|
||||
if ((Zona == null)) {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
command.Parameters[5].Value = ((string)(Zona));
|
||||
}
|
||||
if ((Original_idxZona.HasValue == true)) {
|
||||
command.Parameters[6].Value = ((int)(Original_idxZona.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[6].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
@@ -8572,7 +8638,8 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
|
||||
tableMapping.ColumnMappings.Add("Cap", "Cap");
|
||||
tableMapping.ColumnMappings.Add("Localita", "Localita");
|
||||
tableMapping.ColumnMappings.Add("Prov", "Prov");
|
||||
tableMapping.ColumnMappings.Add("idxZona", "Zona");
|
||||
tableMapping.ColumnMappings.Add("Tempo", "Tempo");
|
||||
tableMapping.ColumnMappings.Add("Zona", "Zona");
|
||||
tableMapping.ColumnMappings.Add("NoteGen", "NoteGen");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
@@ -8590,7 +8657,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_elencoImpegni";
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_elencoImpegni";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
@@ -8939,7 +9006,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
|
||||
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("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumGG", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -8970,7 +9037,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Applicazione.DispImpTotDataTable getByDataRange(global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<int> NumGG, global::System.Nullable<int> Zona) {
|
||||
public virtual DS_Applicazione.DispImpTotDataTable getByDataRange(global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<int> NumGG, string Zona) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((DataFrom.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(DataFrom.Value));
|
||||
@@ -8984,11 +9051,11 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Zona.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(Zona.Value));
|
||||
if ((Zona == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Zona));
|
||||
}
|
||||
DS_Applicazione.DispImpTotDataTable dataTable = new DS_Applicazione.DispImpTotDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
|
||||
@@ -125,56 +125,52 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.AnagZone" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [AnagZone] WHERE (([idxZona] = @Original_idxZona) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ([Zona] = @Original_Zona))</CommandText>
|
||||
<CommandText>DELETE FROM [AnagZone] WHERE (([idxZona] = @Original_idxZona) AND ([Cap] = @Original_Cap) AND ([Localita] = @Original_Localita) AND ([Prov] = @Original_Prov) AND ([Tempo] = @Original_Tempo) AND ([Zona] = @Original_Zona))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxZona" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxZona" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Cap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Localita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Prov" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Zona" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zona" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Tempo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tempo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Zona" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Zona" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [AnagZone] ([Cap], [Localita], [Prov], [Zona]) VALUES (@Cap, @Localita, @Prov, @Zona);
|
||||
SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = SCOPE_IDENTITY()) ORDER BY Zona</CommandText>
|
||||
<CommandText>INSERT INTO [AnagZone] ([Cap], [Localita], [Prov], [Tempo], [Zona]) VALUES (@Cap, @Localita, @Prov, @Tempo, @Zona);
|
||||
SELECT idxZona, Cap, Localita, Prov, Tempo, Zona FROM AnagZone WHERE (idxZona = SCOPE_IDENTITY()) ORDER BY Zona</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Zona" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zona" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Tempo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tempo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Zona" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Zona" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT idxZona, Cap, Localita, Prov, Zona
|
||||
FROM AnagZone
|
||||
ORDER BY Zona</CommandText>
|
||||
<CommandText>SELECT * FROM AnagZone ORDER BY Zona</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [AnagZone] SET [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Zona] = @Zona WHERE (([idxZona] = @Original_idxZona) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ([Zona] = @Original_Zona));
|
||||
SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZona) ORDER BY Zona</CommandText>
|
||||
<CommandText>UPDATE [AnagZone] SET [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Tempo] = @Tempo, [Zona] = @Zona WHERE (([idxZona] = @Original_idxZona) AND ([Cap] = @Original_Cap) AND ([Localita] = @Original_Localita) AND ([Prov] = @Original_Prov) AND ([Tempo] = @Original_Tempo) AND ([Zona] = @Original_Zona));
|
||||
SELECT idxZona, Cap, Localita, Prov, Tempo, Zona FROM AnagZone WHERE (idxZona = @idxZona) ORDER BY Zona</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Zona" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zona" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Tempo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tempo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Zona" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Zona" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxZona" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxZona" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Cap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Localita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Prov" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Zona" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zona" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cap" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Localita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Prov" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Tempo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tempo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Zona" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Zona" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idxZona" ColumnName="idxZona" DataSourceName="WebSCR.dbo.AnagZone" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxZona" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxZona" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
@@ -186,6 +182,7 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
<Mapping SourceColumn="Cap" DataSetColumn="Cap" />
|
||||
<Mapping SourceColumn="Localita" DataSetColumn="Localita" />
|
||||
<Mapping SourceColumn="Prov" DataSetColumn="Prov" />
|
||||
<Mapping SourceColumn="Tempo" DataSetColumn="Tempo" />
|
||||
<Mapping SourceColumn="Zona" DataSetColumn="Zona" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
@@ -209,7 +206,8 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Zona" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Tempo" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Zona" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
@@ -223,7 +221,8 @@ SELECT idxZona, Cap, Localita, Prov, Zona FROM AnagZone WHERE (idxZona = @idxZon
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cap" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Localita" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Prov" Precision="0" ProviderType="NVarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Zona" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Tempo" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Zona" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idxZona" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
@@ -516,8 +515,8 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_elencoImpegni" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT *
|
||||
FROM v_elencoImpegni</CommandText>
|
||||
<CommandText>SELECT *
|
||||
FROM v_elencoImpegni</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -547,7 +546,8 @@ FROM v_elencoImpegni</CommandText>
|
||||
<Mapping SourceColumn="Cap" DataSetColumn="Cap" />
|
||||
<Mapping SourceColumn="Localita" DataSetColumn="Localita" />
|
||||
<Mapping SourceColumn="Prov" DataSetColumn="Prov" />
|
||||
<Mapping SourceColumn="idxZona" DataSetColumn="Zona" />
|
||||
<Mapping SourceColumn="Tempo" DataSetColumn="Tempo" />
|
||||
<Mapping SourceColumn="Zona" DataSetColumn="Zona" />
|
||||
<Mapping SourceColumn="NoteGen" DataSetColumn="NoteGen" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
@@ -631,7 +631,7 @@ FROM v_elencoImpegni</CommandText>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataFrom" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumGG" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Zona" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Zona" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -774,7 +774,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_RowClassName="AnagSquadreRow" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent">
|
||||
<xs:element name="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent" msprop:Generator_RowClassName="AnagSquadreRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodSquadra" msprop:Generator_ColumnVarNameInTable="columnCodSquadra" msprop:Generator_ColumnPropNameInRow="CodSquadra" msprop:Generator_ColumnPropNameInTable="CodSquadraColumn" msprop:Generator_UserColumnName="CodSquadra">
|
||||
@@ -798,36 +798,43 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_RowClassName="AnagZoneRow" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent">
|
||||
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent" msprop:Generator_RowClassName="AnagZoneRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxZona" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxZona" msprop:Generator_ColumnPropNameInRow="idxZona" msprop:Generator_ColumnPropNameInTable="idxZonaColumn" msprop:Generator_UserColumnName="idxZona" type="xs:int" />
|
||||
<xs:element name="Cap" msprop:Generator_ColumnVarNameInTable="columnCap" msprop:Generator_ColumnPropNameInRow="Cap" msprop:Generator_ColumnPropNameInTable="CapColumn" msprop:Generator_UserColumnName="Cap" minOccurs="0">
|
||||
<xs:element name="Cap" msprop:Generator_ColumnVarNameInTable="columnCap" msprop:Generator_ColumnPropNameInRow="Cap" msprop:Generator_ColumnPropNameInTable="CapColumn" msprop:Generator_UserColumnName="Cap">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Localita" msprop:Generator_ColumnVarNameInTable="columnLocalita" msprop:Generator_ColumnPropNameInRow="Localita" msprop:Generator_ColumnPropNameInTable="LocalitaColumn" msprop:Generator_UserColumnName="Localita" minOccurs="0">
|
||||
<xs:element name="Localita" msprop:Generator_ColumnVarNameInTable="columnLocalita" msprop:Generator_ColumnPropNameInRow="Localita" msprop:Generator_ColumnPropNameInTable="LocalitaColumn" msprop:Generator_UserColumnName="Localita">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Prov" msprop:Generator_ColumnVarNameInTable="columnProv" msprop:Generator_ColumnPropNameInRow="Prov" msprop:Generator_ColumnPropNameInTable="ProvColumn" msprop:Generator_UserColumnName="Prov" minOccurs="0">
|
||||
<xs:element name="Prov" msprop:Generator_ColumnVarNameInTable="columnProv" msprop:Generator_ColumnPropNameInRow="Prov" msprop:Generator_ColumnPropNameInTable="ProvColumn" msprop:Generator_UserColumnName="Prov">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Zona" msprop:Generator_ColumnVarNameInTable="columnZona" msprop:Generator_ColumnPropNameInRow="Zona" msprop:Generator_ColumnPropNameInTable="ZonaColumn" msprop:Generator_UserColumnName="Zona" type="xs:int" />
|
||||
<xs:element name="Tempo" msprop:Generator_ColumnVarNameInTable="columnTempo" msprop:Generator_ColumnPropNameInRow="Tempo" msprop:Generator_ColumnPropNameInTable="TempoColumn" msprop:Generator_UserColumnName="Tempo" type="xs:int" />
|
||||
<xs:element name="Zona" msprop:Generator_ColumnVarNameInTable="columnZona" msprop:Generator_ColumnPropNameInRow="Zona" msprop:Generator_ColumnPropNameInTable="ZonaColumn" msprop:Generator_UserColumnName="Zona">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_RowClassName="AnagTipoConsegneRow" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent">
|
||||
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent" msprop:Generator_RowClassName="AnagTipoConsegneRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodConsegna" msprop:Generator_ColumnVarNameInTable="columnCodConsegna" msprop:Generator_ColumnPropNameInRow="CodConsegna" msprop:Generator_ColumnPropNameInTable="CodConsegnaColumn" msprop:Generator_UserColumnName="CodConsegna">
|
||||
@@ -852,7 +859,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
|
||||
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
|
||||
@@ -970,7 +977,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent" msprop:Generator_RowClassName="ImpegniRow">
|
||||
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_RowClassName="ImpegniRow" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
|
||||
@@ -1067,7 +1074,14 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Zona" msdata:Caption="idxZona" msprop:Generator_ColumnVarNameInTable="columnZona" msprop:Generator_ColumnPropNameInRow="Zona" msprop:Generator_ColumnPropNameInTable="ZonaColumn" msprop:Generator_UserColumnName="Zona" type="xs:int" />
|
||||
<xs:element name="Tempo" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTempo" msprop:Generator_ColumnPropNameInRow="Tempo" msprop:Generator_ColumnPropNameInTable="TempoColumn" msprop:Generator_UserColumnName="Tempo" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Zona" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnZona" msprop:Generator_ColumnPropNameInRow="Zona" msprop:Generator_ColumnPropNameInTable="ZonaColumn" msprop:Generator_UserColumnName="Zona" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="NoteGen" msprop:Generator_ColumnVarNameInTable="columnNoteGen" msprop:Generator_ColumnPropNameInRow="NoteGen" msprop:Generator_ColumnPropNameInTable="NoteGenColumn" msprop:Generator_UserColumnName="NoteGen">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -1078,7 +1092,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_RowClassName="DispImpTotRow" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent">
|
||||
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent" msprop:Generator_RowClassName="DispImpTotRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
|
||||
@@ -1088,7 +1102,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_RowClassName="DispImpSquadreRow" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent">
|
||||
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent" msprop:Generator_RowClassName="DispImpSquadreRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
|
||||
@@ -1104,7 +1118,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent" msprop:Generator_RowClassName="v_ImpegniCalRow">
|
||||
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_RowClassName="v_ImpegniCalRow" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxImpegno" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
|
||||
@@ -1134,7 +1148,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent" msprop:Generator_RowClassName="DisponibilitaRow">
|
||||
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_RowClassName="DisponibilitaRow" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
|
||||
@@ -1192,7 +1206,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" />
|
||||
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user