Skip to content

Assigning NULL value to column with AsUpdate throws NotSupportedException #693

@SeanLawless

Description

@SeanLawless

Hi All,

When using the SqlKata query builder and assigning a column value as NULL it throws a NotSupportedException.

I have tried using (DbValue)null, DBNull.Value and null.

It will update with just "null" but it updates the column as a string containing "null" and not as the default NULL you would expect in SQL Server. How should this be handled?

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