I Have following Entity and Configuration
Code: Select all
public class GuaranteeLetter : BaseEntity{
public string XmlData { get; set; }
}
Code: Select all
modelBuilder.Property<string>(x => x.XmlData).HasColumnType("XMLTYPE").ValueGeneratedNever();
CREATE TABLE GUARANTEE_LETTER
(
XMLDATA XMLTYPE;
);
I have XMLTYPE column in database. When I try to insert data using Entity Framework Core 2.1 I am getting the error below.
I Could not find solution or workaround for this issue.ORA-00932: inconsistent datatypes: expected - got NCLOB
I need urgent help.
Thanks