mirror of
https://github.com/microsoft/HybridRow.git
synced 2026-01-23 03:13:22 +00:00
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.
This commit is contained in:
27
src/Serialization/HybridRow.Native/AllowEmptyKind.h
Normal file
27
src/Serialization/HybridRow.Native/AllowEmptyKind.h
Normal file
@@ -0,0 +1,27 @@
|
||||
// ------------------------------------------------------------
|
||||
// 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,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user