Skip to content

InsertOrUpdate能否支持忽略列 #330

Closed
@ETXIN

Description

@ETXIN

比如CreatedAt在Update时不需要更新;Insert时则通过默认值进行赋值,无需SQL语句。

设置CanUpdate = false, CanInsert = false不生效。
目前只能手动将CreatedAt从实体中去除,但影响查询操作。

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