mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Increase field length limit
--HG-- branch : dev
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Orchard.ContentManagement.FieldStorage;
|
||||
using Orchard.ContentManagement.FieldStorage.InfosetStorage;
|
||||
using Orchard.Data.Conventions;
|
||||
|
||||
namespace Orchard.ContentManagement.Records {
|
||||
public class ContentItemRecord {
|
||||
@@ -16,6 +15,7 @@ namespace Orchard.ContentManagement.Records {
|
||||
public virtual ContentTypeRecord ContentType { get; set; }
|
||||
public virtual IList<ContentItemVersionRecord> Versions { get; set; }
|
||||
|
||||
[StringLengthMax]
|
||||
public virtual string Data { get { return Infoset.Data; } set { Infoset.Data = value; } }
|
||||
public virtual Infoset Infoset { get; private set; }
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
using Orchard.ContentManagement.FieldStorage.InfosetStorage;
|
||||
using Orchard.Data.Conventions;
|
||||
|
||||
namespace Orchard.ContentManagement.Records {
|
||||
public class ContentItemVersionRecord {
|
||||
@@ -13,6 +14,7 @@ namespace Orchard.ContentManagement.Records {
|
||||
public virtual bool Published { get; set; }
|
||||
public virtual bool Latest { get; set; }
|
||||
|
||||
[StringLengthMax]
|
||||
public virtual string Data { get { return Infoset.Data; } set { Infoset.Data = value; } }
|
||||
public virtual Infoset Infoset { get; private set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user