HierarchyHelperLoadObjectFromJSON Method |
Loads objects data including collection from a given XML representation.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax public static TranslationHelper LoadObjectFromJSON(
BaseInfo obj,
string json,
bool disconnectObject = true,
bool updateOnlySpecifiedColumns = false,
List<string> excludedColumns = null
)
Parameters
- obj
- Type: CMS.DataEngineBaseInfo
Object to load - json
- Type: SystemString
JSON data - disconnectObject (Optional)
- Type: SystemBoolean
If true, object collections are disconnected (collections won't load data automatically from the DB, just from dataset) - updateOnlySpecifiedColumns (Optional)
- Type: SystemBoolean
If true, only column contained in the json are loaded (columns which are not contained are not set to null) - excludedColumns (Optional)
- Type: System.Collections.GenericListString
Columns which will be ignored during the data load even if they are in the provided data
Return Value
Type:
TranslationHelperTranslation helper
See Also