The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

esDataSource questions

Last post 10-13-2007, 10:34 AM by Stupid2Rules. 8 replies.
Sort Posts: Previous Next
  •  09-26-2007, 6:33 PM 5328

    esDataSource questions

    Hi Mike,

     2 items:

    1. Does the esDataSource still work (or is it just me :-)?  I can't get the the "Entity:" box to display the available entities even though I've regenerated, built the web site, clicked "Configure Data Source" and selected the App_Code.dll (specifically C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\acmesuite\1b52c677\826a73\App_Code.lhdvijo_.dll).
    2. Any luck with adding properties for configuring the esDataSource (see quote from http://community.entityspaces.net/forums/thread/5324.aspx below)?

    Mike.Griffin:

    My apologies, I got list in the pressure cooker of ES2007.

    A minor item - I'm not sure where you're keeping the esDataSource configuration (assembly, entity, and columns).  Does it make sense to add them as properties, which are configurable in the control definition in the ascx/aspx?  It might save a little time if you're adding a bunch of datasources (I created a userControl the other day with a number of drodownlists) if you could just type in another entity and it would be nice not to have to re-pick the Assembly.

    This ability didn't make it into ES2007, however it is my plan to have this in our follow on release in early July. I know, it's really needed. It could be that we put these in the control definition. That's a great idea really, this way defining an esDataSource in pure html would be very easy.  I think that is exactly how I'll do it.

  •  09-26-2007, 7:41 PM 5329 in reply to 5328

    Re: esDataSource questions

    I'll answer all of your questions, but tell me what version of ES you are using. We do plan on enhancing the esDataSource alot on this release, our beta comes out this weekend for the joins and expressions, then we finish off hierarchical binding, which will include a new esDataSourceHierarchical, and we do plan to save all the settings in a resx file so it opens back up with all the settings no matter what. It should work just fine, I will retest here locally before this beta goes out.

    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  09-26-2007, 8:24 PM 5330 in reply to 5329

    Re: esDataSource questions

    I'm using Release 2007.0.0913.0, plus the patch. Thanks.

  •  09-27-2007, 7:38 AM 5341 in reply to 5330

    Re: esDataSource questions

    BTW, IMHO, I think it would be more useful to populate the settings as properties (vs a resx file) - for the reasons I gave above (and possibly because it's more "standard").
  •  09-28-2007, 9:39 PM 5373 in reply to 5341

    Re: esDataSource questions

    Ping?

  •  09-30-2007, 5:32 AM 5397 in reply to 5373

    Re: esDataSource questions

    We are releasing our Beta today with the Joins, Arithmetic Expressions, and enhanced ASPX grids. The trial comes with the grids now and with a VB.NET and C# esDataSource sample that work just fine, that should help.

    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  10-10-2007, 12:02 PM 5769 in reply to 5397

    Re: esDataSource questions

    Do you have an idea yet when the new esDataSourceHierarchical will be available?

  •  10-10-2007, 2:36 PM 5772 in reply to 5769

    Re: esDataSource questions

    So you do you want to do hierarchical databinding for ASP.NET right?  It's planned for this release, it wont be in this weekends beta (it is for Windows.Forms though). My hope is the end of October.

    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  10-13-2007, 10:34 AM 5836 in reply to 5772

    Re: esDataSource questions

    Yea, I'm looking forward to a couple things:

    1. Hierarchical databinding - I've got an organization tree that would be great.  My only concern is can ES handle the circular references (parent-child).  ES can't handle circular reference via another table, but maybe it's OK if it's from the same table?

    2. Not having to hunt down the class library in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files.

    It turns out that since DotNetNuke is written in VB and requires a code subdirectory for the C# BusinessObjects, the dll you need to point to is: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\<Web App Name>\<one or more subdirs>\App_SubCode_<Code Subdirectory Name>.*.dll 
    (e.g. App_SubCode_aaPart.dgfcnhyb.dll).

View as RSS news feed in XML