Inheritance: BaseDbScriptTemplate
    public override void Generate()
		{
			UpgradeScriptTemplate template = new UpgradeScriptTemplate(_model);
			string fullFileName = template.FileName;
			ProjectItemGeneratedEventArgs eventArgs = new ProjectItemGeneratedEventArgs(fullFileName, template.FileContent, ProjectName, PARENT_ITEM_NAME, ProjectItemType.Folder, this, false);
			eventArgs.Properties.Add("BuildAction", 3);
			OnProjectItemGenerated(this, eventArgs);
			ProjectItemGenerationCompleteEventArgs gcEventArgs = new ProjectItemGenerationCompleteEventArgs(this);
			OnGenerationComplete(this, gcEventArgs);
    }
示例#2
0