// TEMPLATE
 partial void ReportingTemplatesSet_Inserting(ReportingTemplates entity)
 {
     if ((entity.ReleaseDate == ReportingTemplates.Minimum) && (entity.Template.Length == 0) && String.IsNullOrWhiteSpace(entity.OriginalFilename))
     {
         entity.Beschreibung = "Standardvorlage";
         entity.Template     = DocumentGenerator.DefaultTemplate;
     }
 }
		// TEMPLATE
		partial void ReportingTemplatesSet_Inserting(ReportingTemplates entity)
		{
			if ((entity.ReleaseDate == ReportingTemplates.Minimum) && (entity.Template.Length == 0) && String.IsNullOrWhiteSpace(entity.OriginalFilename))
			{
				entity.Beschreibung = "Standardvorlage";
				entity.Template = DocumentGenerator.DefaultTemplate;
			}
		}
 partial void ReportingTemplatesSet_Inserted(ReportingTemplates entity)
 {
     DocumentGenerator.UpdateTemplate();
 }
		partial void ReportingTemplatesSet_Inserted(ReportingTemplates entity)
		{
			DocumentGenerator.UpdateTemplate();
		}