PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Synchronizes the string resources to the database.
Namespace: Smartsite.Localization
Assembly: Smartsite.Tools (in Smartsite.Tools.dll)
Syntax
C# | Copy Code |
---|---|
public void SynchronizeToDatabase( mode, out int insertCount, out int updateCount, out int deleteCount ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Sub SynchronizeToDatabase ( _ mode As , _ <> ByRef insertCount As Integer, _ <> ByRef updateCount As Integer, _ <> ByRef deleteCount As Integer _ ) |
Parameters
- mode
- LocaleSetupMode
I: Setup mode. Count to count only without actually modifying. Insert to insert new resources. Update to insert new resources and to update existing resources. Delete to insert, update and delete as necessary.
- insertCount
- Int32%
O: Number of resources inserted or that would be inserted.
- updateCount
- Int32%
O: Number of resources updated or that would be updated.
- deleteCount
- Int32%
O: Number of resources deleted or that would be deleted.
Remarks
The method performs the necessary inserts, updates and deletes such that the database becomes equal to the resources in this XML sting resources set, if the setup mode permits so. For the default application the method performs inserts and updates, and does not perform deletes.
The counts are for resource strings that are unique for the combination of application, resource key and culture.
See Also
XmlStringResourceSet Class
Smartsite.Localization Namespace