Table with no primary key

Posts   
 
    
mshe
User
Posts: 167
Joined: 02-Feb-2006
# Posted on: 30-Oct-2007 18:15:25   

I noticed LLBLGen Pro gives a warning for tables without a primary key.

What if my table really has no key (i.e. duplicate data is ok - don't want an identity field).

Will LLBLGen Pro function correctly?

Here is what I have:

Customer Record CustomerID Name City etc.

Customer Parameters Name Value

Customer parameters can contain duplicates.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 31-Oct-2007 01:48:00   

I think that wont work as expected: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=4708

So, you have to add a PK (f.i.: PK: Name, Value, or PK: SomeAutoId).

Regards,

David Elizondo | LLBLGen Support Team