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); }
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; }