22 namespace Deveel.Data.Routines {
37 Attributes = attributes;
38 Direction = direction;
43 public string Name {
get;
private set; }
51 public int Offset {
get;
internal set; }
53 public bool IsNullable {
57 public bool IsUnbounded {
61 public bool IsOutput {
70 var sb =
new StringBuilder();
71 if (IsInput && !IsOutput) {
73 }
else if (IsOutput && !IsInput) {
75 }
else if (IsOutput && IsInput) {
84 sb.Append(
"NOT NULL");
RoutineParameter(string name, SqlType type, ParameterDirection direction)
ParameterDirection
The possible directions of a procedure parameter.
RoutineParameter(string name, SqlType type, ParameterAttributes attributes)
RoutineParameter(string name, SqlType type, ParameterDirection direction, ParameterAttributes attributes)
override string ToString()
RoutineParameter(string name, SqlType type)
Defines the properties of a specific SQL Type and handles the values compatible.
The parameter provides an input value to the procedure, but won't be able to output a value eventuall...