brianchance wrote:
I really do not want ALL fields on all views marked IsOptional, just the ones I select in the UI.
It seems like you did this for the stored procedures? http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18005
That's a slightly different issue: as the nullability of parameters isn't determinable, we make a choice: not nullable. As some are nullable, the user has to override this. As the db value is always not nullable, the mismatch thus has to be made by the user manually, and is ignored. This keeps the manual edit as-is after the refresh.
With views this is a different issue: these can change on the db side, and thus a mismatch can be caused by either the target view changed OR a manual edit.
I must say I fail to see what you want. First you say you don't want to deal with nullable<T>, now you don't care for some fields, and do for others. If you don't care for some fields to be nullable<T>, why can't you accept the nullable flag as it's set by the refresher?
We thought about it, but it is really a rare, edge case where you simply don't want to work with the nullability of a field, which is nullable (according to the meta-data) but not in reality (as you say, the data apparently doesn't contain nulls)
Anyway, I'll see what I can do, by comparing old version with new version and the mapped field, but I can't promise anything.