Entity Framework And Business Objects

When you define an entity in the EDMX model you can specify the visibility of each property’s setter and getter, so if you don’t want the ModifiedDate to be visible in other layers, you can simply specify it as internal.

enter image description here

If your requirements are more complicated like the ModifiedDate should be accessible in the entities assembly and the business logic assembly but not in the UI assembly, then you need to create another object which will be exchanged between the business logic and the UI logic layers.

Leave a Comment