The ServerAutoRefreshAttribute class is a Custom Attribute that can be applied to properties of DA Linq generated classes.

This attribute is used by DA LINQ for specifying fields whose values can be changed on the database server side by applying default values or triggering execution, in which case the server, after applying a particular change, will prepare and execute the additional SELECT query, which will get new values. The new values will be written into the delta change that will be sent back to the client. On the client, the updated delta will be merged with the client-side data storage.

Note: See the Updates article for more information on how database-side calculated fields are handled by the DataAbstract for .NET.

The ServerAutoRefreshAttribute is generated for schema fields whose ServerAutoRefresh property is set to true in the server Schema.


Instance Methods


Creates a new instance of the ServerAutoRefreshAttribute class.






Sub New()