Simon Mourier's Avatar
Simon Mourier's blog (1346 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • c#
  • database

codefluent prevent get for property

Jul 19, 2016 See the question and my original answer on StackOverflow

You want to set the IsModel property to false on the entity property "Products". It means "model" layer producers (as opposed to "persistence" layer producers) should not declare this property. Note this is only partially supported, as it can have side effects on other producers, so make sure it works well in your context.

enter image description here

  • SmoBlog © 2010-2025 Simon Mourier. All rights reserved.
  • Privacy & Terms