Exemple #1
0
        /// <summary>
        /// Build segment to string.
        /// </summary>
        /// <param name="parent">Parent query segment</param>
        public string ToString(QuerySegment parent)
        {
            // Set parent.
            m_parent = parent;

            // Call real ToString.
            return(ToString());
        }
Exemple #2
0
        public QuerySegment()
        {
            // Init members.
            m_parent = null;

            // Init properties.
            Builded       = false;
            Alias         = null;
            PartOfGroupBy = true;
            Text          = string.Empty;
            Enclosed      = false;
            EnclosingDone = false;
        }