-
Notifications
You must be signed in to change notification settings - Fork 64
Migrating data to newUserFunctionId tables as part of Consumption plan support #1071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
87276a4
e7d3948
fda6e4c
84a6f9b
820c01e
f3f1655
4a66cc1
b7237b8
ed631b7
894dd3b
8aa1d70
f1315a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,15 @@ public static string GetConnectionString(string connectionStringSetting, IConfig | |
return connectionString; | ||
} | ||
|
||
public static string GetWebSiteName(IConfiguration configuration) | ||
{ | ||
if (configuration == null) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What happens for local development? Is website site name set? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WEBSITE_SITE_NAME value is null for local development, it creates the hex value for userfunctionId only using the functionName for local development |
||
{ | ||
throw new ArgumentNullException(nameof(configuration)); | ||
} | ||
return configuration.GetConnectionStringOrSetting(SqlBindingConstants.WebsiteName); | ||
} | ||
|
||
/// <summary> | ||
/// Parses the parameter string into a list of parameters, where each parameter is separated by "," and has the form | ||
/// "@param1=param2". "@param1" is the parameter name to be used in the query or stored procedure, and param1 is the | ||
|
Uh oh!
There was an error while loading. Please reload this page.