This project has moved and is read-only. For the latest updates, please go here.

DbDataSource 1.01

Rating: No reviews yet
Downloads: 75
Change Set: f67361383b6a
Released: Nov 16, 2013
Updated: Nov 16, 2013 by simonegli
Dev status: Stable Help Icon

Recommended Download

Application EntityFramework.Web.UI.dll
application, 69K, uploaded Nov 16, 2013 - 36 downloads

Other Available Downloads

Application EntityFramework.Web.UI.pdb
application, 134K, uploaded Nov 16, 2013 - 16 downloads
Documentation DbDataSource API Doc.chm
documentation, 443K, uploaded Nov 16, 2013 - 23 downloads

Release Notes

Copy this dll to you bin folder and add the following to your web.config:

<pages>
  <controls>
    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="EntityFramework.Web.UI" />
  </controls>
</pages>


You then can add a datasource in your markup like so:

<asp:DbDataSource ID="source" runat="server" Source="Namespace.MyDbContext.MyDbSetProperty" />

You can also filter the result with LINQ in the Where property and select values with the Select property like so:


Where:

<% source.Where = set => set.OfType<MyEntityType>().Where(s => My where expression here)) %>

Select:

<% source.Select = set => set.OfType<MyEntityType>().Select(s => My select expression here)) %>

Reviews for this release

No reviews yet for this release.