private static string GetQualifiedClassName(GeneratedClass generatedClass)
        {
            // TODO: check class name for conflict with each required namespace
            if (generatedClass.Name == "Task")
            {
                return($"{generatedClass.Namespace}.{generatedClass.Name}");
            }

            return(generatedClass.Name);
        }
        private static void AddConstructorAndField(GeneratedClass generatedClass, GeneratorOptions options, StringBuilder builder)
        {
            var fieldName = options.UseUnderscore ? "_connectionString" : "connectionString";

            builder.AddTab(options, 2).Append("private readonly string ").Append(fieldName).AppendLine(";").AppendLine();

            builder.AddTab(options, 2).Append("public ").Append(generatedClass.Name).Append(options.RepositorySuffix)
            .AppendLine("(string connectionString)")
            .AddTab(options, 2).AppendLine("{");

            builder.AddTab(options, 3).Append(options.UseUnderscore ? string.Empty : "this.").Append(fieldName).AppendLine(" = connectionString;");

            builder.AddTab(options, 2).AppendLine("}");
        }