Skip to content

Default Parameter Type for DynamicParameters #958

Description

@roend83

I would like to globally override the default parameter type used for DynamicParameters queries when the parameter value is NULL. It seems to be defaulting to NVarChar (DbType.String) in Sql Server right now, and I would like it to default to VarChar (DbType.AnsiString). I'm happy to send a PR to support this, but I want to make sure this is something you'd actually want first.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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