Site Menu
- Home
- Products
- NexusDB
- Nexus Quality Suite
- NexusDB Drivers & Connectors
- Nexus Remoting
- Nexus Memory Manager
- Some of our Customers
- Testimonials and use(r)s
- Downloads
- Documentation
- Support
- Pricing & Orders
- About
- Community
- My Nexus
- Recently Updated ...
- Search...
- Site Login
Search
A simple UDF Function


using System;
using NexusDB.UDFInterface;
namespace NexusDB.Test.UDFFunctions
{
[NexusDB_UDFFunction("Counter", 1, nxSqlReturnTypeType.rttAsArg1x)]
public class nxUDF_CounterClass : nxBaseUDFFunction
{
int fCounter = 1;
public override object GetValue(InxVariantList Args, InxSqlContext Context)
{
return fCounter++;
}
}
[NexusDB_UDFFunction("Mirror", 1, nxSqlReturnTypeType.rttAsArg1x)]
public class nxUDF_MirrorClass : nxBaseUDFFunction
{
public override object GetValue(InxVariantList Args, InxSqlContext Context)
{
return Args.GetValue(0);
}
}
}
Questions? Problems?
- Interested to buy but something put you off?
- Can't find what you're looking for?
- Have a suggestion?
Let us know. If you're having trouble contacting us, please check here.
Site Updates
- May 27 2025 - 2:55pm
- May 14 2025 - 12:32pm
- Mar 19 2025 - 9:52pm
- Mar 14 2025 - 11:23am
- Mar 13 2025 - 11:42pm