writable property

bool get writable

Whether an INSERT or UPDATE may name this column.

Two different reasons collapse here: the server owns the value (identity, computed, rowversion), or the application has been told not to write it.

Implementation

bool get writable =>
    !isIdentity && !isComputed && !isRowVersion && !isReadOnly;