Skip to content

Instantly share code, notes, and snippets.

@mikebeaton
Last active September 3, 2019 15:14
Show Gist options
  • Save mikebeaton/4ade3115dd1161a85f6b3364cfaa76cf to your computer and use it in GitHub Desktop.
Save mikebeaton/4ade3115dd1161a85f6b3364cfaa76cf to your computer and use it in GitHub Desktop.
Mighty article: object as input to DB operation
var db = new MightyOrm(tableName: "Employee", primaryKey: "EmployeeID");
db.Update(new {EmployeeID = 42, Salary = 100000});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment