log4net SDK Reference |

# AdoNetAppender.m_usePreparedCommand Field

Flag to indicate if we are using a command object

[Visual Basic]
Protected m_usePreparedCommand As Boolean
[C#]
protected bool m_usePreparedCommand;

#### Remarks

Set to `true` when the appender is to use a prepared statement or stored procedure to insert into the database.

#### See Also

AdoNetAppender Class | log4net.Appender Namespace