public void AddSetting() { var jSetting = new JObject(); jSetting["metadata"] = new JObject(); jSetting["metadata"]["entityId"] = Guid.NewGuid().ToString(); jSetting["rs"] = new JObject(); jSetting["rs"]["key"] = "Setting" + m_DataManager.settingsCount; jSetting["rs"]["value"] = ""; jSetting["rs"]["type"] = ""; m_DataManager.AddSetting(jSetting); }
public void AddSetting() { RsKvtData setting = new RsKvtData(Guid.NewGuid().ToString(), new RemoteSettingsKeyValueType("Setting" + m_DataManager.settingsCount, "", "")); m_DataManager.AddSetting(setting); }