public bool TryLoad(PropertyDatabaseRecordKey recordKey, out IPropertyDatabaseRecordValue data) { var success = TryLoad(recordKey, out PropertyDatabaseRecordValue record); data = record; return(success); }
public object GetObjectFromRecordValue(IPropertyDatabaseRecordValue recordValue, PropertyStringTableView stringTableView) { if (recordValue.type != PropertyDatabaseType.Volatile) { return(GetObjectFromRecordValue((PropertyDatabaseRecordValue)recordValue, stringTableView)); } var volatileRecordValue = (PropertyDatabaseVolatileRecordValue)recordValue; return(volatileRecordValue.value); }
public bool TryLoad(PropertyDatabaseRecordKey recordKey, out IPropertyDatabaseRecordValue data) { if (m_VolatileMemoryStoreView.TryLoad(recordKey, out data)) { return(true); } var success = TryLoad(recordKey, out PropertyDatabaseRecordValue recordValue); data = recordValue; return(success); }
public bool TryLoad(PropertyDatabaseRecordKey recordKey, out IPropertyDatabaseRecordValue data) { using (var view = GetView()) return(view.TryLoad(recordKey, out data)); }
public object GetObjectFromRecordValue(IPropertyDatabaseRecordValue recordValue) { return(m_PropertyDatabase.GetObjectFromRecordValue(recordValue, m_StringTableView)); }
public object GetObjectFromRecordValue(IPropertyDatabaseRecordValue recordValue) { using (var view = m_StringTable.GetView()) return(GetObjectFromRecordValue(recordValue, view)); }