I'm using Susbsonic 3 with the LINQ templates. I've already added a column called 'ID' to my Articles table. When I try to insert a row using the following code
var db = new LDB();
int newID = db.Insert.Into<ArticlesTable>
(
x => x.Description
).Values(
"TestDescription"
).Execute();
I get the following error message
Can't decide which property to consider the Key - you can create one called 'ID' or mark one with SubSonicPrimaryKey attribute
Any clue on what I'm doing wrong?