Completamento insert componenti x JQM e boundle & altro...
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using SteamWare;
|
||||
|
||||
namespace WebSCR_data
|
||||
{
|
||||
public class DtProxy
|
||||
{
|
||||
#region area protected
|
||||
|
||||
protected DtProxy()
|
||||
{
|
||||
// inizializzo i table adapters
|
||||
avvioTableAdapters();
|
||||
setupConnectionString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// procedura di avvio dei tableAdapter
|
||||
/// </summary>
|
||||
protected virtual void avvioTableAdapters()
|
||||
{
|
||||
#if false
|
||||
taAP = new DS_ApplicazioneTableAdapters.AnagPazientiTableAdapter();
|
||||
taVAC = new DS_ApplicazioneTableAdapters.VisAnamCliTableAdapter();
|
||||
taVCP = new DS_ApplicazioneTableAdapters.VisCardioPolTableAdapter();
|
||||
taVLab = new DS_ApplicazioneTableAdapters.VisLabTableAdapter();
|
||||
taVRF = new DS_ApplicazioneTableAdapters.VisRelazFinTableAdapter();
|
||||
taRepVis = new DS_ApplicazioneTableAdapters.stp_rep_DatiFullByPazienteDataTableAdapter();
|
||||
#endif
|
||||
taFile = new DS_UtilityTableAdapters.tblFilesTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config della singola applicazione
|
||||
/// </summary>
|
||||
protected virtual void setupConnectionString()
|
||||
{
|
||||
string connStr = memLayer.ML.confReadString("WebSCRConnectionString");
|
||||
string connStrFiles = memLayer.ML.confReadString("WebSCRFilesConnectionString");
|
||||
// connections del db vocabolario
|
||||
#if false
|
||||
taAP.Connection.ConnectionString = connStr;
|
||||
taVAC.Connection.ConnectionString = connStr;
|
||||
taVCP.Connection.ConnectionString = connStr;
|
||||
taVLab.Connection.ConnectionString = connStr;
|
||||
taVRF.Connection.ConnectionString = connStr;
|
||||
taRepVis.Connection.ConnectionString = connStr;
|
||||
#endif
|
||||
taFile.Connection.ConnectionString = connStrFiles;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region area public
|
||||
|
||||
#if false
|
||||
public DS_ApplicazioneTableAdapters.AnagPazientiTableAdapter taAP;
|
||||
public DS_ApplicazioneTableAdapters.VisAnamCliTableAdapter taVAC;
|
||||
public DS_ApplicazioneTableAdapters.VisCardioPolTableAdapter taVCP;
|
||||
public DS_ApplicazioneTableAdapters.VisLabTableAdapter taVLab;
|
||||
public DS_ApplicazioneTableAdapters.VisRelazFinTableAdapter taVRF;
|
||||
public DS_ApplicazioneTableAdapters.stp_rep_DatiFullByPazienteDataTableAdapter taRepVis;
|
||||
|
||||
#endif
|
||||
public DS_UtilityTableAdapters.tblFilesTableAdapter taFile;
|
||||
|
||||
public static DtProxy man = new DtProxy();
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user