There is no physical connection between the names of the saveChanges
method on the EntityManager and the SaveChanges
method on the server. Changing one does not change the other.
If you want to use a different method name on the controller, you need to specify it in the SaveOptions
that is passed to the saveChanges method on the entity manager:
var so = new SaveOptions({ resourceName: "SaveChangesCompany" });
manager.saveChanges(null, so );
See the Breeze Documentation for more info.