Primary Column property not set

When I try to create a new object I get the message "Primary Column property not set" I cannot see anywhere in the object creation page to set this.

 

Can someone direct me to where to set this property

I using the trial version

Like 0

Like

2 comments
Best reply

Hi Robert,

Typically, your object should have "BaseEntity" as it's parent. When BaseEntity is selected as the parent, it will inherit an Id column (plus others) and the Id column will be selected as the Id column for the object. The error is letting you know that the object does not have a column selected as the Id column (when you select BaseEntity as the parent it will select the Id column as the objects "Id" property).

Here's an example of what I mean: https://share.customerfx.com/ApuEljAl

Ryan

Hi Robert,

Typically, your object should have "BaseEntity" as it's parent. When BaseEntity is selected as the parent, it will inherit an Id column (plus others) and the Id column will be selected as the Id column for the object. The error is letting you know that the object does not have a column selected as the Id column (when you select BaseEntity as the parent it will select the Id column as the objects "Id" property).

Here's an example of what I mean: https://share.customerfx.com/ApuEljAl

Ryan

Ryan Farley,

Thanks Ryan, makes total sense.  I was coming at this from a DB perspective not an ORM object modeling perspective duh!

 

And thanks so much for thge video, that is awesome!

Show all comments