Skip to content

Instantly share code, notes, and snippets.

@schotime
Created May 25, 2011 01:31
Show Gist options
  • Save schotime/990150 to your computer and use it in GitHub Desktop.
Save schotime/990150 to your computer and use it in GitHub Desktop.
Petapoco Dbparameter
_databaseQuery.Execute("insert into temp1 (t) values (@0)"
, new SqlParameter() { SqlDbType = SqlDbType.VarBinary, Value = new byte[] {12, 1, 34, 234}});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment