Popular Posts...

Avonelle's Tech Blog

And one more BLD / LLBLGen / View Item…

Just discovered one other item I want to remember when using views with LLBLGen and BLD: If the underlying table has a primary key defined as an Identity(), you will want to add some field mapping information in your view. Specifically you’ll want to go into the Field mappings section in the LLBLGen designer and change the “Sequence” for your primary key to @@IDENTITY.

Most things will work without this, but one thing that won’t is passing the newly generated primary key value for your entity to another form or using it in some other way.