Using PetaPoco, how do i call stored procedure with typed parameters? in c# i do it like this:
cmd.Parameters.Add("@email", SqlDbType.NVarChar).Value = email;
Using PetaPoco, how do i call stored procedure with typed parameters? in c# i do it like this:
cmd.Parameters.Add("@email", SqlDbType.NVarChar).Value = email;
Check out the documentation for further details but here is an extract.
http://www.toptensoftware.com/Articles/114/PetaPoco-What-s-new-in-v4-0
databaseQuery.Execute("insert into temp1 (t) values (@0)", new SqlParameter() { SqlDbType = SqlDbType.VarBinary, Value = DbNull.Value });