I need ideas of how can I substitute the DataPortal model, so I dont use any portals, instead of that I want return object, table or DataSet and to attach any of these to the report on my website.
public static CustomizeCourseCompletionWithModuleList GetCustomizeCourseCompletionWithModuleList()
{
var cmd = new StoredProcedure
{
CommandText = "CustomizeCourseCompletionWithModuleSelectById",
CommandType = System.Data.CommandType.StoredProcedure
};
cmd.Parameters.Add("@ID", DBNull.Value);
return DataPortal.Fetch<CustomizeCourseCompletionWithModuleList>(cmd);
}