Skip to content

Commit af221b8

Browse files
authored
Merge pull request aspnetboilerplate#5027 from aspnetboilerplate/pr/2774
Remove limitation on AppSettings table value column
2 parents a9211bd + 4a65ecb commit af221b8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Abp.Zero.Common/Configuration/Setting.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ public class Setting : AuditedEntity<long>, IMayHaveTenant
1515
/// Maximum length of the <see cref="Name"/> property.
1616
/// </summary>
1717
public const int MaxNameLength = 256;
18-
19-
/// <summary>
20-
/// Maximum length of the <see cref="Value"/> property.
21-
/// </summary>
22-
public const int MaxValueLength = 2000;
23-
18+
2419
/// <summary>
2520
/// TenantId for this setting.
2621
/// TenantId is null if this setting is not Tenant level.
@@ -43,7 +38,6 @@ public class Setting : AuditedEntity<long>, IMayHaveTenant
4338
/// <summary>
4439
/// Value of the setting.
4540
/// </summary>
46-
[StringLength(MaxValueLength)]
4741
public virtual string Value { get; set; }
4842

4943
/// <summary>

0 commit comments

Comments
 (0)