public void Add(Acao acao) { db.Acaos.InsertOnSubmit(acao); }
public void Delete(Acao acao) { db.AcaoGrupos.DeleteAllOnSubmit(acao.AcaoGrupos); db.Acaos.DeleteOnSubmit(acao); }
partial void DeleteAcao(Acao instance);
partial void UpdateAcao(Acao instance);
partial void InsertAcao(Acao instance);
private void detach_Acaos(Acao entity) { this.SendPropertyChanging(); entity.Controlador = null; }
private void attach_Acaos(Acao entity) { this.SendPropertyChanging(); entity.Controlador = this; }