.NET types and Oracle types
Posted: Thu 11 Nov 2010 10:09
I noticed that when I generate an Oracle database script from a conceptual model that was imported from a SQL server database, the script contains a few things that Oracle does not support:
1. "datetime" is not supported, should be "date" or "timestamp" in Oracle.
2. "varchar(max)" is not supported, "max" should be replaced with maximum string column size which I believe is 4000 in Oracle.
3. Oracle does not have support for boolean values, so "bit" in generated Oracle script should be mapped to char(1) or number(1).
I can probably write a custom T4 template that does it, but shouldn't this be handled by Devart EF script generator?
1. "datetime" is not supported, should be "date" or "timestamp" in Oracle.
2. "varchar(max)" is not supported, "max" should be replaced with maximum string column size which I believe is 4000 in Oracle.
3. Oracle does not have support for boolean values, so "bit" in generated Oracle script should be mapped to char(1) or number(1).
I can probably write a custom T4 template that does it, but shouldn't this be handled by Devart EF script generator?