public bool AddCollection(string name, object type) { try { var info = Reflector.GetCollectionInfo(name, type); var command = CommandFactory.GetCommand(Commands.AddNewCollection, info, name); _transport.SendMessage(command); var answer = _transport.GetAnswer(); return(AnswerFactory.IsOk(answer)); } catch (Exception e) { throw new Exception($"DataWellClient AddCollection Error: {e.Message}"); } }