Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> Multi-key join condition in LLBLGen 2.6
 

Pages: 1
LLBLGen Pro Runtime Framework
Multi-key join condition in LLBLGen 2.6
Page:1/1 

  Print all messages in this thread  
Poster Message
sparq
User



Location:

Joined on:
14-Mar-2010 22:56:10
Posted:
49 posts
# Posted on: 28-Jul-2017 00:14:02.  
Hi there,

I've had a good search through the forums but can't find anything that covers this kind of join;

Code:
select *
from parent p
join child c on (c.from_parent_id = p.parent_id OR c.to_parent_id = p.parent_id)


I need to be able to specify the following expression somewhere;

Code:
ChildFields.FromParentId == ParentFields.ParentId | ChildFields.ToParentId == ParentFields.ParentId


In the relation/join.

Is such a relation possible in code?
  Top
daelmo
Support Team



Location:
Guatemala City
Joined on:
28-Nov-2005 23:35:24
Posted:
8109 posts
# Posted on: 28-Jul-2017 09:45:19.  
Yes, you can. Please see Custom filters for EntityRelations

David Elizondo
LLBLGen'ing (articles and code snippets) | linkedin | twitter
 
Top
Pages: 1  


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

Version: 2.1.12172008 Final.