Attaching legs straight to the top without any subframe is unlikely to give the stability you’d want from a dining table, especially as the elm moves. You could still make the frame knock down and then attach the top using buttons
I’m not a fan of Epoxy tables, but many are. Another way would...