System.Data.AutoIncrementInt64.SetCurrentAndIncrement C# (CSharp) Метод

SetCurrentAndIncrement() приватный Метод

private SetCurrentAndIncrement ( object value ) : void
value object
Результат void
        internal override void SetCurrentAndIncrement(object value)
        {
            Debug.Assert(null != value && DataColumn.IsAutoIncrementType(value.GetType()) && !(value is BigInteger), "unexpected value for autoincrement");
            long v = (long)SqlConvert.ChangeType2(value, StorageType.Int64, typeof(long), CultureInfo.InvariantCulture);
            if (BoundaryCheck(v))
            {
                _current = unchecked(v + _step);
            }
        }