Am I doing something wrong, or is this a subtle bug?
Consider:
<llblgenpro:LLBLGenProDataSource
ID="llbDataSource"
runat="server"
DataContainerType="EntityCollection"
EntityCollectionTypeName="Talisman.CorpScorecard.Domain.MetricScorecardCollection, Talisman.CorpScorecard.Domain"
LivePersistence="True"
ThrowExceptionOnIllegalFieldInput="true" />
<llblgenpro:LLBLGenProDataSource
ID="llbDataSource"
runat="server"
DataContainerType="EntityCollection"
EntityCollectionTypeName="Talisman.CorpScorecard.Domain.CollectionClasses.MetricScorecardCollection, Talisman.CorpScorecard.Domain"
LivePersistence="true"
ThrowExceptionOnIllegalFieldInput="True" />
The first declaration is missing the .CollectionClasses, and when bound to a GridView, ie:
<asp:GridView ID="gridMain" runat="server"ID="llbDataSource" EmptyDataText="No data found."
I always just got the output "No Data Found."
When I set tracing "SqlServerDQE" value="4", and do a compare with the correct vs incorrect declaration, with the incorrect declaration, there is no select generated at all. Which I suppose makes sense somewhat, because it is an incorrect declaration.
But I would expect in this situation to get at least a huge runtime error, but there were no complaints at all. Why is that?