Ejemplo n.º 1
0
 public static CheckDuplicateProvider Instance()
 {
     if (_objProvider == null)
     {
         var _objProviderConfig = ProviderConfiguration.GetProviderConfiguration("checkDuplicate");
         var _objProviderInfo   = (ProviderBase)_objProviderConfig.Providers[_objProviderConfig.DefaultProvider];
         _objProvider = (CheckDuplicateProvider)DataProviderFactory.CreateDataProvider(_objProviderInfo);
     }
     return(_objProvider);
 }
Ejemplo n.º 2
0
 public static CheckDuplicateProvider Instance()
 {
     if (_objProvider == null)
     {
         var _objProviderConfig = ProviderConfiguration.GetProviderConfiguration("checkDuplicate");
         var _objProviderInfo = (ProviderBase)_objProviderConfig.Providers[_objProviderConfig.DefaultProvider];
         _objProvider = (CheckDuplicateProvider)DataProviderFactory.CreateDataProvider(_objProviderInfo);
     }
     return _objProvider;
 }