Hello,
I have been succesfully using EF for a while, but I ran into poblem with it.
Tables are getting scaffolded right, but till DateTime comes in place.
In table column is called
CREATED_DATE
in class:
public DateTime? CreatedDate { get; set; }
in context
entity.Property(e => e.CreatedDate)
.HasColumnName("CREATED_DATE")
.HasColumnType("DATE")
.HasDefaultValueSql("NULL");
but when I call save changes I get this error:
Oracle.ManagedDataAccess.Client.OracleException (0x80004005): ORA-00904: "t"."CreatedDate": invalid identifier
I have no idea if I can fix it, or why it generates the name column as CreatedDate, when it is right in context.
Any ideas please?