Default value

Posts   
 
    
Ian avatar
Ian
User
Posts: 511
Joined: 01-Apr-2005
# Posted on: 06-Nov-2006 17:46:30   

Hi,

I have an entity which derives from a view and the view has triggers defined on it that insert into two base tables. A column of one of the base tables is an IDENTITY column and so doesn't require a value. SQL Server however is demanding a value when inserting into the view. So how can I specify a dummy value for the column upon an insert?

I don't think that LLBLGen knows that the base column is an identity. (I don't know if this makes any difference!)

The value needs to be assigned automatically because I don't have access to the code that's programming the entity.

Cheers, Ian.

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 07-Nov-2006 02:20:06   

What is the error you receive? Also please provide the information requested in the this post http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=7722.