public void Insert(Person person) { using (PersonDataContext context = new PersonDataContext()) { context.Persons.InsertOnSubmit(person); context.SubmitChanges(); } }