NextValue() публичный статический Метод

public static NextValue ( IRequest request, Field sequenceName ) : Field
request IRequest
sequenceName Field
Результат Field
        private void SequenceFunctions()
        {
            Register(config => config.Named("uniquekey")
                     .WithStringParameter("table")
                     .WhenExecute(context => Simple(context, args => SystemFunctions.UniqueKey(context.Request, args[0])))
                     .ReturnsNumeric());

            Register(config => config.Named("curval")
                     .WithStringParameter("sequence")
                     .WhenExecute(context => Simple(context, args => SystemFunctions.CurrentValue(context.Request, args[0])))
                     .ReturnsNumeric());

            Register(config => config.Named("nextval")
                     .WithParameter("sequence", PrimitiveTypes.String())
                     .WhenExecute(context => Simple(context, args => SystemFunctions.NextValue(context.Request, args[0])))
                     .ReturnsNumeric());

            Register(config => config
                     .Named("curkey")
                     .WithStringParameter("table")
                     .WhenExecute(context => Simple(context, args => SystemFunctions.CurrentKey(context.Request, args[0])))
                     .ReturnsNumeric());
        }