public override void WriteToStream(IndentStream stream) { stream.Write("CONSTRAINT "); ConstraintName.WriteToStream(stream); stream.Write($" "); KeyType.WriteToStream(stream); if (ClusterExpr != null) { stream.Write(" "); ClusterExpr.WriteToStream(stream); } if (WithExpr != null) { stream.Write(" "); WithExpr.WriteToStream(stream); } if (OnPrimary != null) { stream.Write(" "); OnPrimary.WriteToStream(stream); } }