Replies: 3 comments 6 replies
-
I may have missed out on supplying some information above. |
Beta Was this translation helpful? Give feedback.
-
There's an overload to the By default, a domain object maintains its own metastate, including the In a block mode experience (like a web service endpoint, or an MVC postback), you are actually doing an update operation, but the domain object thinks it is "new". The solution is to use the overload of |
Beta Was this translation helpful? Give feedback.
-
Re submitted by mistake |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found an article on CSLA Simple Service Implementation with CSLA.NET and thought what a great mechanism.
I have a web site that uses CSLA and it works fine. I have an updated version of this web site that uses a Business Library as described in the article and it also works fine.
Now I have created an API with the same Business Library but it only partially works. I can read entries from the database but I cannot update/insert them.
When I try to do this the parameters are all set to the default values not the values I have just entered. Below are some code fragments
Code for setting properties
Code for setting up parameters for Insert.
Sample of the code for a property
Any assistance would be greatly appreciated.
Arthur
Beta Was this translation helpful? Give feedback.
All reactions