public void AddPerson(Person person)
 {
     using (var context = new DPADataContext())
     {
         context.Persons.InsertOnSubmit(person);
         context.SubmitChanges();
     }
 }
 partial void DeletePerson(Person instance);
 partial void UpdatePerson(Person instance);
 partial void InsertPerson(Person instance);
		private void detach_Persons(Person entity)
		{
			this.SendPropertyChanging();
			entity.LegalStatus = null;
		}