Question about proper seperation of domain and DAL layers
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I am building an object in my domain that looks like this: DeviceMonitor ..public int Id ..public int GetCurrentValue() I created an object in my DAL that will load it up DeviceMonitorDao ..public DeviceMonitor GetById(int) Everytime I call DeviceMonitor.GetCurrentValue() it should return a frequently updated value in the database. How should I seperate this concern into the DAL so that I am not coding it directly into the the Domain object? Thanks a lot, George Mauer