예제 #1
0
 /// <summary>
 /// Creates a <see cref="PreparedStatement"/> object for sending parameterized SQL statements to the database.
 /// A SQL statement with or without IN parameters can be pre-compiled and stored in a <see cref="PreparedStatement"/> object.
 /// This object can then be used to efficiently execute this statement multiple times.
 /// </summary>
 /// <returns></returns>
 public PreparedStatement PrepareStatement(string query)
 {
     return(new PreparedStatement(_connection.PrepareStatement(query)));
 }