Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

types-cast.json 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "arrayTemplate": "Array",
  3. "non-nullable-types": [
  4. "bool",
  5. "char",
  6. "short",
  7. "int",
  8. "long",
  9. "float",
  10. "double",
  11. "decimal",
  12. "NpgsqlTypes.NpgsqlPoint",
  13. "NpgsqlTypes.NpgsqlLSeg",
  14. "NpgsqlTypes.NpgsqlPath",
  15. "NpgsqlTypes.NpgsqlPolygon",
  16. "NpgsqlTypes.NpgsqlLine",
  17. "NpgsqlTypes.NpgsqlCircle",
  18. "NpgsqlTypes.NpgsqlBox",
  19. "NpgsqlTypes.NpgsqlInet",
  20. "Guid",
  21. "DateTime",
  22. "TimeSpan",
  23. "DateTimeOffset"
  24. ],
  25. "types": {
  26. "boolean": "bool",
  27. "smallint": "short",
  28. "integer": "int",
  29. "bigint": "long",
  30. "real": "float",
  31. "double precision": "double",
  32. "numeric": "decimal",
  33. "money": "decimal",
  34. "text": "string",
  35. "varchar": "string",
  36. "json": "string",
  37. "jsonb": "string",
  38. "xml": "string",
  39. "point": "NpgsqlTypes.NpgsqlPoint",
  40. "lseg": "NpgsqlTypes.NpgsqlLSeg",
  41. "path": "NpgsqlTypes.NpgsqlPath",
  42. "polygon": "NpgsqlTypes.NpgsqlPolygon",
  43. "line": "NpgsqlTypes.NpgsqlLine",
  44. "circle": "NpgsqlTypes.NpgsqlCircle",
  45. "box": "NpgsqlTypes.NpgsqlBox",
  46. "bit": {
  47. "-1": "bool",
  48. "1": "bool",
  49. "*": "System.Collections.BitArray"
  50. },
  51. "bit varying": "System.Collections.BitArray",
  52. "uuid": "Guid",
  53. "cidr": "NpgsqlTypes.NpgsqlInet",
  54. "inet": "System.Net.IPAddress",
  55. "macaddr": "System.Net.NetworkInformation.PhysicalAddress",
  56. "tsquery": "NpgsqlTypes.NpgsqlTsQuery",
  57. "tsvector": "NpgsqlTypes.NpgsqlTsVector",
  58. "date": "DateTime",
  59. "interval": "TimeSpan",
  60. "timestamp": "DateTime",
  61. "timestamp with time zone": "DateTime",
  62. "time": "TimeSpan",
  63. "time with time zone": "DateTimeOffset",
  64. "bytea": "byte[]",
  65. "name": "string",
  66. "\"char\"": "char",
  67. "char": "char"
  68. }
  69. }