ianvink wrote:
I tried both. Both exported and compiled, but only when I exported to Entity did that work for the app.
As Frans, mentioned, it's odd that LLBLGen Designer didn't popup any validation errors when you tried to generate the TypedView. It should report an error similar to:
Message type: Error
Message text: For database 'SQL Server' the typed view 'Invoice' is mapped onto the target 'Northwind.dbo.Invoices', which is a View. A typed view mapped onto targets of type 'View' aren't supported as the Entity Framework can't deal with types without a PK, multiple types mapped onto the same target.
Source: Project Validation
Created on: ...
Maybe you need to update your LLBLGen Pro to the latest version.
ianvink wrote:
I had to right click one of the fields and indicate it was the ID field to make the entity work.
That's expected indeed.
ianvink wrote:
I'd rather the picker not be an entity as it's read only, but I am using Entity as it works while the Typed view does not.
You should do it via an Entity (with PK) or via a SP call, as TypedView is not supported (Ref...).