ParameterMetadataWrapper.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. using System;
  2. using java.sql;
  3. namespace System.Data.Common
  4. {
  5. public class ParameterMetadataWrapper : java.sql.ResultSetMetaData
  6. {
  7. #region Fields
  8. ParameterMetaData _parameterMetaData;
  9. #endregion // Fields
  10. #region Constructors
  11. public ParameterMetadataWrapper(ParameterMetaData parameterMetaData)
  12. {
  13. _parameterMetaData = parameterMetaData;
  14. }
  15. #endregion // Constructors
  16. #region Methods
  17. public int getColumnCount() { throw new NotImplementedException(); }
  18. public int getColumnDisplaySize(int i) { throw new NotImplementedException(); }
  19. public int getColumnType(int i) { throw new NotImplementedException(); }
  20. public int getPrecision(int i) { throw new NotImplementedException(); }
  21. public int getScale(int i) { throw new NotImplementedException(); }
  22. public int isNullable(int i) { throw new NotImplementedException(); }
  23. public bool isAutoIncrement(int i) { throw new NotImplementedException(); }
  24. public bool isCaseSensitive(int i) { throw new NotImplementedException(); }
  25. public bool isCurrency(int i) { throw new NotImplementedException(); }
  26. public bool isDefinitelyWritable(int i) { throw new NotImplementedException(); }
  27. public bool isReadOnly(int i) { throw new NotImplementedException(); }
  28. public bool isSearchable(int i) { throw new NotImplementedException(); }
  29. public bool isSigned(int i) { throw new NotImplementedException(); }
  30. public bool isWritable(int i) { throw new NotImplementedException(); }
  31. public String getCatalogName(int i) { throw new NotImplementedException(); }
  32. public String getColumnClassName(int i) { throw new NotImplementedException(); }
  33. public String getColumnLabel(int i) { throw new NotImplementedException(); }
  34. public String getColumnName(int i) { throw new NotImplementedException(); }
  35. public String getColumnTypeName(int i) { return _parameterMetaData.getParameterTypeName(i); }
  36. public String getSchemaName(int i) { throw new NotImplementedException(); }
  37. public String getTableName(int i) { throw new NotImplementedException(); }
  38. #endregion // Methods
  39. }
  40. }