Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> v.4.0 SelfServicing Documentation example request
 

Pages: 1
Bugs & Issues
v.4.0 SelfServicing Documentation example request
Page:1/1 

  Print all messages in this thread  
Poster Message
raist
User



Location:
Madrid, Spain
Joined on:
19-Apr-2010 23:57:10
Posted:
114 posts
# Posted on: 17-Apr-2013 10:40:20.  
In http://www.llblgen.com/documentation/4.0/LLBLGen%20Pro%20RTF/Using%20the%20generated%20code/SelfServicing/Using%20TypedViews,%20TypedLists%20and%20Dynamic%20Lists/gencode_usingtypedview.htm#tvf

Could it be possible to add a SortExpression to the example?
It seems is it usual business, but it requires a .Source("<alias>") too.

Example:
It is not
Code:
ISortExpression sorterOrdersForCustomer = new SortExpression(OrdersForCustomerFields.EmployeeId | SortOperator.Descending);


... but
Code:
ISortExpression sorterOrdersForCustomer = new SortExpression(OrdersForCustomerFields.EmployeeId.Source("O") | SortOperator.Descending);


TIA
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14569 posts
# Posted on: 17-Apr-2013 18:13:22.  
Are you speaking about the last example on the page?

  Top
raist
User



Location:
Madrid, Spain
Joined on:
19-Apr-2010 23:57:10
Posted:
114 posts
# Posted on: 17-Apr-2013 18:22:30.  
In that one, or in the one titled "Instantiating a TypedView mapped onto a Table Valued Function".
The .Source("<alias>") is only REQUIRED in the TVF mapped TVs, maybe this one is more convenient?
Or change in this one from
Quote:
Be aware to specify 'O' as the source for fields in predicates

to
Quote:
Be aware to specify 'O' as the source for fields in predicates and sort expressions


Regards
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14569 posts
# Posted on: 17-Apr-2013 18:37:37.  
Thanks for the feedback.

  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37797 posts
# Posted on: 18-Apr-2013 12:01:02.  
Done (next build)
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.