Changed Number field to 256 characters
This commit is contained in:
parent
921b269a28
commit
73407f36d0
@ -173,6 +173,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
private string _Number = string.Empty;
|
private string _Number = string.Empty;
|
||||||
|
/// <summary>
|
||||||
|
/// Increased from 30 to 256 to support RTF symbols
|
||||||
|
/// </summary>
|
||||||
public string Number
|
public string Number
|
||||||
{
|
{
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
@ -662,7 +665,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
ValidationRules.AddRule(
|
ValidationRules.AddRule(
|
||||||
Csla.Validation.CommonRules.StringMaxLength,
|
Csla.Validation.CommonRules.StringMaxLength,
|
||||||
new Csla.Validation.CommonRules.MaxLengthRuleArgs("Number", 30));
|
new Csla.Validation.CommonRules.MaxLengthRuleArgs("Number", 256));
|
||||||
ValidationRules.AddRule(
|
ValidationRules.AddRule(
|
||||||
Csla.Validation.CommonRules.StringMaxLength,
|
Csla.Validation.CommonRules.StringMaxLength,
|
||||||
new Csla.Validation.CommonRules.MaxLengthRuleArgs("Text", 1073741823));
|
new Csla.Validation.CommonRules.MaxLengthRuleArgs("Text", 1073741823));
|
||||||
|
@ -102,6 +102,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
private string _Number = string.Empty;
|
private string _Number = string.Empty;
|
||||||
|
/// <summary>
|
||||||
|
/// Increased from 30 to 256 to support RTF symbols
|
||||||
|
/// </summary>
|
||||||
public string Number
|
public string Number
|
||||||
{
|
{
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
|
@ -103,6 +103,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
private byte[] _LastChanged = new byte[8];//timestamp
|
private byte[] _LastChanged = new byte[8];//timestamp
|
||||||
private string _Content_Number = string.Empty;
|
private string _Content_Number = string.Empty;
|
||||||
|
/// <summary>
|
||||||
|
/// Increased from 30 to 256 to support RTF symbols
|
||||||
|
/// </summary>
|
||||||
public string Content_Number
|
public string Content_Number
|
||||||
{
|
{
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
|
@ -61,6 +61,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
private string _Number = string.Empty;
|
private string _Number = string.Empty;
|
||||||
|
/// <summary>
|
||||||
|
/// Increased from 30 to 256 to support RTF symbols
|
||||||
|
/// </summary>
|
||||||
public string Number
|
public string Number
|
||||||
{
|
{
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
@ -257,7 +260,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
ValidationRules.AddRule(
|
ValidationRules.AddRule(
|
||||||
Csla.Validation.CommonRules.StringMaxLength,
|
Csla.Validation.CommonRules.StringMaxLength,
|
||||||
new Csla.Validation.CommonRules.MaxLengthRuleArgs("Number", 30));
|
new Csla.Validation.CommonRules.MaxLengthRuleArgs("Number", 256));
|
||||||
ValidationRules.AddRule(
|
ValidationRules.AddRule(
|
||||||
Csla.Validation.CommonRules.StringMaxLength,
|
Csla.Validation.CommonRules.StringMaxLength,
|
||||||
new Csla.Validation.CommonRules.MaxLengthRuleArgs("Text", 1073741823));
|
new Csla.Validation.CommonRules.MaxLengthRuleArgs("Text", 1073741823));
|
||||||
|
@ -114,6 +114,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
private byte[] _LastChanged = new byte[8];//timestamp
|
private byte[] _LastChanged = new byte[8];//timestamp
|
||||||
private string _Content_Number = string.Empty;
|
private string _Content_Number = string.Empty;
|
||||||
|
/// <summary>
|
||||||
|
/// Increased from 30 to 256 to support RTF symbols
|
||||||
|
/// </summary>
|
||||||
public string Content_Number
|
public string Content_Number
|
||||||
{
|
{
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
|
@ -211,6 +211,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
private byte[] _LastChanged = new byte[8];//timestamp
|
private byte[] _LastChanged = new byte[8];//timestamp
|
||||||
private string _Content_Number = string.Empty;
|
private string _Content_Number = string.Empty;
|
||||||
|
/// <summary>
|
||||||
|
/// Increased from 30 to 256 to support RTF symbols
|
||||||
|
/// </summary>
|
||||||
public string Content_Number
|
public string Content_Number
|
||||||
{
|
{
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
|
@ -208,6 +208,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
private byte[] _LastChanged = new byte[8];//timestamp
|
private byte[] _LastChanged = new byte[8];//timestamp
|
||||||
private string _Content_Number = string.Empty;
|
private string _Content_Number = string.Empty;
|
||||||
|
/// <summary>
|
||||||
|
/// Increased from 30 to 256 to support RTF symbols
|
||||||
|
/// </summary>
|
||||||
public string Content_Number
|
public string Content_Number
|
||||||
{
|
{
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
|
@ -177,6 +177,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
private byte[] _LastChanged = new byte[8];//timestamp
|
private byte[] _LastChanged = new byte[8];//timestamp
|
||||||
private string _Content_Number = string.Empty;
|
private string _Content_Number = string.Empty;
|
||||||
|
/// <summary>
|
||||||
|
/// Increased from 30 to 256 to support RTF symbols
|
||||||
|
/// </summary>
|
||||||
public string Content_Number
|
public string Content_Number
|
||||||
{
|
{
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user