Changes
/* Server side replication */
Finally, you need to create some custom code actually executing the replication. For example, let's say we want to copy an object when it is saved. You have to fetch the replication configuration and the thing you want to replicate. Then, you can call the replicate method of the configuration object, with the replication target as a parameter. The result will be a collection of replicated objects.
The respective code could look like the following(example from a real project):
<source lang = "csharp">
}
</source>
[[Category:Coding|Customize Templates and Replication]]
[[Category:How-To|Customize Templates and Replication]]
[[Category:Replicating|Customize Templates and Replication]]
[[Category:Version 2.6|Customize Templates and Replication]]
[[Category:WinX|Customize Templates and Replication]]
==See also==