2026-10-14 12:44:18 +02:00
|
|
|
|
namespace syncEdosLocal
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
partial class DataSet1
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
namespace syncEdosLocal.DataSet1TableAdapters
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class EPDDeviceLogTableAdapter
|
|
|
|
|
|
{
|
|
|
|
|
|
public string DynamicConnectionString
|
|
|
|
|
|
{
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
// 1. Update the primary connection string
|
|
|
|
|
|
if (this.Connection != null)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.Connection.ConnectionString = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 2. Clear/Update the cached custom queries collection
|
|
|
|
|
|
if (this._commandCollection == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.InitCommandCollection();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Loop through every cached query and forcefully update its connection
|
|
|
|
|
|
for (int i = 0; i < this._commandCollection.Length; i++)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this._commandCollection[i] != null)
|
|
|
|
|
|
{
|
|
|
|
|
|
this._commandCollection[i].Connection.ConnectionString = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool AcceptChangesDuringFill
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this.Adapter.AcceptChangesDuringFill; }
|
|
|
|
|
|
set { this.Adapter.AcceptChangesDuringFill = value; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-15 15:45:49 +02:00
|
|
|
|
public partial class EPDIDTableAdapter
|
|
|
|
|
|
{
|
2026-10-14 12:44:18 +02:00
|
|
|
|
public bool AcceptChangesDuringFill
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this.Adapter.AcceptChangesDuringFill; }
|
|
|
|
|
|
set { this.Adapter.AcceptChangesDuringFill = value; }
|
|
|
|
|
|
}
|
|
|
|
|
|
public string DynamicConnectionString
|
|
|
|
|
|
{
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
// 1. Update the primary connection string
|
|
|
|
|
|
if (this.Connection != null)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.Connection.ConnectionString = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 2. Clear/Update the cached custom queries collection
|
|
|
|
|
|
if (this._commandCollection == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.InitCommandCollection();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Loop through every cached query and forcefully update its connection
|
|
|
|
|
|
for (int i = 0; i < this._commandCollection.Length; i++)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this._commandCollection[i] != null)
|
|
|
|
|
|
{
|
|
|
|
|
|
this._commandCollection[i].Connection.ConnectionString = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|