Пример #1
0
 public void Add(Acao acao)
 {
     db.Acaos.InsertOnSubmit(acao);
 }
Пример #2
0
 public void Delete(Acao acao)
 {
     db.AcaoGrupos.DeleteAllOnSubmit(acao.AcaoGrupos);
     db.Acaos.DeleteOnSubmit(acao);
 }
Пример #3
0
 partial void DeleteAcao(Acao instance);
Пример #4
0
 partial void UpdateAcao(Acao instance);
Пример #5
0
 partial void InsertAcao(Acao instance);
Пример #6
0
		private void detach_Acaos(Acao entity)
		{
			this.SendPropertyChanging();
			entity.Controlador = null;
		}
Пример #7
0
		private void attach_Acaos(Acao entity)
		{
			this.SendPropertyChanging();
			entity.Controlador = this;
		}