public Parameter(ParameterName parameterName, Qualified<SchemaName, TypeName> parameterTypeName, Optional<Literal> defaultValue, Optional<UnreservedKeyword> readOnly) { Debug.Assert(parameterName != null); Debug.Assert(parameterTypeName != null); this.parameterName = parameterName; this.parameterTypeName = parameterTypeName; this.defaultValue = defaultValue; this.readOnly = readOnly.HasValue(); }
public ProcedureParameter(ParameterName parameterName, Qualified<SchemaName, TypeName> parameterTypeName, Optional<VaryingToken> varying, Optional<Literal> defaultValue, Optional<UnreservedKeyword> output, Optional<UnreservedKeyword> readOnly) : base(parameterName, parameterTypeName, defaultValue, readOnly) { this.varying = varying.HasValue(); this.output = output.HasValue(); }