diff --git a/Base/XBaseEntityHub.cs b/Base/XBaseEntityHub.cs index 52c3324..8376429 100644 --- a/Base/XBaseEntityHub.cs +++ b/Base/XBaseEntityHub.cs @@ -35,7 +35,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.Add.GetStringValue(), - entity.ToJSON(), + entity.ToJSON(camelCase: true), connectionId ); } @@ -57,7 +57,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.AddOrUpdate.GetStringValue(), - entity.ToJSON(), + entity.ToJSON(camelCase: true), connectionId ); } @@ -79,7 +79,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.AddOrUpdate.GetStringValue(), - entities.ToJSON(), + entities.ToJSON(camelCase: true), connectionId ); } @@ -101,7 +101,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.Delete.GetStringValue(), - entity.ToJSON(), + entity.ToJSON(camelCase: true), connectionId ); } @@ -123,7 +123,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.DeleteMany.GetStringValue(), - entities.ToJSON(), + entities.ToJSON(camelCase: true), connectionId ); } @@ -145,7 +145,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.Update.GetStringValue(), - entity.ToJSON(), + entity.ToJSON(camelCase: true), connectionId ); } @@ -167,7 +167,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.UpdateMany.GetStringValue(), - entities.ToJSON(), + entities.ToJSON(camelCase: true), connectionId ); }