Add support for CamelCase Json Serialization ...
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user