mirror of
https://github.com/microsoft/HybridRow.git
synced 2026-01-21 18:33:02 +00:00
Release roll-up snapshot of C#/C++ codebase at version 1.1.0-preview. This release matches the current shipping nugets.
28 lines
823 B
C++
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,
|
|
};
|
|
}
|