Assume I have a table and Entity Set 'Assets'.
In partial class 'Asset' I created new property, and in this property's getter I want to query database and based on the query results return something.
Can I query database from inside an Entity?
Assume I have a table and Entity Set 'Assets'.
In partial class 'Asset' I created new property, and in this property's getter I want to query database and based on the query results return something.
Can I query database from inside an Entity?