Linq insert statement inserts nothing, does not fail either
- by pietjepoeier
I am trying to insert a new account in my Acccounts table with linq. I tried using the EntityModel and Linq2Sql. I get no insert into my database nor an exception of any kind.
public static Linq2SQLDataContext dataContext {
get { return new Linq2SQLDataContext(); }
}
try {
//EntityModel
Accounts acc =…