risistemato scheda anagrafica apziente con nuovi campi (da inserire via coockie la gestione "gruppo" paziente come BG/TN)
This commit is contained in:
@@ -31,16 +31,14 @@
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="lblCognome" runat="server" Text='<%# Eval("Cognome") %>' /></b>
|
||||
<br />
|
||||
<asp:Label ID="lblNome" runat="server" Text='<%# Eval("Nome") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Nome" SortExpression="Nome" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblNome" runat="server" Text='<%# Eval("Nome") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
|
||||
<asp:TemplateField HeaderText="Eta" SortExpression="Eta">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblEta" runat="server" Text='<%# Eval("Eta") %>' />
|
||||
<asp:Label ID="lblEta" runat="server" Text='<%# Eval("Eta","{0:N2}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Indirizzo" SortExpression="Indirizzo" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
|
||||
@@ -48,14 +46,30 @@
|
||||
<asp:Label ID="lblIndirizzo" runat="server" Text='<%# Eval("Indirizzo") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Nato a" SortExpression="LuogoNascita" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
|
||||
<%--<asp:TemplateField HeaderText="Nato a" SortExpression="LuogoNascita" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:TemplateField HeaderText="Nato" SortExpression="DataNasc" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblData" runat="server" Text='<%# Eval("DataNasc","{0:dd/MM/yyyy}") %>' />
|
||||
<br />
|
||||
<asp:Label ID="lblLuogo" runat="server" Text='<%# Eval("LuogoNascita") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Nato il" SortExpression="DataNasc" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
|
||||
<asp:TemplateField HeaderText="Telefono" SortExpression="RecTel" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblData" runat="server" Text='<%# Eval("DataNasc","{0:dd/MM/yy}") %>' />
|
||||
<asp:Label ID="lblRecTel" runat="server" Text='<%# Eval("RecTel") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Medico" SortExpression="Medico" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblMedico" runat="server" Text='<%# Eval("Medico") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Note" SortExpression="Note" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblNote" runat="server" Text='<%# stringTrim(Eval("Note"),50) %>' ToolTip='<%# Eval("Note") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="CodF" SortExpression="CodF" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
|
||||
@@ -66,7 +66,27 @@ namespace MedPred
|
||||
// salvo il command argument...
|
||||
lastCmd = e.CommandArgument.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// trimma una stringa alla lunghezza richiesta...
|
||||
/// </summary>
|
||||
/// <param name="stringa"></param>
|
||||
/// <param name="maxChar"></param>
|
||||
/// <returns></returns>
|
||||
public string stringTrim(object _stringa, object _maxChar)
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = _stringa.ToString();
|
||||
if (answ.Length > Convert.ToInt32(_maxChar))
|
||||
{
|
||||
answ = answ.Substring(0, Convert.ToInt32(_maxChar)) + "[...]";
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -31,6 +31,10 @@
|
||||
<label for="textarea2">Indirizzo:</label>
|
||||
<asp:TextBox runat="server" ID="txtIndirizzo" Text='<%# Bind("Indirizzo") %>' placeholder="Indirizzo" data-clear-btn="false" />
|
||||
</li>
|
||||
<li class="ui-field-contain">
|
||||
<label for="textarea2">Telefono:</label>
|
||||
<asp:TextBox runat="server" ID="txtRecTel" Text='<%# Bind("RecTel") %>' placeholder="Telefono" data-clear-btn="false" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ui-block-b">
|
||||
@@ -49,6 +53,16 @@
|
||||
<asp:TextBox runat="server" ID="txtCodF" Text='<%# Bind("CodF") %>' placeholder="Codice Fiscale" data-clear-btn="false" />
|
||||
</li>
|
||||
</ul>
|
||||
<ul data-role="listview" data-inset="true">
|
||||
<li class="ui-field-contain">
|
||||
<label for="textarea2">Medico:</label>
|
||||
<asp:TextBox runat="server" ID="txtMedico" Text='<%# Bind("Medico") %>' placeholder="Medico curante" data-clear-btn="false" />
|
||||
</li>
|
||||
<li class="ui-field-contain">
|
||||
<label for="textarea2">Note:</label>
|
||||
<asp:TextBox runat="server" ID="txtNote" Text='<%# Bind("Note") %>' placeholder="Note" data-clear-btn="false" TextMode="MultiLine" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-grid-solo">
|
||||
@@ -91,6 +105,10 @@
|
||||
<label for="textarea2">Indirizzo:</label>
|
||||
<asp:TextBox runat="server" ID="txtIndirizzo" Text='<%# Bind("Indirizzo") %>' placeholder="Indirizzo" data-clear-btn="false" />
|
||||
</li>
|
||||
<li class="ui-field-contain">
|
||||
<label for="textarea2">Telefono:</label>
|
||||
<asp:TextBox runat="server" ID="txtRecTel" Text='<%# Bind("RecTel") %>' placeholder="Telefono" data-clear-btn="false" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ui-block-b">
|
||||
@@ -109,6 +127,16 @@
|
||||
<asp:TextBox runat="server" ID="txtCodF" Text='<%# Bind("CodF") %>' placeholder="Codice Fiscale" data-clear-btn="false" />
|
||||
</li>
|
||||
</ul>
|
||||
<ul data-role="listview" data-inset="true">
|
||||
<li class="ui-field-contain">
|
||||
<label for="textarea2">Medico:</label>
|
||||
<asp:TextBox runat="server" ID="txtMedico" Text='<%# Bind("Medico") %>' placeholder="Medico curante" data-clear-btn="false" />
|
||||
</li>
|
||||
<li class="ui-field-contain">
|
||||
<label for="textarea2">Note:</label>
|
||||
<asp:TextBox runat="server" ID="txtNote" Text='<%# Bind("Note") %>' placeholder="Note" data-clear-btn="false" TextMode="MultiLine" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-grid-solo">
|
||||
@@ -134,6 +162,7 @@
|
||||
<asp:Parameter Name="Original_IdxPaziente" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="Gruppo" Type="String" DefaultValue="BG" />
|
||||
<asp:Parameter Name="Cognome" Type="String" />
|
||||
<asp:Parameter Name="Nome" Type="String" />
|
||||
<asp:Parameter Name="DataNasc" Type="DateTime" />
|
||||
@@ -141,6 +170,9 @@
|
||||
<asp:Parameter Name="CodF" Type="String" />
|
||||
<asp:Parameter Name="Indirizzo" Type="String" />
|
||||
<asp:Parameter Name="Sesso" Type="String" />
|
||||
<asp:Parameter Name="RecTel" Type="String" />
|
||||
<asp:Parameter Name="Medico" Type="String" />
|
||||
<asp:Parameter Name="Note" Type="String" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter DefaultValue="0" Name="IdxPaziente" QueryStringField="IdxPaziente" Type="Int32" />
|
||||
@@ -153,6 +185,9 @@
|
||||
<asp:Parameter Name="CodF" Type="String" />
|
||||
<asp:Parameter Name="Indirizzo" Type="String" />
|
||||
<asp:Parameter Name="Sesso" Type="String" />
|
||||
<asp:Parameter Name="RecTel" Type="String" />
|
||||
<asp:Parameter Name="Medico" Type="String" />
|
||||
<asp:Parameter Name="Note" Type="String" />
|
||||
<asp:QueryStringParameter DefaultValue="0" Name="Original_IdxPaziente" QueryStringField="IdxPaziente" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
@@ -33,5 +33,6 @@ namespace MedPred
|
||||
Response.Redirect("Accettazione");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Generated
+395
-107
@@ -484,22 +484,30 @@ namespace MedPred_Data {
|
||||
|
||||
private global::System.Data.DataColumn columnIdxPaziente;
|
||||
|
||||
private global::System.Data.DataColumn columnGruppo;
|
||||
|
||||
private global::System.Data.DataColumn columnCognome;
|
||||
|
||||
private global::System.Data.DataColumn columnNome;
|
||||
|
||||
private global::System.Data.DataColumn columnDataNasc;
|
||||
|
||||
private global::System.Data.DataColumn columnCodF;
|
||||
|
||||
private global::System.Data.DataColumn columnLuogoNascita;
|
||||
|
||||
private global::System.Data.DataColumn columnSesso;
|
||||
|
||||
private global::System.Data.DataColumn columnCodF;
|
||||
|
||||
private global::System.Data.DataColumn columnIndirizzo;
|
||||
|
||||
private global::System.Data.DataColumn columnEta;
|
||||
|
||||
private global::System.Data.DataColumn columnRecTel;
|
||||
|
||||
private global::System.Data.DataColumn columnMedico;
|
||||
|
||||
private global::System.Data.DataColumn columnNote;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public AnagPazientiDataTable() {
|
||||
@@ -541,6 +549,14 @@ namespace MedPred_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn GruppoColumn {
|
||||
get {
|
||||
return this.columnGruppo;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn CognomeColumn {
|
||||
@@ -565,14 +581,6 @@ namespace MedPred_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn CodFColumn {
|
||||
get {
|
||||
return this.columnCodF;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn LuogoNascitaColumn {
|
||||
@@ -589,6 +597,14 @@ namespace MedPred_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn CodFColumn {
|
||||
get {
|
||||
return this.columnCodF;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn IndirizzoColumn {
|
||||
@@ -605,6 +621,30 @@ namespace MedPred_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn RecTelColumn {
|
||||
get {
|
||||
return this.columnRecTel;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn MedicoColumn {
|
||||
get {
|
||||
return this.columnMedico;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn NoteColumn {
|
||||
get {
|
||||
return this.columnNote;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -642,18 +682,22 @@ namespace MedPred_Data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public AnagPazientiRow AddAnagPazientiRow(string Cognome, string Nome, System.DateTime DataNasc, string CodF, string LuogoNascita, string Sesso, string Indirizzo, byte Eta) {
|
||||
public AnagPazientiRow AddAnagPazientiRow(string Gruppo, string Cognome, string Nome, System.DateTime DataNasc, string LuogoNascita, string Sesso, string CodF, string Indirizzo, double Eta, string RecTel, string Medico, string Note) {
|
||||
AnagPazientiRow rowAnagPazientiRow = ((AnagPazientiRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
Gruppo,
|
||||
Cognome,
|
||||
Nome,
|
||||
DataNasc,
|
||||
CodF,
|
||||
LuogoNascita,
|
||||
Sesso,
|
||||
CodF,
|
||||
Indirizzo,
|
||||
Eta};
|
||||
Eta,
|
||||
RecTel,
|
||||
Medico,
|
||||
Note};
|
||||
rowAnagPazientiRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowAnagPazientiRow);
|
||||
return rowAnagPazientiRow;
|
||||
@@ -684,14 +728,18 @@ namespace MedPred_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal void InitVars() {
|
||||
this.columnIdxPaziente = base.Columns["IdxPaziente"];
|
||||
this.columnGruppo = base.Columns["Gruppo"];
|
||||
this.columnCognome = base.Columns["Cognome"];
|
||||
this.columnNome = base.Columns["Nome"];
|
||||
this.columnDataNasc = base.Columns["DataNasc"];
|
||||
this.columnCodF = base.Columns["CodF"];
|
||||
this.columnLuogoNascita = base.Columns["LuogoNascita"];
|
||||
this.columnSesso = base.Columns["Sesso"];
|
||||
this.columnCodF = base.Columns["CodF"];
|
||||
this.columnIndirizzo = base.Columns["Indirizzo"];
|
||||
this.columnEta = base.Columns["Eta"];
|
||||
this.columnRecTel = base.Columns["RecTel"];
|
||||
this.columnMedico = base.Columns["Medico"];
|
||||
this.columnNote = base.Columns["Note"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -699,22 +747,30 @@ namespace MedPred_Data {
|
||||
private void InitClass() {
|
||||
this.columnIdxPaziente = new global::System.Data.DataColumn("IdxPaziente", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIdxPaziente);
|
||||
this.columnGruppo = new global::System.Data.DataColumn("Gruppo", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnGruppo);
|
||||
this.columnCognome = new global::System.Data.DataColumn("Cognome", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCognome);
|
||||
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNome);
|
||||
this.columnDataNasc = new global::System.Data.DataColumn("DataNasc", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDataNasc);
|
||||
this.columnCodF = new global::System.Data.DataColumn("CodF", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodF);
|
||||
this.columnLuogoNascita = new global::System.Data.DataColumn("LuogoNascita", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnLuogoNascita);
|
||||
this.columnSesso = new global::System.Data.DataColumn("Sesso", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnSesso);
|
||||
this.columnCodF = new global::System.Data.DataColumn("CodF", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodF);
|
||||
this.columnIndirizzo = new global::System.Data.DataColumn("Indirizzo", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIndirizzo);
|
||||
this.columnEta = new global::System.Data.DataColumn("Eta", typeof(byte), null, global::System.Data.MappingType.Element);
|
||||
this.columnEta = new global::System.Data.DataColumn("Eta", typeof(double), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnEta);
|
||||
this.columnRecTel = new global::System.Data.DataColumn("RecTel", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnRecTel);
|
||||
this.columnMedico = new global::System.Data.DataColumn("Medico", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnMedico);
|
||||
this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNote);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnIdxPaziente}, true));
|
||||
this.columnIdxPaziente.AutoIncrement = true;
|
||||
@@ -723,20 +779,28 @@ namespace MedPred_Data {
|
||||
this.columnIdxPaziente.AllowDBNull = false;
|
||||
this.columnIdxPaziente.ReadOnly = true;
|
||||
this.columnIdxPaziente.Unique = true;
|
||||
this.columnGruppo.AllowDBNull = false;
|
||||
this.columnGruppo.MaxLength = 5;
|
||||
this.columnCognome.AllowDBNull = false;
|
||||
this.columnCognome.MaxLength = 50;
|
||||
this.columnNome.AllowDBNull = false;
|
||||
this.columnNome.MaxLength = 50;
|
||||
this.columnDataNasc.AllowDBNull = false;
|
||||
this.columnCodF.AllowDBNull = false;
|
||||
this.columnCodF.MaxLength = 20;
|
||||
this.columnLuogoNascita.AllowDBNull = false;
|
||||
this.columnLuogoNascita.MaxLength = 50;
|
||||
this.columnSesso.AllowDBNull = false;
|
||||
this.columnSesso.MaxLength = 1;
|
||||
this.columnCodF.AllowDBNull = false;
|
||||
this.columnCodF.MaxLength = 20;
|
||||
this.columnIndirizzo.AllowDBNull = false;
|
||||
this.columnIndirizzo.MaxLength = 50;
|
||||
this.columnEta.ReadOnly = true;
|
||||
this.columnRecTel.AllowDBNull = false;
|
||||
this.columnRecTel.MaxLength = 50;
|
||||
this.columnMedico.AllowDBNull = false;
|
||||
this.columnMedico.MaxLength = 50;
|
||||
this.columnNote.AllowDBNull = false;
|
||||
this.columnNote.MaxLength = 500;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -3470,6 +3534,17 @@ namespace MedPred_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Gruppo {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagPazienti.GruppoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagPazienti.GruppoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Cognome {
|
||||
@@ -3503,17 +3578,6 @@ namespace MedPred_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string CodF {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagPazienti.CodFColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagPazienti.CodFColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string LuogoNascita {
|
||||
@@ -3536,6 +3600,17 @@ namespace MedPred_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string CodF {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagPazienti.CodFColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagPazienti.CodFColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Indirizzo {
|
||||
@@ -3549,10 +3624,10 @@ namespace MedPred_Data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public byte Eta {
|
||||
public double Eta {
|
||||
get {
|
||||
try {
|
||||
return ((byte)(this[this.tableAnagPazienti.EtaColumn]));
|
||||
return ((double)(this[this.tableAnagPazienti.EtaColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Eta\' in table \'AnagPazienti\' is DBNull.", e);
|
||||
@@ -3563,6 +3638,39 @@ namespace MedPred_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string RecTel {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagPazienti.RecTelColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagPazienti.RecTelColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Medico {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagPazienti.MedicoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagPazienti.MedicoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Note {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagPazienti.NoteColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagPazienti.NoteColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public VisBioMecAntRow VisBioMecAntRow {
|
||||
@@ -5304,20 +5412,25 @@ namespace MedPred_Data.DS_ApplicazioneTableAdapters {
|
||||
tableMapping.SourceTable = "Table";
|
||||
tableMapping.DataSetTable = "AnagPazienti";
|
||||
tableMapping.ColumnMappings.Add("IdxPaziente", "IdxPaziente");
|
||||
tableMapping.ColumnMappings.Add("Gruppo", "Gruppo");
|
||||
tableMapping.ColumnMappings.Add("Cognome", "Cognome");
|
||||
tableMapping.ColumnMappings.Add("Nome", "Nome");
|
||||
tableMapping.ColumnMappings.Add("DataNasc", "DataNasc");
|
||||
tableMapping.ColumnMappings.Add("CodF", "CodF");
|
||||
tableMapping.ColumnMappings.Add("LuogoNascita", "LuogoNascita");
|
||||
tableMapping.ColumnMappings.Add("Sesso", "Sesso");
|
||||
tableMapping.ColumnMappings.Add("CodF", "CodF");
|
||||
tableMapping.ColumnMappings.Add("Indirizzo", "Indirizzo");
|
||||
tableMapping.ColumnMappings.Add("Eta", "Eta");
|
||||
tableMapping.ColumnMappings.Add("RecTel", "RecTel");
|
||||
tableMapping.ColumnMappings.Add("Medico", "Medico");
|
||||
tableMapping.ColumnMappings.Add("Note", "Note");
|
||||
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 [AnagPazienti] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([DataNasc] = @Original_DataNasc) AND ([LuogoNascita] = @Original_LuogoNascita) AND ([Sesso] = @Original_Sesso) AND ([CodF] = @Original_CodF) AND ([Indirizzo] = @Original_Indirizzo) AND ((@IsNull_Eta = 1 AND [Eta] IS NULL) OR ([Eta] = @Original_Eta)))";
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [AnagPazienti] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([Gruppo] = @Original_Gruppo) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([DataNasc] = @Original_DataNasc) AND ([LuogoNascita] = @Original_LuogoNascita) AND ([Sesso] = @Original_Sesso) AND ([CodF] = @Original_CodF) AND ([Indirizzo] = @Original_Indirizzo) AND ((@IsNull_Eta = 1 AND [Eta] IS NULL) OR ([Eta] = @Original_Eta)) AND ([RecTel] = @Original_RecTel) AND ([Medico] = @Original_Medico) AND ([Note] = @Original_Note))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPaziente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPaziente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Gruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataNasc", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataNasc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
@@ -5326,12 +5439,16 @@ namespace MedPred_Data.DS_ApplicazioneTableAdapters {
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodF", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Eta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Eta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Eta", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Eta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Eta", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Eta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RecTel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RecTel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Medico", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Medico", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", 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 [AnagPazienti] ([Cognome], [Nome], [DataNasc], [LuogoNascita], [Sesso], [CodF], [Indirizzo]) VALUES (@Cognome, @Nome, @DataNasc, @LuogoNascita, @Sesso, @CodF, @Indirizzo);
|
||||
SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Eta FROM AnagPazienti WHERE (IdxPaziente = SCOPE_IDENTITY())";
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [AnagPazienti] ([Gruppo], [Cognome], [Nome], [DataNasc], [LuogoNascita], [Sesso], [CodF], [Indirizzo], [RecTel], [Medico], [Note]) VALUES (@Gruppo, @Cognome, @Nome, @DataNasc, @LuogoNascita, @Sesso, @CodF, @Indirizzo, @RecTel, @Medico, @Note);
|
||||
SELECT IdxPaziente, Gruppo, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Eta, RecTel, Medico, Note FROM AnagPazienti WHERE (IdxPaziente = SCOPE_IDENTITY())";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Gruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataNasc", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataNasc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -5339,11 +5456,15 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sesso", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sesso", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodF", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RecTel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RecTel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Medico", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Medico", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", 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 [AnagPazienti] SET [Cognome] = @Cognome, [Nome] = @Nome, [DataNasc] = @DataNasc, [LuogoNascita] = @LuogoNascita, [Sesso] = @Sesso, [CodF] = @CodF, [Indirizzo] = @Indirizzo WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([DataNasc] = @Original_DataNasc) AND ([LuogoNascita] = @Original_LuogoNascita) AND ([Sesso] = @Original_Sesso) AND ([CodF] = @Original_CodF) AND ([Indirizzo] = @Original_Indirizzo) AND ((@IsNull_Eta = 1 AND [Eta] IS NULL) OR ([Eta] = @Original_Eta)));
|
||||
SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Eta FROM AnagPazienti WHERE (IdxPaziente = @IdxPaziente)";
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [AnagPazienti] SET [Gruppo] = @Gruppo, [Cognome] = @Cognome, [Nome] = @Nome, [DataNasc] = @DataNasc, [LuogoNascita] = @LuogoNascita, [Sesso] = @Sesso, [CodF] = @CodF, [Indirizzo] = @Indirizzo, [RecTel] = @RecTel, [Medico] = @Medico, [Note] = @Note WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([Gruppo] = @Original_Gruppo) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([DataNasc] = @Original_DataNasc) AND ([LuogoNascita] = @Original_LuogoNascita) AND ([Sesso] = @Original_Sesso) AND ([CodF] = @Original_CodF) AND ([Indirizzo] = @Original_Indirizzo) AND ((@IsNull_Eta = 1 AND [Eta] IS NULL) OR ([Eta] = @Original_Eta)) AND ([RecTel] = @Original_RecTel) AND ([Medico] = @Original_Medico) AND ([Note] = @Original_Note));
|
||||
SELECT IdxPaziente, Gruppo, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Eta, RecTel, Medico, Note FROM AnagPazienti WHERE (IdxPaziente = @IdxPaziente)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Gruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataNasc", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataNasc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -5351,7 +5472,11 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sesso", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sesso", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodF", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RecTel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RecTel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Medico", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Medico", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPaziente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPaziente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Gruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Gruppo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataNasc", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataNasc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
@@ -5360,7 +5485,10 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodF", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodF", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Eta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Eta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Eta", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Eta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Eta", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Eta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RecTel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RecTel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Medico", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Medico", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPaziente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPaziente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -5377,8 +5505,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
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 IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, In" +
|
||||
"dirizzo, Eta\r\nFROM AnagPazienti";
|
||||
this._commandCollection[0].CommandText = "SELECT * FROM AnagPazienti";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
@@ -5397,6 +5524,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
this._commandCollection[3].CommandText = "dbo.stp_AP_insertQuery";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Gruppo", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", 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("@Nome", 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("@DataNasc", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -5404,6 +5532,9 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodF", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indirizzo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sesso", global::System.Data.SqlDbType.Char, 1, 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("@RecTel", 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("@Medico", 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("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_AP_updateQuery";
|
||||
@@ -5416,6 +5547,9 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodF", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indirizzo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sesso", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RecTel", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Medico", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPaziente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -5493,52 +5627,76 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
[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_IdxPaziente, string Original_Cognome, string Original_Nome, System.DateTime Original_DataNasc, string Original_LuogoNascita, string Original_Sesso, string Original_CodF, string Original_Indirizzo, global::System.Nullable<byte> Original_Eta) {
|
||||
public virtual int Delete(int Original_IdxPaziente, string Original_Gruppo, string Original_Cognome, string Original_Nome, System.DateTime Original_DataNasc, string Original_LuogoNascita, string Original_Sesso, string Original_CodF, string Original_Indirizzo, global::System.Nullable<double> Original_Eta, string Original_RecTel, string Original_Medico, string Original_Note) {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxPaziente));
|
||||
if ((Original_Gruppo == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Gruppo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Gruppo));
|
||||
}
|
||||
if ((Original_Cognome == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Cognome");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Cognome));
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Cognome));
|
||||
}
|
||||
if ((Original_Nome == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Nome");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Nome));
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_Nome));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_DataNasc));
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_DataNasc));
|
||||
if ((Original_LuogoNascita == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_LuogoNascita");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_LuogoNascita));
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_LuogoNascita));
|
||||
}
|
||||
if ((Original_Sesso == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Sesso");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Sesso));
|
||||
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Sesso));
|
||||
}
|
||||
if ((Original_CodF == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodF");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodF));
|
||||
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodF));
|
||||
}
|
||||
if ((Original_Indirizzo == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Indirizzo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Indirizzo));
|
||||
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Indirizzo));
|
||||
}
|
||||
if ((Original_Eta.HasValue == true)) {
|
||||
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[9].Value = ((byte)(Original_Eta.Value));
|
||||
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_Eta.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
|
||||
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_RecTel == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_RecTel");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_RecTel));
|
||||
}
|
||||
if ((Original_Medico == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Medico");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Medico));
|
||||
}
|
||||
if ((Original_Note == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Note");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_Note));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
||||
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
@@ -5560,43 +5718,67 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
[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 Cognome, string Nome, System.DateTime DataNasc, string LuogoNascita, string Sesso, string CodF, string Indirizzo) {
|
||||
public virtual int Insert(string Gruppo, string Cognome, string Nome, System.DateTime DataNasc, string LuogoNascita, string Sesso, string CodF, string Indirizzo, string RecTel, string Medico, string Note) {
|
||||
if ((Gruppo == null)) {
|
||||
throw new global::System.ArgumentNullException("Gruppo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Gruppo));
|
||||
}
|
||||
if ((Cognome == null)) {
|
||||
throw new global::System.ArgumentNullException("Cognome");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Cognome));
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Cognome));
|
||||
}
|
||||
if ((Nome == null)) {
|
||||
throw new global::System.ArgumentNullException("Nome");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Nome));
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Nome));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataNasc));
|
||||
this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(DataNasc));
|
||||
if ((LuogoNascita == null)) {
|
||||
throw new global::System.ArgumentNullException("LuogoNascita");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(LuogoNascita));
|
||||
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(LuogoNascita));
|
||||
}
|
||||
if ((Sesso == null)) {
|
||||
throw new global::System.ArgumentNullException("Sesso");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Sesso));
|
||||
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Sesso));
|
||||
}
|
||||
if ((CodF == null)) {
|
||||
throw new global::System.ArgumentNullException("CodF");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodF));
|
||||
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodF));
|
||||
}
|
||||
if ((Indirizzo == null)) {
|
||||
throw new global::System.ArgumentNullException("Indirizzo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Indirizzo));
|
||||
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Indirizzo));
|
||||
}
|
||||
if ((RecTel == null)) {
|
||||
throw new global::System.ArgumentNullException("RecTel");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(RecTel));
|
||||
}
|
||||
if ((Medico == null)) {
|
||||
throw new global::System.ArgumentNullException("Medico");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Medico));
|
||||
}
|
||||
if ((Note == null)) {
|
||||
throw new global::System.ArgumentNullException("Note");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Note));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
@@ -5619,6 +5801,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(
|
||||
string Gruppo,
|
||||
string Cognome,
|
||||
string Nome,
|
||||
System.DateTime DataNasc,
|
||||
@@ -5626,7 +5809,11 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
string Sesso,
|
||||
string CodF,
|
||||
string Indirizzo,
|
||||
string RecTel,
|
||||
string Medico,
|
||||
string Note,
|
||||
int Original_IdxPaziente,
|
||||
string Original_Gruppo,
|
||||
string Original_Cognome,
|
||||
string Original_Nome,
|
||||
System.DateTime Original_DataNasc,
|
||||
@@ -5634,92 +5821,143 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
string Original_Sesso,
|
||||
string Original_CodF,
|
||||
string Original_Indirizzo,
|
||||
global::System.Nullable<byte> Original_Eta,
|
||||
global::System.Nullable<double> Original_Eta,
|
||||
string Original_RecTel,
|
||||
string Original_Medico,
|
||||
string Original_Note,
|
||||
int IdxPaziente) {
|
||||
if ((Gruppo == null)) {
|
||||
throw new global::System.ArgumentNullException("Gruppo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Gruppo));
|
||||
}
|
||||
if ((Cognome == null)) {
|
||||
throw new global::System.ArgumentNullException("Cognome");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Cognome));
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Cognome));
|
||||
}
|
||||
if ((Nome == null)) {
|
||||
throw new global::System.ArgumentNullException("Nome");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Nome));
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Nome));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataNasc));
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(DataNasc));
|
||||
if ((LuogoNascita == null)) {
|
||||
throw new global::System.ArgumentNullException("LuogoNascita");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(LuogoNascita));
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(LuogoNascita));
|
||||
}
|
||||
if ((Sesso == null)) {
|
||||
throw new global::System.ArgumentNullException("Sesso");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Sesso));
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Sesso));
|
||||
}
|
||||
if ((CodF == null)) {
|
||||
throw new global::System.ArgumentNullException("CodF");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodF));
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodF));
|
||||
}
|
||||
if ((Indirizzo == null)) {
|
||||
throw new global::System.ArgumentNullException("Indirizzo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Indirizzo));
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Indirizzo));
|
||||
}
|
||||
if ((RecTel == null)) {
|
||||
throw new global::System.ArgumentNullException("RecTel");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(RecTel));
|
||||
}
|
||||
if ((Medico == null)) {
|
||||
throw new global::System.ArgumentNullException("Medico");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Medico));
|
||||
}
|
||||
if ((Note == null)) {
|
||||
throw new global::System.ArgumentNullException("Note");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Note));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_IdxPaziente));
|
||||
if ((Original_Gruppo == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Gruppo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_Gruppo));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_IdxPaziente));
|
||||
if ((Original_Cognome == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Cognome");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Cognome));
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_Cognome));
|
||||
}
|
||||
if ((Original_Nome == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Nome");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_Nome));
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_Nome));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(Original_DataNasc));
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_DataNasc));
|
||||
if ((Original_LuogoNascita == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_LuogoNascita");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_LuogoNascita));
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_LuogoNascita));
|
||||
}
|
||||
if ((Original_Sesso == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Sesso");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_Sesso));
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_Sesso));
|
||||
}
|
||||
if ((Original_CodF == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodF");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodF));
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_CodF));
|
||||
}
|
||||
if ((Original_Indirizzo == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Indirizzo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_Indirizzo));
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_Indirizzo));
|
||||
}
|
||||
if ((Original_Eta.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((byte)(Original_Eta.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(Original_Eta.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(IdxPaziente));
|
||||
if ((Original_RecTel == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_RecTel");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_RecTel));
|
||||
}
|
||||
if ((Original_Medico == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Medico");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_Medico));
|
||||
}
|
||||
if ((Original_Note == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Note");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_Note));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(IdxPaziente));
|
||||
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)) {
|
||||
@@ -5741,6 +5979,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(
|
||||
string Gruppo,
|
||||
string Cognome,
|
||||
string Nome,
|
||||
System.DateTime DataNasc,
|
||||
@@ -5748,7 +5987,11 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
string Sesso,
|
||||
string CodF,
|
||||
string Indirizzo,
|
||||
string RecTel,
|
||||
string Medico,
|
||||
string Note,
|
||||
int Original_IdxPaziente,
|
||||
string Original_Gruppo,
|
||||
string Original_Cognome,
|
||||
string Original_Nome,
|
||||
System.DateTime Original_DataNasc,
|
||||
@@ -5756,8 +5999,11 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
string Original_Sesso,
|
||||
string Original_CodF,
|
||||
string Original_Indirizzo,
|
||||
global::System.Nullable<byte> Original_Eta) {
|
||||
return this.Update(Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Original_IdxPaziente, Original_Cognome, Original_Nome, Original_DataNasc, Original_LuogoNascita, Original_Sesso, Original_CodF, Original_Indirizzo, Original_Eta, Original_IdxPaziente);
|
||||
global::System.Nullable<double> Original_Eta,
|
||||
string Original_RecTel,
|
||||
string Original_Medico,
|
||||
string Original_Note) {
|
||||
return this.Update(Gruppo, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, RecTel, Medico, Note, Original_IdxPaziente, Original_Gruppo, Original_Cognome, Original_Nome, Original_DataNasc, Original_LuogoNascita, Original_Sesso, Original_CodF, Original_Indirizzo, Original_Eta, Original_RecTel, Original_Medico, Original_Note, Original_IdxPaziente);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -5793,49 +6039,73 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
[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 Cognome, string Nome, global::System.Nullable<global::System.DateTime> DataNasc, string LuogoNascita, string CodF, string Indirizzo, string Sesso) {
|
||||
public virtual int insertQuery(string Gruppo, string Cognome, string Nome, global::System.Nullable<global::System.DateTime> DataNasc, string LuogoNascita, string CodF, string Indirizzo, string Sesso, string RecTel, string Medico, string Note) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
if ((Cognome == null)) {
|
||||
if ((Gruppo == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(Cognome));
|
||||
command.Parameters[1].Value = ((string)(Gruppo));
|
||||
}
|
||||
if ((Nome == null)) {
|
||||
if ((Cognome == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(Nome));
|
||||
command.Parameters[2].Value = ((string)(Cognome));
|
||||
}
|
||||
if ((DataNasc.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((System.DateTime)(DataNasc.Value));
|
||||
}
|
||||
else {
|
||||
if ((Nome == null)) {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((LuogoNascita == null)) {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
else {
|
||||
command.Parameters[3].Value = ((string)(Nome));
|
||||
}
|
||||
if ((DataNasc.HasValue == true)) {
|
||||
command.Parameters[4].Value = ((System.DateTime)(DataNasc.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = ((string)(LuogoNascita));
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodF == null)) {
|
||||
if ((LuogoNascita == null)) {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[5].Value = ((string)(CodF));
|
||||
command.Parameters[5].Value = ((string)(LuogoNascita));
|
||||
}
|
||||
if ((Indirizzo == null)) {
|
||||
if ((CodF == null)) {
|
||||
command.Parameters[6].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[6].Value = ((string)(Indirizzo));
|
||||
command.Parameters[6].Value = ((string)(CodF));
|
||||
}
|
||||
if ((Sesso == null)) {
|
||||
if ((Indirizzo == null)) {
|
||||
command.Parameters[7].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[7].Value = ((string)(Sesso));
|
||||
command.Parameters[7].Value = ((string)(Indirizzo));
|
||||
}
|
||||
if ((Sesso == null)) {
|
||||
command.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[8].Value = ((string)(Sesso));
|
||||
}
|
||||
if ((RecTel == null)) {
|
||||
command.Parameters[9].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[9].Value = ((string)(RecTel));
|
||||
}
|
||||
if ((Medico == null)) {
|
||||
command.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[10].Value = ((string)(Medico));
|
||||
}
|
||||
if ((Note == null)) {
|
||||
command.Parameters[11].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[11].Value = ((string)(Note));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
@@ -5858,7 +6128,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
[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 Cognome, string Nome, global::System.Nullable<global::System.DateTime> DataNasc, string LuogoNascita, string CodF, string Indirizzo, string Sesso, global::System.Nullable<int> Original_IdxPaziente) {
|
||||
public virtual int updateQuery(string Cognome, string Nome, global::System.Nullable<global::System.DateTime> DataNasc, string LuogoNascita, string CodF, string Indirizzo, string Sesso, string RecTel, string Medico, string Note, global::System.Nullable<int> Original_IdxPaziente) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
if ((Cognome == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -5902,11 +6172,29 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
else {
|
||||
command.Parameters[7].Value = ((string)(Sesso));
|
||||
}
|
||||
if ((Original_IdxPaziente.HasValue == true)) {
|
||||
command.Parameters[8].Value = ((int)(Original_IdxPaziente.Value));
|
||||
if ((RecTel == null)) {
|
||||
command.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[8].Value = global::System.DBNull.Value;
|
||||
command.Parameters[8].Value = ((string)(RecTel));
|
||||
}
|
||||
if ((Medico == null)) {
|
||||
command.Parameters[9].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[9].Value = ((string)(Medico));
|
||||
}
|
||||
if ((Note == null)) {
|
||||
command.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[10].Value = ((string)(Note));
|
||||
}
|
||||
if ((Original_IdxPaziente.HasValue == true)) {
|
||||
command.Parameters[11].Value = ((int)(Original_IdxPaziente.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[11].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
|
||||
@@ -12,9 +12,10 @@
|
||||
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.AnagPazienti" 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 [AnagPazienti] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([DataNasc] = @Original_DataNasc) AND ([LuogoNascita] = @Original_LuogoNascita) AND ([Sesso] = @Original_Sesso) AND ([CodF] = @Original_CodF) AND ([Indirizzo] = @Original_Indirizzo) AND ((@IsNull_Eta = 1 AND [Eta] IS NULL) OR ([Eta] = @Original_Eta)))</CommandText>
|
||||
<CommandText>DELETE FROM [AnagPazienti] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([Gruppo] = @Original_Gruppo) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([DataNasc] = @Original_DataNasc) AND ([LuogoNascita] = @Original_LuogoNascita) AND ([Sesso] = @Original_Sesso) AND ([CodF] = @Original_CodF) AND ([Indirizzo] = @Original_Indirizzo) AND ((@IsNull_Eta = 1 AND [Eta] IS NULL) OR ([Eta] = @Original_Eta)) AND ([RecTel] = @Original_RecTel) AND ([Medico] = @Original_Medico) AND ([Note] = @Original_Note))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataNasc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataNasc" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -23,15 +24,19 @@
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodF" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Indirizzo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Indirizzo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Eta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Eta" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Eta" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Eta" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Eta" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Eta" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RecTel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RecTel" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Medico" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Medico" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [AnagPazienti] ([Cognome], [Nome], [DataNasc], [LuogoNascita], [Sesso], [CodF], [Indirizzo]) VALUES (@Cognome, @Nome, @DataNasc, @LuogoNascita, @Sesso, @CodF, @Indirizzo);
|
||||
SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Eta FROM AnagPazienti WHERE (IdxPaziente = SCOPE_IDENTITY())</CommandText>
|
||||
<CommandText>INSERT INTO [AnagPazienti] ([Gruppo], [Cognome], [Nome], [DataNasc], [LuogoNascita], [Sesso], [CodF], [Indirizzo], [RecTel], [Medico], [Note]) VALUES (@Gruppo, @Cognome, @Nome, @DataNasc, @LuogoNascita, @Sesso, @CodF, @Indirizzo, @RecTel, @Medico, @Note);
|
||||
SELECT IdxPaziente, Gruppo, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Eta, RecTel, Medico, Note FROM AnagPazienti WHERE (IdxPaziente = SCOPE_IDENTITY())</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataNasc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataNasc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -39,21 +44,24 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Sesso" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Sesso" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodF" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Indirizzo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Indirizzo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RecTel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RecTel" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Medico" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Medico" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Eta
|
||||
FROM AnagPazienti</CommandText>
|
||||
<CommandText>SELECT * FROM AnagPazienti</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [AnagPazienti] SET [Cognome] = @Cognome, [Nome] = @Nome, [DataNasc] = @DataNasc, [LuogoNascita] = @LuogoNascita, [Sesso] = @Sesso, [CodF] = @CodF, [Indirizzo] = @Indirizzo WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([DataNasc] = @Original_DataNasc) AND ([LuogoNascita] = @Original_LuogoNascita) AND ([Sesso] = @Original_Sesso) AND ([CodF] = @Original_CodF) AND ([Indirizzo] = @Original_Indirizzo) AND ((@IsNull_Eta = 1 AND [Eta] IS NULL) OR ([Eta] = @Original_Eta)));
|
||||
SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Eta FROM AnagPazienti WHERE (IdxPaziente = @IdxPaziente)</CommandText>
|
||||
<CommandText>UPDATE [AnagPazienti] SET [Gruppo] = @Gruppo, [Cognome] = @Cognome, [Nome] = @Nome, [DataNasc] = @DataNasc, [LuogoNascita] = @LuogoNascita, [Sesso] = @Sesso, [CodF] = @CodF, [Indirizzo] = @Indirizzo, [RecTel] = @RecTel, [Medico] = @Medico, [Note] = @Note WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([Gruppo] = @Original_Gruppo) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([DataNasc] = @Original_DataNasc) AND ([LuogoNascita] = @Original_LuogoNascita) AND ([Sesso] = @Original_Sesso) AND ([CodF] = @Original_CodF) AND ([Indirizzo] = @Original_Indirizzo) AND ((@IsNull_Eta = 1 AND [Eta] IS NULL) OR ([Eta] = @Original_Eta)) AND ([RecTel] = @Original_RecTel) AND ([Medico] = @Original_Medico) AND ([Note] = @Original_Note));
|
||||
SELECT IdxPaziente, Gruppo, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizzo, Eta, RecTel, Medico, Note FROM AnagPazienti WHERE (IdxPaziente = @IdxPaziente)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataNasc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataNasc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -61,7 +69,11 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Sesso" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Sesso" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodF" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Indirizzo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Indirizzo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RecTel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RecTel" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Medico" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Medico" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Gruppo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataNasc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataNasc" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -70,7 +82,10 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodF" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Indirizzo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Indirizzo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Eta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Eta" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Eta" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Eta" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Eta" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Eta" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RecTel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RecTel" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Medico" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Medico" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="IdxPaziente" ColumnName="IdxPaziente" DataSourceName="MedPred.dbo.AnagPazienti" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
@@ -79,14 +94,18 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="IdxPaziente" DataSetColumn="IdxPaziente" />
|
||||
<Mapping SourceColumn="Gruppo" DataSetColumn="Gruppo" />
|
||||
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
|
||||
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
|
||||
<Mapping SourceColumn="DataNasc" DataSetColumn="DataNasc" />
|
||||
<Mapping SourceColumn="CodF" DataSetColumn="CodF" />
|
||||
<Mapping SourceColumn="LuogoNascita" DataSetColumn="LuogoNascita" />
|
||||
<Mapping SourceColumn="Sesso" DataSetColumn="Sesso" />
|
||||
<Mapping SourceColumn="CodF" DataSetColumn="CodF" />
|
||||
<Mapping SourceColumn="Indirizzo" DataSetColumn="Indirizzo" />
|
||||
<Mapping SourceColumn="Eta" DataSetColumn="Eta" />
|
||||
<Mapping SourceColumn="RecTel" DataSetColumn="RecTel" />
|
||||
<Mapping SourceColumn="Medico" DataSetColumn="Medico" />
|
||||
<Mapping SourceColumn="Note" DataSetColumn="Note" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
|
||||
@@ -117,6 +136,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
<CommandText>dbo.stp_AP_insertQuery</CommandText>
|
||||
<Parameters>
|
||||
<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="nvarchar" DbType="String" Direction="Input" ParameterName="@Gruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataNasc" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -124,6 +144,9 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodF" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Indirizzo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Sesso" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@RecTel" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Medico" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
@@ -141,6 +164,9 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodF" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Indirizzo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Sesso" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@RecTel" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Medico" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
@@ -903,6 +929,13 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Kg, VO2, VO2_Kg, FC_QR1,
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxPaziente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxPaziente" msprop:Generator_ColumnPropNameInRow="IdxPaziente" msprop:Generator_ColumnPropNameInTable="IdxPazienteColumn" msprop:Generator_UserColumnName="IdxPaziente" type="xs:int" />
|
||||
<xs:element name="Gruppo" msprop:Generator_ColumnVarNameInTable="columnGruppo" msprop:Generator_ColumnPropNameInRow="Gruppo" msprop:Generator_ColumnPropNameInTable="GruppoColumn" msprop:Generator_UserColumnName="Gruppo">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="5" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_UserColumnName="Cognome">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -918,13 +951,6 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Kg, VO2, VO2_Kg, FC_QR1,
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DataNasc" msprop:Generator_ColumnVarNameInTable="columnDataNasc" msprop:Generator_ColumnPropNameInRow="DataNasc" msprop:Generator_ColumnPropNameInTable="DataNascColumn" msprop:Generator_UserColumnName="DataNasc" type="xs:dateTime" />
|
||||
<xs:element name="CodF" msprop:Generator_ColumnVarNameInTable="columnCodF" msprop:Generator_ColumnPropNameInRow="CodF" msprop:Generator_ColumnPropNameInTable="CodFColumn" msprop:Generator_UserColumnName="CodF">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="LuogoNascita" msprop:Generator_ColumnVarNameInTable="columnLuogoNascita" msprop:Generator_ColumnPropNameInRow="LuogoNascita" msprop:Generator_ColumnPropNameInTable="LuogoNascitaColumn" msprop:Generator_UserColumnName="LuogoNascita">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -939,6 +965,13 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Kg, VO2, VO2_Kg, FC_QR1,
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodF" msprop:Generator_ColumnVarNameInTable="columnCodF" msprop:Generator_ColumnPropNameInRow="CodF" msprop:Generator_ColumnPropNameInTable="CodFColumn" msprop:Generator_UserColumnName="CodF">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Indirizzo" msprop:Generator_ColumnVarNameInTable="columnIndirizzo" msprop:Generator_ColumnPropNameInRow="Indirizzo" msprop:Generator_ColumnPropNameInTable="IndirizzoColumn" msprop:Generator_UserColumnName="Indirizzo">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -946,7 +979,28 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Kg, VO2, VO2_Kg, FC_QR1,
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Eta" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnEta" msprop:Generator_ColumnPropNameInRow="Eta" msprop:Generator_ColumnPropNameInTable="EtaColumn" msprop:Generator_UserColumnName="Eta" type="xs:unsignedByte" minOccurs="0" />
|
||||
<xs:element name="Eta" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnEta" msprop:Generator_ColumnPropNameInRow="Eta" msprop:Generator_ColumnPropNameInTable="EtaColumn" msprop:Generator_UserColumnName="Eta" type="xs:double" minOccurs="0" />
|
||||
<xs:element name="RecTel" msprop:Generator_ColumnVarNameInTable="columnRecTel" msprop:Generator_ColumnPropNameInRow="RecTel" msprop:Generator_ColumnPropNameInTable="RecTelColumn" msprop:Generator_UserColumnName="RecTel">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Medico" msprop:Generator_ColumnVarNameInTable="columnMedico" msprop:Generator_ColumnPropNameInRow="Medico" msprop:Generator_ColumnPropNameInTable="MedicoColumn" msprop:Generator_UserColumnName="Medico">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
@@ -4,57 +4,57 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="215" ViewPortY="236" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="215" ViewPortY="-24" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:AnagPazienti" ZOrder="8" X="674" Y="64" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:AnagPazienti" ZOrder="1" X="680" Y="16" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:ElencoVisite" ZOrder="10" X="234" Y="-14" Height="210" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:VisLab" ZOrder="3" X="277" Y="383" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:VisAnamCli" ZOrder="6" X="1100" Y="11" Height="459" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="332" />
|
||||
<Shape ID="DesignTable:VisCardioPol" ZOrder="4" X="644" Y="474" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:VisBioMecAnt" ZOrder="1" X="1077" Y="512" Height="723" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="596" />
|
||||
<Shape ID="DesignTable:VisLab" ZOrder="4" X="277" Y="383" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:VisAnamCli" ZOrder="7" X="1100" Y="11" Height="459" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="332" />
|
||||
<Shape ID="DesignTable:VisCardioPol" ZOrder="5" X="644" Y="474" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:VisBioMecAnt" ZOrder="2" X="1077" Y="512" Height="723" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="596" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_VisClinGen_AnagPazienti" ZOrder="9" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>691</X>
|
||||
<Y>388</Y>
|
||||
<X>697</X>
|
||||
<Y>397</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>691</X>
|
||||
<Y>426</Y>
|
||||
<X>697</X>
|
||||
<Y>453</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>577</X>
|
||||
<Y>426</Y>
|
||||
<Y>453</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_VisAnamCli_AnagPazienti" ZOrder="7" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_VisAnamCli_AnagPazienti" ZOrder="8" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>974</X>
|
||||
<Y>226</Y>
|
||||
<X>980</X>
|
||||
<Y>178</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1100</X>
|
||||
<Y>226</Y>
|
||||
<Y>178</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_VisCardioPol_AnagPazienti" ZOrder="5" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_VisCardioPol_AnagPazienti" ZOrder="6" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>723</X>
|
||||
<Y>388</Y>
|
||||
<X>729</X>
|
||||
<Y>397</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>723</X>
|
||||
<X>729</X>
|
||||
<Y>474</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:VisBioMecAnt_AnagPazienti" ZOrder="2" LineWidth="11">
|
||||
<Connector ID="DesignRelation:VisBioMecAnt_AnagPazienti" ZOrder="3" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1077</X>
|
||||
@@ -66,15 +66,15 @@
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1006</X>
|
||||
<Y>439</Y>
|
||||
<Y>453</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>860</X>
|
||||
<Y>439</Y>
|
||||
<X>866</X>
|
||||
<Y>453</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>860</X>
|
||||
<Y>388</Y>
|
||||
<X>866</X>
|
||||
<Y>397</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
|
||||
Reference in New Issue
Block a user