Пример #1
0
        public virtual BaseBuilder AddValues(string key, params string[] values)
        {
            if (Prepared.Any((x) => x.Key == key))
            {
                Prepared.First((x) => x.Key == key).AddValue(values);
            }

            return(this);
        }
Пример #2
0
        public virtual BaseBuilder AddStatement(RawStatement statement)
        {
            if (!Prepared.Any((x) => x.Key == statement.Key))
            {
                int indicies = GetIndicies(statement.Query, out string query);

                Prepared.Add(new PreparedStatements(statement.Key, query, indicies, new List <string>()));
            }

            return(this);
        }