2022-12-02 15:03:34 +01:00

17 lines
417 B
C#

using System.Collections.ObjectModel;
using Connected.Expressions.Collections;
namespace Connected.Expressions.Evaluation;
internal sealed class Command
{
public Command(string commandText, IEnumerable<CommandParameter> parameters)
{
CommandText = commandText;
Parameters = parameters.ToReadOnly();
}
public string CommandText { get; }
public ReadOnlyCollection<CommandParameter> Parameters { get; }
}