Example #1
0
 public static void DeleteAll()
 {
     var dao = new TipoDocumentoDao();
     dao.GetAll()
         .ToList<TipoDocumento>()
         .ForEach( (x) => dao.Delete(x.Id) );
 }
Example #2
0
        public static void Delete()
        {
            var dao = new TipoDocumentoDao();
            var td = dao.Get( 13 ).Value;

            dao.Delete( td.Id );
        }