1
votes

I Have two Table(SuperType and Subtype)

SUperType:SWHEADER and Subtype=SW799 enter image description here

enter image description here

now in EF: enter image description here:

and my DTO:

parnet: enter image description here

child: enter image description here

in inserting dont any problem but when get(select) accured error:ORA-01790: expression must have same datatype as corresponding expression

tanx a lot.

1
Because you don't create corretc relationship. - Elvin Mammadov

1 Answers

1
votes

You can't use long data types in unions, the sql generated by the entity framework provider uses unions for inheritance and multiple includes

Oracle Union Restrictions