Exemplo n.º 1
0
 public void AddPerson(Person person)
 {
     using (var context = new DPADataContext())
     {
         context.Persons.InsertOnSubmit(person);
         context.SubmitChanges();
     }
 }
Exemplo n.º 2
0
 partial void DeletePerson(Person instance);
Exemplo n.º 3
0
 partial void UpdatePerson(Person instance);
Exemplo n.º 4
0
 partial void InsertPerson(Person instance);
Exemplo n.º 5
0
		private void detach_Persons(Person entity)
		{
			this.SendPropertyChanging();
			entity.LegalStatus = null;
		}