GenerateContent() public method

public GenerateContent ( StringBuilder sb ) : void
sb StringBuilder
return void
        private void GenerateContent()
        {
            try
            {
                ISQLGenerate generator = null;

                if (!_singleFile)
                {
                    sb.AppendLine("--DO NOT MODIFY THIS FILE. IT IS ALWAYS OVERWRITTEN ON GENERATION.");
                    sb.AppendLine();
                }

                sb.AppendLine("--This SQL is generated for the model defined view [" + _view.DatabaseName + "]");
                sb.AppendLine();
                nHydrate.Generator.GenerationHelper.AppendCopyrightInSQL(sb, _model);

                generator = new SQLSelectViewTemplate(_model, _view, _grantSB);
                generator.GenerateContent(sb);
            }
            catch (Exception ex)
            {
                throw;
            }
        }
        private void GenerateContent()
        {
            try
            {
                ISQLGenerate generator = null;

                if (!_singleFile)
                {
                    sb.AppendLine("--DO NOT MODIFY THIS FILE. IT IS ALWAYS OVERWRITTEN ON GENERATION.");
                    sb.AppendLine();
                }

                sb.AppendLine("--This SQL is generated for the model defined view [" + _view.DatabaseName + "]");
                sb.AppendLine();
                nHydrate.Generator.GenerationHelper.AppendCopyrightInSQL(sb, _model);

                generator = new SQLSelectViewTemplate(_model, _view, _grantSB);
                generator.GenerateContent(sb);

            }
            catch (Exception ex)
            {
                throw;
            }
        }