SQL_DefineEntity_Function: Move "sub" parameter to "options"