Skip to content

ScaleDefined is not set by SqlType ctor #3523

Closed
@gliljas

Description

@gliljas
public SqlType(DbType dbType, byte precision, byte scale)
{
	this.dbType = dbType;
	this.precision = precision;
	this.scale = scale;
	precisionDefined = true;
}

public SqlType(DbType dbType, byte scale)
{
	this.dbType = dbType;
	this.scale = scale;
	ScaleDefined = true;
}

As you can see, ScaleDefined is not set by the upper ctor, even though it's most definitely set.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions