Skip to content

Instantly share code, notes, and snippets.

@AdamCaviness
Created January 20, 2014 21:20
Show Gist options
  • Save AdamCaviness/8529449 to your computer and use it in GitHub Desktop.
Save AdamCaviness/8529449 to your computer and use it in GitHub Desktop.
var parameters = new UriOperationParameter[] {
new UriOperationParameter("userId", _userSession.User.UserID ),
new UriOperationParameter("platformContextId", _appSession.PlatformContextId) };
var context = _dataContextFactory.Create(MergeOption.AppendOnly);
_settings = context.Execute<Setting>(new Uri("GetSettings", UriKind.Relative), "GET", false, parameters).ToList();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment