Ejemplo n.º 1
0
        public static Exists Exists(this Where where, string values)
        {
            Exists _exists = new Exists(values);

            _exists.SqlString = where.SqlString + _exists.ToString();

            return(_exists);
        }
Ejemplo n.º 2
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append(Exists.ToString() + COMMA);
            sb.Append(TabToString(Artists));
            sb.Append(TabToString(Characters));
            sb.Append(TabToString(Series));
            sb.Append(TabToString(Tags));
            sb.Append(Convert.ToInt64(Size) + COMMA);
            sb.Append(Convert.ToInt16(Width) + COMMA);
            sb.Append(Convert.ToInt16(Height) + COMMA);
            sb.Append(Source + COMMA);
            sb.Append(FileName + COMMA);
            sb.Append(Checksum);
            return(sb.ToString());
        }
Ejemplo n.º 3
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("ContactReport(");
        bool __first = true;

        if (Mid != null && __isset.mid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Mid: ");
            Mid.ToString(sb);
        }
        if (__isset.exists)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Exists: ");
            Exists.ToString(sb);
        }
        if (Contact != null && __isset.contact)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Contact: ");
            Contact.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }