visual studio lightswitch - How to hide a column in a code-first entity (RIA) -


i thought have been simple not working.

i can, lightswitch screen designer, hide field not visible @ runtime. see lightswitch adds hidden attribute field in lsml file.

but, how have default of not visible fields coming ria services ?

i tried adding scaffoldcolum(false) attribute entity field... no effect. (even tried true in case misunderstood attribute).

furthermore tried other attributes without success.

  • display(autogeneratefield = false)
  • editorbrowsable(editorbrowsablestate.never)

when create ria service, & attach data source, lightswitch treats entity/table, same of it's own entities. though lsmls file has "hidden" attributes applied properties, means "display default" checkbox has been unticked property in table designer.

unticking box means in auto-generated screens property won't displayed. if create own screen, based on entity, screen designer omit adding properties visual tree.

the way know of "hide" property uncheck box in table designer, has done in ls, can't done in ria service itself. maybe in future version, if enough people express desire functionality. can alway go connect website & submit "suggestion".


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -