Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Architecture> Working with Target per Entity Hierarchy
 

Pages: 1
Architecture
Working with Target per Entity Hierarchy
Page:1/1 

  Print all messages in this thread  
Poster Message
Peterd
User



Location:

Joined on:
14-Jun-2016 13:52:18
Posted:
1 posts
# Posted on: 17-Oct-2016 19:58:07.  

Hey,
Im using LLBLGen Pro 4.1Final (which is set as the co. implementation)
I have a TPEH on an int field of a table with the superType discriminator set to 0 and the SubType set to one (boolean field wouldn't work).

The SubType entity works fine and gives me a subset of values (think softDelete)
The SuperType entity gives me back everything regardless of the discriminator value of 0 which again is fine.

What I cannot do is save a record to the SuperType entity to include the discriminator field as its set to readonly and cannot be changed.

So how do I update this field to the sql tables as required ?

  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14447 posts
# Posted on: 17-Oct-2016 20:36:20.  
Why do you want to update the Discriminator field?
Please not that Types should not be interchangeable. You can not change a SuperType to a SubType and vice versa.


  Top
Pages: 1  


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

Version: 2.1.12172008 Final.