Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    +1 you bring up a lot of good points not limited to code structure: IDE support and tooling, which can be a lifesaver in large projects Commented Feb 7, 2018 at 19:36
  • If some parts of your entity type is static enough that actually defining a constant name for it is worthwhile, I think it would be more apt to just define a proper data model for it so you can just do nameField = myEntity.ProductName;. Commented Feb 7, 2018 at 20:27
  • @LieRyan - it was much easier to generate plain constants and upgrade existing projects to use them. That said, I am working on generating static types so I can do precisely that Commented Feb 7, 2018 at 20:43