public override void Generate()
		{
			BusinessSQLHelperExtenderTemplate template = new BusinessSQLHelperExtenderTemplate(_model);
			string fullFileName = RELATIVE_OUTPUT_LOCATION + template.FileName;
			ProjectItemGeneratedEventArgs eventArgs = new ProjectItemGeneratedEventArgs(fullFileName, template.FileContent, ProjectName, this, false);
			OnProjectItemGenerated(this, eventArgs);

			ProjectItemGenerationCompleteEventArgs gcEventArgs = new ProjectItemGenerationCompleteEventArgs(this);
			OnGenerationComplete(this, gcEventArgs);
		}
Example #2
0
        public override void Generate()
        {
            BusinessSQLHelperExtenderTemplate template = new BusinessSQLHelperExtenderTemplate(_model);
            string fullFileName = RELATIVE_OUTPUT_LOCATION + template.FileName;
            ProjectItemGeneratedEventArgs eventArgs = new ProjectItemGeneratedEventArgs(fullFileName, template.FileContent, ProjectName, this, false);

            OnProjectItemGenerated(this, eventArgs);

            ProjectItemGenerationCompleteEventArgs gcEventArgs = new ProjectItemGenerationCompleteEventArgs(this);

            OnGenerationComplete(this, gcEventArgs);
        }