CLASSSEALEDAssembly: Parquet.SourceGenerator.Attributes

ParquetDecimalAttribute

Namespace: Parquet.SourceGenerator

Configures precision and scale parameters for decimal columns.

Inheritance:
object
System.Attribute
Parquet.SourceGenerator.ParquetDecimalAttribute

Syntax

ParquetDecimalAttribute

UML Class Diagram

ParquetDecimalAttribute Class Diagram

Rendering diagram...

Constructors1

ParquetDecimalAttribute
ParquetDecimalAttribute.ParquetDecimalAttribute(int precision, int scale)

Initializes a new instance of <see cref="ParquetDecimalAttribute"/>.

Parameters:
  • precision(int)— The total number of digits.
  • scale(int)— The number of digits to the right of the decimal point.

Properties2

Precision: int
int ParquetDecimalAttribute.Precision

Gets the precision (total digits).

Scale: int
int ParquetDecimalAttribute.Scale

Gets the scale (fractional digits).