/// <summary> /// Initializes a new instance of the <see cref="TaosParameter" /> class. /// </summary> /// <param name="name">The name of the parameter.</param> /// <param name="type">The type of the parameter.</param> public TaosParameter(string name, TaosType type) { if (string.IsNullOrEmpty(name)) { throw new ArgumentNullException(nameof(name)); } _parameterName = name; TaosType = type; }
/// <summary> /// Initializes a new instance of the <see cref="TaosParameter" /> class. /// </summary> /// <param name="name">The name of the parameter.</param> /// <param name="type">The type of the parameter.</param> /// <param name="size">The maximum size, in bytes, of the parameter.</param> public TaosParameter(string name, TaosType type, int size) : this(name, type) => Size = size;