Esempio n. 1
0
 public override DS_Synchronization.DD_CardUnitRateDataTable GetSyncCardUnitRate()
 {
     using (var adapter = DD_CardUnitRateTableAdapter.CreateInstance(ConfigurationManagerEx.ConnectionString, ConfigurationManagerEx.CommandTimeout))
     {
         return(adapter.GetData());
     }
 }
Esempio n. 2
0
 public override DS_Card.DD_CardUnitRateDataTable GetCardUnitRate(int?id)
 {
     using (var adapter = DD_CardUnitRateTableAdapter.CreateInstance(ConfigurationManagerEx.ConnectionString, ConfigurationManagerEx.CommandTimeout))
     {
         return(adapter.GetData(id));
     }
 }