Skip to content

AutoIncrement Int PK doesn't Increment through DapperLite? #4

@RefractedPaladin

Description

@RefractedPaladin

Any ideas? I have the table set right and if I use straight SQL it works correctly but once I use DapperLite, like below, it only gives Id a value of 0.
this.CurrentPunch = new Punches(){ PunchTime = DateTime.Now, Method = "PIN"};
db.Insert(CurrentPunch);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions