Пример #1
0
        //        public static QueryBuilder GetBuilder(string pluginName, string command, System.Data.CommandType type)
        //        {
        //            if (_connector == null)
        //                throw new InvalidOperationException("No connector attached");
        //            return _connector.GetBuilder(pluginName, command, type);
        //        }

        public static bool Execute(QueryBuilder builder)
        {
            if (_connector == null)
            {
                throw new InvalidOperationException("No connector attached");
            }
            return(_connector.Execute(builder));
        }