THESE FORUMS ARE NOW FROZEN
Please choose "Forums" from the Main menu of www.entityspaces.net to get to our new forums.

Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • CASE in ORDER BY

    I have a dynamic query with a hierarchical object model where we want to order records by the parent sort if it is a parent record, otherwise use a child sort. The query I have is this: Code: SELECT eme.[EMEntityID] , eme.[EMEntityCode] , eme.[EMEntityName] , eme.[Active] , ens.[EMEntityParentID] , eme...
    Posted to Dynamic Query API (Forum) by tlbignerd on 10-03-2009
  • Looping through a joined dynamic query with columns from different tables

    Hello, on your documentation page http://www.developer.entityspaces.net/documentation/DynamicQuery/Join/Join.aspx I found for joined queries the following content: CustomerQuery cust = new CustomerQuery ( "c" ); OrderQuery order = new OrderQuery ( "o" ); OrderItemQuery item = new OrderItemQuery ( "oi...
    Posted to Dynamic Query API (Forum) by JanSchoenrock on 04-24-2009
  • Accessing Dynamic Join Query Fields

    Hi All, I'm attempting my first lot of dynamic joins (in he past I've used views and never needed to use dynamic joins), and I've run into a problem accessing the join fields. Below is the code I'm using to join two tables, return all records, and then loop through the collection. The primary table fields...
    Posted to Dynamic Query API (Forum) by david@ripteq.com.au on 04-08-2009
  • New to EntitySpaces and need help creating Dynamic SQL

    I'm new to EntitySpaces but I'm verey familiar with it's ancestor (dOOdads) I'm trying to recreate the following SQL Statement (which is currently a stored procedure) with EntitySpaces: SELECT COUNT(*) FROM CloakData WHERE RecordType = 'UA' AND [Value] = @UAValue AND (@SpiderName = '' OR SpiderName ...
    Posted to Dynamic Query API (Forum) by AArce on 02-25-2009
  • How do I return the count of records in a join as a scalar?

    My first attempt which seemed to work was to add one column to the select clause which contained the .Count operator, and then iterate over the collection (there should only be one entity) to retrieve the value of the column. This is a bit daft. My second attempt uses this code - Code: public static...
    Posted to Dynamic Query API (Forum) by nzduck on 01-01-2009
Page 1 of 1 (5 items)
Copyright © 2005 - 2009, EntitySpaces, LLC