I have issue with EF code first
when I am trying to insert new record into table I recieve message.
Cannot insert explicit value for identity column
You don't need to change mapping code, instead you should change this line:
lngRequestLineID = 1001233
to this:
lngRequestLineID = 0
In my expirence decorating de Id entity's property with [KeyAttribute] is enought.