예제 #1
0
        public void Render(SqlTextWriter writer, SqlBuildArguments args)
        {
            if (_innerList.Count <= 0)
            {
                return;
            }

            if (this.Count > 1)
            {
                writer.WriteBeginGroup();
            }

            writer.RenderAll(this, args, string.Concat(" ", ((this.Logic == SqlLogic.And) ? SqlConstants.AND : SqlConstants.OR).ToString().ToUpper(), " "));

            if (this.Count > 1)
            {
                writer.WriteEndGroup();
            }
        }