Пример #1
0
        protected override void OnAppend(PersistenceCommand command)
        {
            var ac = (SqlTextCommand)command;

            var builder = new StringBuilder(this.CommandText);

            if (builder.Length > 0)
            {
                builder.AppendLine(";");
            }
            builder.Append(ac.CommandText);

            // Use the finalized command text
            this.CommandText = builder.ToString();
        }
Пример #2
0
 protected override void OnAppend(PersistenceCommand command)
 {
     throw new NotSupportedException("Appending bulk commands is not supported.");
 }