Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Object question
Message
From
29/05/2003 09:19:53
 
 
To
29/05/2003 08:53:03
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00793835
Message ID:
00793891
Views:
24
Yes, that's an idea, I am using integer PKs.

Thanks
Kev

>If you're using Integer PKs, you could return a negative number.
>
>
>>Hi
>>
>>I have a business object and when I call the Save method it returns the primary key so that the front-end can update the client-side cursor.
>>
>>However, if the Save fails because of business rule violation, how can I handle this? I was thinking of putting a STATUS property that gets updated after each Save, but I was under the impression that BO's should be stateless, and this would break that rule.
>>
>>Can I have some suggestions on this?
>>
>>Thanks
>>Kev
Previous
Reply
Map
View

Click here to load this message in the networking platform