Skip to content

IsNullable能否对Entity值为null的字段选择不插入 #275

@zerone1990

Description

@zerone1990

目前Entity的字段如果值为Null,那么Insert的时候依然会插入默认值,能否设计成如果Entity的属性标记了IsNullable = true,那么值为Null的时候,生成插入语句时不插入该字段?

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