You are right, the distributed L2 cache cannot be enabled from the Model Settings
dialog yet. You can however specify that in the backend configuration which the context uses. You can modify the static GetBackendConfiguration
method of the context class to set the proper options but this code would be regenerated (and your changes would be lost) when the diagram is saved. So I would suggest you to instantiate the context the following way:
BackendConfiguration config = NorthwindEntityDiagrams.GetBackendConfiguration();
(NorthwindEntityDiagrams context =
Those two properties - Enabled
, correspond to the xml nodes that had to be specified in the app.config previously.
As to the registry values, you can just add them if they are missing and you do not want to use the default values. Hope that helps.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items