// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------
#pragma once
namespace cdb_hr
{
/// Describes the empty canonicalization for properties.
enum class AllowEmptyKind : unsigned char
{
/// Empty and null are treated as distinct.
None = 0,
/// Empty values are converted to null when written.
EmptyAsNull = 1,
/// Null values are converted to empty when read.
NullAsEmpty = 2,
///
/// Empty values are converted to null when written, and null values are converted to empty
/// when read.
///
Both = EmptyAsNull | NullAsEmpty,
};
}