Пример #1
0
        public ExprValueTypeDetails VisitByteArray(object?arg, bool?isNull, int?length, bool fix)
        {
            ExprTypeByteArrayBase e = fix
                ? new ExprTypeFixSizeByteArray(length ?? throw new SqExpressException("A size has to be specified for a fixed size array"))
                : new ExprTypeByteArray(length);

            return(new ExprValueTypeDetails(isNull, e));
        }
Пример #2
0
 internal ByteArrayTableColumn(IExprColumnSource?source, ExprColumnName columnName, ExprTable table, ExprTypeByteArrayBase typeByteArray, ColumnMeta?columnMeta) : base(source, columnName, table, typeByteArray, false, columnMeta)
 {
     this.SqlType = typeByteArray;
 }