I have a SQL Server database. This database has a table called Item. Item has a property called \"ID\". ID is the primary key on my table. This primary key is an int with a
The simplest way is:
1. open dbml
2. Select class for inserting
3. Select column with primary-key
4. check Auto Generated Property in properties window (it should be set to True)