Hmmm. Is there any code in Common which already does this? Or is the enrollment logic in the LMS? Ideally we'd re-use that code rather than use the shared ORM...