Files
HybridRow/src/Serialization/HybridRow.Native/AllowEmptyKind.h
Jason Hunter ce112dcdf1 Release 1.1.0-preview 3 (#6)
Release roll-up snapshot of C#/C++ codebase at version 1.1.0-preview.
This release matches the current shipping nugets.
2021-05-05 17:18:35 -07:00

28 lines
823 B
C++

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