diff --git a/src/Microsoft.Restier.Core/Properties/Resources.Designer.cs b/src/Microsoft.Restier.Core/Properties/Resources.Designer.cs
index 710d77b2..b4f443c2 100644
--- a/src/Microsoft.Restier.Core/Properties/Resources.Designer.cs
+++ b/src/Microsoft.Restier.Core/Properties/Resources.Designer.cs
@@ -97,11 +97,11 @@ internal static string CannotSetChangeSetIfThereIsResult {
}
///
- /// Looks up a localized string similar to The results source cannot be set if there is error..
+ /// Looks up a localized string similar to The results source cannot be set if there is any error..
///
- internal static string CannotSetResultsSourceIfThereIsError {
+ internal static string CannotSetResultsSourceIfThereIsAnyError {
get {
- return ResourceManager.GetString("CannotSetResultsSourceIfThereIsError", resourceCulture);
+ return ResourceManager.GetString("CannotSetResultsSourceIfThereIsAnyError", resourceCulture);
}
}
diff --git a/src/Microsoft.Restier.Core/Properties/Resources.resx b/src/Microsoft.Restier.Core/Properties/Resources.resx
index 846ab2b1..14adc693 100644
--- a/src/Microsoft.Restier.Core/Properties/Resources.resx
+++ b/src/Microsoft.Restier.Core/Properties/Resources.resx
@@ -129,8 +129,8 @@
The change set cannot be set if there is already a result.
-
- The results source cannot be set if there is error.
+
+ The results source cannot be set if there is any error.
The total count cannot be set if there is no result yet.
diff --git a/src/Microsoft.Restier.Core/Query/QueryResult.cs b/src/Microsoft.Restier.Core/Query/QueryResult.cs
index 1d4c82a5..5d9ca59d 100644
--- a/src/Microsoft.Restier.Core/Query/QueryResult.cs
+++ b/src/Microsoft.Restier.Core/Query/QueryResult.cs
@@ -92,7 +92,7 @@ public IEdmEntitySet ResultsSource
if (this.error != null)
{
throw new InvalidOperationException(
- Resources.CannotSetResultsSourceIfThereIsError);
+ Resources.CannotSetResultsSourceIfThereIsAnyError);
}
this.resultsSource = value;
diff --git a/src/Microsoft.Restier.WebApi/Properties/Resources.Designer.cs b/src/Microsoft.Restier.WebApi/Properties/Resources.Designer.cs
index d2bddab6..8c797f56 100644
--- a/src/Microsoft.Restier.WebApi/Properties/Resources.Designer.cs
+++ b/src/Microsoft.Restier.WebApi/Properties/Resources.Designer.cs
@@ -187,11 +187,11 @@ internal static string PathSegmentNotSupported {
}
///
- /// Looks up a localized string similar to Post unbound action is not supported by `RestierController`..
+ /// Looks up a localized string similar to Post to unbound action is not supported by `RestierController`..
///
- internal static string PostUnboundActionNotSupported {
+ internal static string PostToUnboundActionNotSupported {
get {
- return ResourceManager.GetString("PostUnboundActionNotSupported", resourceCulture);
+ return ResourceManager.GetString("PostToUnboundActionNotSupported", resourceCulture);
}
}
diff --git a/src/Microsoft.Restier.WebApi/Properties/Resources.resx b/src/Microsoft.Restier.WebApi/Properties/Resources.resx
index 9e415179..09ac9a4f 100644
--- a/src/Microsoft.Restier.WebApi/Properties/Resources.resx
+++ b/src/Microsoft.Restier.WebApi/Properties/Resources.resx
@@ -159,8 +159,8 @@
Path segment not supported: {0}
-
- Post unbound action is not supported by `RestierController`.
+
+ Post to unbound action is not supported by `RestierController`.
The resource you requested is not found.
diff --git a/src/Microsoft.Restier.WebApi/RestierController.cs b/src/Microsoft.Restier.WebApi/RestierController.cs
index 40b77630..105f837b 100644
--- a/src/Microsoft.Restier.WebApi/RestierController.cs
+++ b/src/Microsoft.Restier.WebApi/RestierController.cs
@@ -210,7 +210,7 @@ public async Task PostAction(CancellationToken cancellationTo
UnboundActionPathSegment actionPathSegment = path.Segments.Last() as UnboundActionPathSegment;
if (actionPathSegment == null)
{
- throw new NotSupportedException(Resources.PostUnboundActionNotSupported);
+ throw new NotSupportedException(Resources.PostToUnboundActionNotSupported);
}
ActionInvocationEntry entry = new ActionInvocationEntry(actionPathSegment.ActionName, null);