Not Supported Constructs
The following LLBLGen Pro Designer constructs are not supported for Entity Framework v4. Using an element on this list will result in a validation error of the project.
- Enum typed fields
- Type converters
- Discriminator fields which have as type System.Guid.
- Action Combinations on mappings (all entities are always Create/Retrieve/Update/Delete)
- Schema based sequences, e.g. sequences in PostgreSql, SQL Server 2012 and higher.
- Typed View definitions mapped onto a table or view
- Many-to-many relationships which are not 'pure': only many-to-many relationships where the intermediate entity only has foreign key fields and they all form the PK are supported.
Info
Mapping an entity onto a view is supported, under the following conditions:
- The entity has at least one identifying field set
- All entities mapped onto the same view have the same view field(s) as identifying field(s).
This restriction is necessary because the entity framework requires a
primary key on every database element which is a target of a mapping. As
a view doesn't have a pk definition, it's determined from the
entity/entities mapped onto the view.