x
This commit is contained in:
@@ -99,7 +99,7 @@ namespace IRaCIS.Application.Contracts
|
||||
|
||||
public DicDataTypeEnum DataTypeEnum { get; set; }
|
||||
|
||||
public bool IsEnumInt => System.Text.RegularExpressions.Regex.IsMatch(Code, @"^-?\d+$") && DataTypeEnum== DicDataTypeEnum.Enum;
|
||||
public bool IsEnumInt => System.Text.RegularExpressions.Regex.IsMatch(Code, @"^[-+]?[1-9]\d*$") && DataTypeEnum== DicDataTypeEnum.Enum;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user