Hello,
I'm migrating a set of reports from InProc session state to SQL Server sessions state (and have read the design considerations document at least 40 times.) I'm using an object data source in a report and was wondering if someone could clarify if I understand correctly
1) ObjectDataSource parameters must be primitive types. i.e., I can not assign a "ReportCriteria" object as a parameter, but must assign ReportCriteria.StartDate, ReportCriteria.EndDate, ReportCriteria.ZipCode, etc as individual parameters?
2) If I add a sorting binding to a column header and click it, the DataObjectMethod that my ObjectDataSource is assigned to will be called again and I have to take the database hit two times? If this is the case and not a misunderstanding on my part, is there a reccommended approach to not hit the database multiple times?
3) Are there any real world examples available anywhere in the documentation or videos? I feel like everything I see works against the "best case" scenarios of clean data and no weird customer requirements?
Many thanks!
Joe
I'm migrating a set of reports from InProc session state to SQL Server sessions state (and have read the design considerations document at least 40 times.) I'm using an object data source in a report and was wondering if someone could clarify if I understand correctly
1) ObjectDataSource parameters must be primitive types. i.e., I can not assign a "ReportCriteria" object as a parameter, but must assign ReportCriteria.StartDate, ReportCriteria.EndDate, ReportCriteria.ZipCode, etc as individual parameters?
2) If I add a sorting binding to a column header and click it, the DataObjectMethod that my ObjectDataSource is assigned to will be called again and I have to take the database hit two times? If this is the case and not a misunderstanding on my part, is there a reccommended approach to not hit the database multiple times?
3) Are there any real world examples available anywhere in the documentation or videos? I feel like everything I see works against the "best case" scenarios of clean data and no weird customer requirements?
Many thanks!
Joe