-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I use attribute mapping like this:
[DatabaseColumn("ID")]
[DatabasePrimaryKey]
public int Id { get; set; }
The Id field maps to the ID field which is identity column.( ID NUMBER Generated as Identity ).
I see no attribute for specifying an identity column. It seems I can use [DatabaseIgnore] attribute, but I want to get the value of ID in read operations, if I use [DatabaseIgnore] I can't access the Id value since it is ignored.
So is there a way to resolve this problem? It would be good to have a Identity attribute which supports identity columns.
Metadata
Metadata
Assignees
Labels
No labels