private object Deserialize(ref SerializationReader mySerializationReader, DBObjectRevisionID myValue) { myValue._Value = (ObjectRevisionID) mySerializationReader.ReadObject(); return myValue; }
private void Serialize(ref SerializationWriter mySerializationWriter, DBObjectRevisionID myValue) { mySerializationWriter.WriteObject((ObjectRevisionID)myValue.Value); }
private void CalcEstimatedSize(DBObjectRevisionID myTypeAttribute) { if (_Value != null) { //ObjectRevisionID(UUID + UInt64) + BaseSize _estimatedSize = EstimatedSizeConstants.CalcUUIDSize(_Value.UUID) + EstimatedSizeConstants.UInt64 + GetBaseSize(); } else { //BaseSize _estimatedSize = GetBaseSize(); } }