This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
how to use this tool to set optimistic-lock and use version? In the Model properties I can't find where to set this value,thanks! |
|
|
In the Entity properties,help me! |
|
|
Hi maifine, We don't currently have built-in support for setting optimistic locking, though you can do it through partial classes and customising the generated mapping (see http://www.mindscapehq.com/help/nhdesigner/Help%20Topics/CustomisingGeneration.html). However,we'd be happy to implement this support for you. What do you need -- just a way to emit optimistic-lock="none|version|dirty|all" into the mapping, or is there something else you're looking for? |
|
|
Thanks vary mach! Yesterday,I saw the help document and kind use this way to add the addtional properties to the map file: partial class Widget this work well,but sometimes like this property--optimistic-lock is often used to,so my opinion is to let some frequently-used properties can be used like the built-in properties in the design tool.However this tool has been very friendly,it's perfect! |
|