During the compilation of a custom script with the DBCompiler, the error "CreateSingleDbObject is not a member of Ientity" is raised, but when editing the script in Visual Studio, the CreateSingleDbObject IS available and shows as a member of IEntity. Also, in Visual Studio it can be debugged without issue.
The code causing the issue:
Dim hist_ADSAccount_Object As New VI.DB.History.ColumnHistory(ADSAccount_Object.Entity.CreateSingleDbObject(connection), […]