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
|
The Dynamic Data Futures project (which I think may at least in part end up in .Net 4.0) supports automatic display of enumerated parameters which will be useful in a number of situations. But... |
|
|
Hmm, we don't see EntityState on Dynamic Data Web sites in our test environment. I guess this must be DD Futures being more generous about which properties it's willing to display. I'll add an exclude for this one -- sorry, can't think of a workaround for this. The enums issue comes up because Dynamic Data passes everything to us as strings, and code that converts these strings to the LightSpeed entity property type doesn't yet contain the necessary special support for enums. I'll get this added as well -- again I don't think there's a workaround. I'm not currently in a position to test these fixes with Dynamic Data Futures so please regard them as experimental and let us know if they don't do the job or have unfortunate consequences. They will be included in the 28 July nightly build. Regarding the integer size issue, I am not sure what you are describing here. Dynamic Data passes us a string and we try to convert it to the target type. If the target type is, say, Int16, and the user enters 123456789, then this is too big for an Int16 and will cause an error. As far as I know nothing should be getting converted to an intermediate Int32. Can you provide more detail? Is this another DD Futures issue or do you also see it on DD 3.5 SP1? Thanks! |
|
|
I think you're right. Since the DD 3.5 SP1 release does not display enumerations, this wouldn't be an issue in that release. The enums now work correctly but DD Futures still displays the EntityState column. I can't spot any difference now between the isValid column (which doesn't show up) and the EntityState (which does). So I suspect it could be a problem with DD Futures. Once I've tackled some of the more important issues I'll come back to this (and maybe there will even be a new release of DD Futures by then). I'll give you an update if I find out anything more. I have seen this integer cast issue on DD 3.5 SP1 as well as DD Futures but it only happened in certain situations and I've not come across it recently. I will be going through each entity more methodically soon so I will start a new post if/when I come across it again. Thanks, Chris |
|