This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void InitializeService(DataServiceConfiguration config) | |
{ | |
// TODO: set rules to indicate which entity sets and service operations are visible, updatable, etc. | |
// Examples: | |
config.SetEntitySetAccessRule("*", EntitySetRights.AllRead); | |
// config.SetServiceOperationAccessRule("MyServiceOperation", ServiceOperationRights.All); | |
config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V3; | |
config.UseVerboseErrors = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment