Skip to content

Sybase float column read as double by AseDataReader #217

Open
@alfhv

Description

@alfhv

I have a SyBase DB table with field of type "float", so I have declared a C# backend field of type "float" also.

When I execute ExecuteReader(sqlQuery), in the retourned AseDataReader class, the column type of field is "double".
When converting this double value to backend "float" field I have precission loss.

How can I force AseDataReader to map column to "float" type as defined in DB ??

Environment

  • .NET Core version 3.1
  • AdoNetCore.AseClient : 0.19.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions