FetchUsingUC...

Posts   
 
    
Posts: 23
Joined: 13-Oct-2005
# Posted on: 07-Nov-2005 16:21:19   

I have a table with a with a non-Null field with a defined unique constraint (in addition of the PK). However, I'm not getting a method a FetchUsingUC... method generated in my Entity class. Is there something I need to do to enable that? (I'm using 1.0.2005.1 Final in Self-Servicing mode)

Thanks in advance, Bill

Cadmium avatar
Cadmium
User
Posts: 153
Joined: 19-Sep-2003
# Posted on: 07-Nov-2005 17:48:14   

CvilleCoder wrote:

I have a table with a with a non-Null field with a defined unique constraint (in addition of the PK). However, I'm not getting a method a FetchUsingUC... method generated in my Entity class. Is there something I need to do to enable that? (I'm using 1.0.2005.1 Final in Self-Servicing mode)

Thanks in advance, Bill

I've noticed that is only seems to recognize UC's with certain names, specifically 'IX_TableName', 'IX_TableName_1', etc. So check your UC's name and make sure it looks like that.

Marcus avatar
Marcus
User
Posts: 747
Joined: 23-Apr-2004
# Posted on: 07-Nov-2005 19:34:23   

Make sure the UC is a Unique Contraint rather than a Unique Index