DbParameter.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // System.Data.Common.DbParameter.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2003
  8. //
  9. #if NET_1_2
  10. namespace System.Data.Common {
  11. public abstract class DbParameter : MarshalByRefObject, IDbDataParameter, IDataParameter
  12. {
  13. #region Constructors
  14. [MonoTODO]
  15. protected DbParameter ()
  16. {
  17. }
  18. #endregion // Constructors
  19. #region Properties
  20. public abstract DbType DbType { get; set; }
  21. public abstract ParameterDirection Direction { get; set; }
  22. public abstract bool IsNullable { get; set; }
  23. public abstract int Offset { get; set; }
  24. public abstract string ParameterName { get; set; }
  25. public abstract byte Precision { get; set; }
  26. public abstract byte Scale { get; set; }
  27. public abstract int Size { get; set; }
  28. public abstract string SourceColumn { get; set; }
  29. public abstract DataRowVersion SourceVersion { get; set; }
  30. public abstract object Value { get; set; }
  31. #endregion // Properties
  32. #region Methods
  33. public abstract void CopyTo (DbParameter destination);
  34. public abstract void ResetDbType ();
  35. #endregion // Methods
  36. }
  37. }
  38. #endif // NET_1_2