daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static class SQLiteCommandExtensions
  2. {
  3.     public static SQLiteParameter AddInParameter(this SQLiteCommand command, string parameterName, DbType type, object value)
  4.     {
  5.         SQLiteParameter parameter = command.CreateParameter();
  6.         parameter.Direction = ParameterDirection.Input;
  7.         parameter.ParameterName = parameterName;
  8.         parameter.DbType = type;
  9.         parameter.Value = value;
  10.  
  11.         command.Parameters.Add(parameter);
  12.  
  13.         return parameter;
  14.     }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top