2
0

NativeOledbWrapper.cs 877 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. class NativeOledbWrapper
  3. {
  4. const string msg = "It is native method used by Microsoft System.Data.OleDb implementation that Mono or non-Windows platform does not support.";
  5. #if !MOBILE
  6. public static int SizeOfPROPVARIANT {
  7. get { throw new NotSupportedException (msg); }
  8. }
  9. public static int ITransactionAbort (IntPtr handle)
  10. {
  11. throw new NotSupportedException (msg);
  12. }
  13. public static int ITransactionCommit (IntPtr handle)
  14. {
  15. throw new NotSupportedException (msg);
  16. }
  17. public static bool MemoryCompare (IntPtr dst, IntPtr src, int bytes)
  18. {
  19. throw new NotSupportedException (msg);
  20. }
  21. public static IntPtr IChapteredRowsetReleaseChapter (IntPtr handle, IntPtr chapter)
  22. {
  23. throw new NotSupportedException (msg);
  24. }
  25. #endif
  26. public static int MemoryCopy (IntPtr dst, IntPtr src, int bytes)
  27. {
  28. throw new NotSupportedException (msg);
  29. }
  30. }