chore: initial git load of code space
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
using Strata.SqlTools.SqlBreakdown.Interfaces.QueryEngine;
|
||||
|
||||
namespace Strata.SqlTools.SqlBreakdown.Classes;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a query parameter with a name and value.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public sealed class QueryParam : IQueryParam
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="QueryParam"/> class.
|
||||
/// </summary>
|
||||
/// <param name="name">The parameter name.</param>
|
||||
/// <param name="value">The parameter value.</param>
|
||||
public QueryParam(string name, object value)
|
||||
{
|
||||
Name = name;
|
||||
Value = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the parameter name.
|
||||
/// </summary>
|
||||
public string Name { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the parameter value.
|
||||
/// </summary>
|
||||
public object Value { get; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user