Page 1 of 1

Postgres and JSON?

Posted: Wed 19 Sep 2018 13:15
by RobertK
how do you set a class property to json? (i.e so the column will be a json datatype)

I can see only two class data types: object and string

Re: Postgres and JSON?

Posted: Thu 20 Sep 2018 13:54
by Shalex
Please map json database column to the System.String property. Refer to https://www.devart.com/dotconnect/postg ... pping.html.

Re: Postgres and JSON?

Posted: Thu 27 Sep 2018 02:03
by RobertK
what is the object data type used for?

Re: Postgres and JSON?

Posted: Fri 28 Sep 2018 14:49
by Shalex
System.Object is not mapped to any database type at the moment: https://www.devart.com/dotconnect/postg ... pping.html.

You can change a default mapping via:
* the Tools > Options > Servers' Options > PostgreSQL menu in case of a standalone Entity Developer
* the Tools > Entity Developer > Options > Servers Options > PostgreSQL menu in case of Entity Developer embedded into Visual Studio