Inheritance: EFCodeFirstBaseTemplate
 public override void Generate()
 {
     if (!_model.AllowMocks) return;
     var template = new ContextMockGeneratedTemplate(_model);
     var fullParentName = RELATIVE_OUTPUT_LOCATION + template.ParentItemName;
     var eventArgs = new ProjectItemGeneratedEventArgs(template.FileName, template.FileContent, ProjectName, fullParentName, this, true);
     OnProjectItemGenerated(this, eventArgs);
     var gcEventArgs = new ProjectItemGenerationCompleteEventArgs(this);
     OnGenerationComplete(this, gcEventArgs);
 }
        public override void Generate()
        {
            if (!_model.AllowMocks)
            {
                return;
            }
            var template       = new ContextMockGeneratedTemplate(_model);
            var fullParentName = RELATIVE_OUTPUT_LOCATION + template.ParentItemName;
            var eventArgs      = new ProjectItemGeneratedEventArgs(template.FileName, template.FileContent, ProjectName, fullParentName, this, true);

            OnProjectItemGenerated(this, eventArgs);
            var gcEventArgs = new ProjectItemGenerationCompleteEventArgs(this);

            OnGenerationComplete(this, gcEventArgs);
        }