NLite.Data.DbConnectionWrapper.CreateDbCommand C# (CSharp) Method

CreateDbCommand() protected method

protected CreateDbCommand ( ) : DbCommand
return System.Data.Common.DbCommand
        protected override DbCommand CreateDbCommand()
        {
            var cmd = innerConnection.CreateCommand();
            if (transaction != null)
                transaction.Enlist(cmd);
            return cmd;
        }