forceInsert similar to forceUpdate? #2999
Unanswered
Chicagoan2016
asked this question in
General
Replies: 1 comment
-
It sounds like you're describing a Create new copy scenario. I would normally create a new object and pass in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a scenario where we think a 'forceInsert' option in our Csla objects would make life easier (for us : )).
We are getting data for our object graph, in DataPortal.Fetch, but in our current UI (convoluted and strange UI but users like it) users might decide to create a new record.
We have used object cloning in the past where we would mark the object new and set primary key to zero.
Kind Regards
Beta Was this translation helpful? Give feedback.
All reactions