Creating product variants via DAL

Hi,
I am trying to add product variants via the DAL. I haven’t found any documentation via the documentation. Also via the code i can’t find a solution. Creating a simple product is no issue, but adding properties/variants is.
I hope you guys can help me out