Actually I haven't fully checked the whole features and syntax of Llblgen.
I was checking on the projector and prefetch, the scenario I have was I was given an existing code and I need to convert it using Llblgen.
here is the previous code not yet using Llblgen, now where do I start?
public DataTable QSDatasource(int QSTypeId)
{
DataTable dt = new DataTable();
string tablename = BTN();
dt = Process.Database.ExecuteQueryReturnDataTable("SELECT ",tablename,".*,Table2.Name FROM ",tablename,
" INNER JOIN Table2 ON ",tablename,".FieldId = Table2.FieldId",
" WHERE ",BCNW(),
" AND ( -2 = ",QSTypeId.ToString()," OR QSTypeId = ",QSTypeId.ToString(),") ORDER By ",tablename,".CreationDate DESC");
return dt;
}