{"ERROR [42704] [IBM][DB2] SQL0204N \"BOOLEAN\" is an undefined name."}
Assume I have a Person table for a PersonType and I have other types that derive from the PersonType like Employee or Contractor. Well there may be the case where the Person is neither of those and so I'd want just the persons information. I've tested the code implementing this idea in SQL Express and it works fine but with DB2 on 10.1 provider and EF5 I receive the above error. Anyone have experience with inheritance issues out of EF and DB2?
public class Person {
// Some properties tied to person table.
}
public class Employee : Person {
// Some properties tied to Employee Table.
}
public class Contractor : person {
// Some properties tied to Contractor Table
}
DBSet<Person> People { get; set; }
Primary Key is derived from Person class.