The EntitySpaces Community

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

Query in memory

Last post 08-09-2008, 6:54 AM by Scott.Schecter. 4 replies.
Sort Posts: Previous Next
  •  08-09-2008, 6:31 AM 10640

    Query in memory

    Is there any way to query a collection that's already loaded? For example, in LLBLGen, you can load a collection and then filter that collection using a procedure called "FindMatches". Is there anything similar in ES?

    The reason I ask is because I am using Compact Framework, so I dont want to constantly have to reload a collection that gets filtered on the textchanged event of a control.

     

    Edit: Forgot to mention that LLBLGens "FindMatches" returns the results as a List<int>, so it's nice and quick to find the matching results in the collection, without the collection itself being modified.

     


    Current Projects:
    iVirtualDocket | iWontRemember
  •  08-09-2008, 6:43 AM 10641 in reply to 10640

    Re: Query in memory

    You can filter a collection just like you would an ADO.NET datatable, etc. Is this what you are looking for?

    Regards,

    Scott Schecter
    EntitySpaces | My Site
  •  08-09-2008, 6:45 AM 10642 in reply to 10641

    Re: Query in memory

    But that will change the original collection, correct?

    Current Projects:
    iVirtualDocket | iWontRemember
  •  08-09-2008, 6:47 AM 10643 in reply to 10642

    Re: Query in memory

    Scrap that! it's exactly what I was looking for.

    Current Projects:
    iVirtualDocket | iWontRemember
  •  08-09-2008, 6:54 AM 10645 in reply to 10643

    Re: Query in memory

    Yes, we can do that;)

    Regards,

    Scott Schecter
    EntitySpaces | My Site
View as RSS news feed in XML