Entities mapped from Views in SQL Server 2005

Posts   
 
    
ggpnet
User
Posts: 21
Joined: 07-Apr-2005
# Posted on: 03-Aug-2006 15:50:36   

Hi,

For the Entities (SelfServicing) mapped from a View (SQL Server 2005 Express Edition) the fields mapped from a Computed Columns appear as IsReadOnly = False.

Should be = True or I'm missing something.

Thanks in advance

Best Regards Gianfranco

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 03-Aug-2006 16:03:17   

Is this info available in the view DDL? I'm mean is it retrievable?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 03-Aug-2006 16:30:11   

It is retrievable, not it's not stored in the meta-data for a view inside LLBLGen Pro, so the entity mapper doesn't know it's a readonly field as the View meta-data doesn't contain that info in the llblgen pro project. (it's retrievable from some databases, however they don't update this info often so it's not really useful)

Frans Bouma | Lead developer LLBLGen Pro