Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
You can add indexes to views, but not primary keys. So, if you pull the view directly from SQL Server, the business object is not going to see the primary key. The only way to get the BOMapper to see the primary key on a view is to use the Database Deployment Toolkit and create a table with the same structure as the view. You can then define the primary key on the "faux" table and map your business object to it. Then when you build the partial from the DDT information, you will be able to see the primary key.
|