The code for an EDS is pretty simple -- I don't know if this is what you wanted. The code below works. it.obsolete is an int in the database.
Code:
<asp:EntityDataSource ID="edsTitleName" runat="server"
ConnectionString="name=ETOSEntities" DefaultContainerName="ETOSEntities"
EnableFlattening="False" EntitySetName="Titles" Select="
it.TitleID, it.TitleName" Where="it.obsolete=0" OrderBy="it.TitleName">
</asp:EntityDataSource>
I don't have code for the case where it.obsolete is a bit. This returned all records, whether it.obsolete was true or false
Code:
Where = "it.obsolete=False"
I also tried this. The logic is backwards, but that doesn't matter because it also failed to filter records.
Code:
Where = it.obsolete
I tried playing around with variations of these. Everything I tried returned all records, no matter whether it.obsolete was True or False. I couldn't find anything on the boards -- probably had the wrong search terms.