Skip to content

Instantly share code, notes, and snippets.

@juanplopes
Created December 21, 2010 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanplopes/750165 to your computer and use it in GitHub Desktop.
Save juanplopes/750165 to your computer and use it in GitHub Desktop.
[RequiresTransaction]
public void ExcluirPacote(Int32 idPacote)
{
TbClientePacote.Delete(x => x.Pacote.Id == idPacote);
TbItemPacote.Delete(x => x.Pacote.Id == idPacote);
TbMovimento.Delete(x => x.Pacote.Id == idPacote);
TbPacote.Delete(idPacote);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment