예제 #1
0
        private void executeText(string commandText)
        {
            var command = databaseInfo.CreateCommand();

            command.CommandText = commandText;
            ExecuteNonQueryCommand(command);
        }
예제 #2
0
        private void executeText(string commandText)
        {
            var cmd = databaseInfo.CreateCommand(null);

            cmd.CommandText = commandText;
            if (timeout.HasValue)
            {
                cmd.CommandTimeout = timeout.Value;
            }
            ExecuteNonQueryCommand(cmd);
        }