Class BsonDefaultValueAttribute

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type BsonDefaultValueAttribute = class(TCustomAttribute)

Description

Specifies the default value for an element. Mostly used in combination with BsonIgnoreIfDefaultAttribute.

Hierarchy

  • TCustomAttribute
  • BsonDefaultValueAttribute

Overview

Methods

Public constructor Create(const ADefaultValue: Boolean); overload;
Public constructor Create(const ADefaultValue: Int32); overload;
Public constructor Create(const ADefaultValue: Int64); overload;
Public constructor Create(const ADefaultValue: String); overload;

Properties

Public property DefaultValue: TgoBsonDefaultValue read FDefaultValue;

Description

Methods

Public constructor Create(const ADefaultValue: Boolean); overload;
 
Public constructor Create(const ADefaultValue: Int32); overload;
 
Public constructor Create(const ADefaultValue: Int64); overload;
 
Public constructor Create(const ADefaultValue: String); overload;
 

Properties

Public property DefaultValue: TgoBsonDefaultValue read FDefaultValue;

The default value of the element


Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26