SoftIncrementCount 方法 |
SoftIncrementCount 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
GetCurrentValue |
获取自增信息,获得数据之后,下一次获取将会自增,如果自增后大于最大值,则会重置为最小值,如果小于最小值,则会重置为最大值。 Get the auto-increment information. After getting the data, the next acquisition will auto-increase. If the auto-increment is greater than the maximum value, it will reset to the minimum value. If the auto-increment is smaller than the minimum value, it will reset to the maximum value. | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
ResetCurrentValue |
将当前的值重置为初始值。 Reset the current value to the initial value. | |
ResetCurrentValue(Int64) |
将当前的值重置为指定值,该值不能大于max,如果大于max值,就会自动设置为max Reset the current value to the specified value. The value cannot be greater than max. If it is greater than max, it will be automatically set to max. | |
ResetMaxValue |
重置当前序号的最大值,最大值应该大于初始值,如果当前值大于最大值,则当前值被重置为最大值 Reset the maximum value of the current serial number. The maximum value should be greater than the initial value. If the current value is greater than the maximum value, the current value is reset to the maximum value. | |
ResetStartValue |
重置当前序号的初始值,需要小于最大值,如果当前值小于初始值,则当前值被重置为初始值。 To reset the initial value of the current serial number, it must be less than the maximum value. If the current value is less than the initial value, the current value is reset to the initial value. | |
ToString | Returns a string that represents the current object. (重写 ObjectToString.) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |