Example #1
0
 /// <summary>
 /// Create a dataAdapter object for this provider.
 /// </summary>
 /// <returns>An 'IDbDataAdapter' object.</returns>
 public virtual IDbDataAdapter CreateDataAdapter()
 {
     if (_templateDataAdapterIsICloneable)
     {
         return((IDbDataAdapter)((ICloneable)_templateDataAdapter).Clone());
     }
     return((IDbDataAdapter)Activator.CreateInstance(_templateDataAdapter.GetType()));
 }