Skip to content

Commit c26ea81

Browse files
GH-141 :: Add email content types and dbmanager tool (#145)
1 parent b793af6 commit c26ea81

File tree

3 files changed

+70
-2
lines changed

3 files changed

+70
-2
lines changed

src/.config/dotnet-tools.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"kentico.xperience.dbmanager": {
6+
"version": "30.6.2",
7+
"commands": [
8+
"kentico-xperience-dbmanager"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

src/TrainingGuides.Entities/EmailContentTypes/NatureSpotlightEmail/NatureSpotlightEmail.generated.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public partial class NatureSpotlightEmail : IEmailFieldsSource
4848

4949

5050
/// <summary>
51-
/// NatureSpotlightTopic.
51+
/// NatureSpotlightName.
5252
/// </summary>
53-
public string NatureSpotlightTopic { get; set; }
53+
public string NatureSpotlightName { get; set; }
5454

5555

5656
/// <summary>
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
//--------------------------------------------------------------------------------------------------
2+
// <auto-generated>
3+
//
4+
// This code was generated by code generator tool.
5+
//
6+
// To customize the code use your own partial class. For more info about how to use and customize
7+
// the generated code see the documentation at https://docs.xperience.io/.
8+
//
9+
// </auto-generated>
10+
//--------------------------------------------------------------------------------------------------
11+
12+
using System;
13+
using System.Collections.Generic;
14+
using CMS.ContentEngine;
15+
using CMS.EmailLibrary;
16+
17+
namespace TrainingGuides
18+
{
19+
/// <summary>
20+
/// Represents an email of type <see cref="SubscriptionConfirmationEmail"/>.
21+
/// </summary>
22+
[RegisterContentTypeMapping(CONTENT_TYPE_NAME)]
23+
public partial class SubscriptionConfirmationEmail : IEmailFieldsSource
24+
{
25+
/// <summary>
26+
/// Code name of the content type.
27+
/// </summary>
28+
public const string CONTENT_TYPE_NAME = "TrainingGuides.SubscriptionConfirmationEmail";
29+
30+
31+
/// <summary>
32+
/// Represents system properties for an email item.
33+
/// </summary>
34+
[SystemField]
35+
public EmailFields SystemFields { get; set; }
36+
37+
38+
/// <summary>
39+
/// EmailSubject.
40+
/// </summary>
41+
public string EmailSubject { get; set; }
42+
43+
44+
/// <summary>
45+
/// EmailPreviewText.
46+
/// </summary>
47+
public string EmailPreviewText { get; set; }
48+
49+
50+
/// <summary>
51+
/// EmailSubscriptionMessage.
52+
/// </summary>
53+
public string EmailSubscriptionMessage { get; set; }
54+
}
55+
}

0 commit comments

Comments
 (0)