C# Core Samples

Please use the links below to view the description and specific instructions for individual samples in the following sub-directories:

async_native
Demonstrates asynchronous events with a shared memory database (together with AsyncManaged).
AsyncDelegate
Demonstrates how to set up asynchronous event handlers as C# delegates.
AsyncEvent
Demonstrates how to set up asynchronous events using standard threads.
AsyncManaged
Opens a database in shared memory; the C program async_native connects to this shared memory database and listens for events.
BTree
Demonstrates search operations with a tree index.
Compound
Demonstrates definition and usage of compound (multi-field) indexes.
ConnectCtx
Connects to the database opened by createdb_sniffer, then throws an exception to simulate a crash.
createdb_sniffer
Creates a database using shared memory and runs a sniffer.
DiskPerf
Displays timings indicating performance for basic disk-based insert, update, and delete operations.
Emit
Demonstrates sequential traversal over a key index.
FullText
Demonstrates full-text lookup operations over a string vector using a B-tree index.
Hash
Demonstrates operations on unique and non-unique hash indexes.
IncBackup
Demonstrates incremental backup and restore.
KDTree
Demonstrates KD-tree index operations.
LINQ
Demonstrates the LINQ interface for inserting records into and querying an eXtremeDB database.
Open
Demonstrates opening and connecting to an eXtremeDB database.
open_mixed
Creates/opens a shared-memory database, waits for user input while the OpenMixed module inserts a record, then closes the database.
Open2
Demonstrates opening and connecting to two eXtremeDB databases.
OpenMixed
Connects to the shared-memory database opened by open_mixed, then inserts a record.
Operations
Demonstrates basic insert, update, and delete operations.
Patricia
Demonstrates Patricia trie match functions using a string key.
Perf
Displays timings indicating performance for basic insert, update, and delete operations.
Perf2
Displays timings indicating performance for basic insert, update, and delete operations using two databases.
RTree
Demonstrates R-tree index operations.
SaveLoad
Demonstrates saving and loading a binary database image to/from disk.
Statistics
Demonstrates the runtime statistics API.
Stock
Demonstrates various operations over sequences.
Trigram
Demonstrates usage of the trigram index.
Ttl
Demonstrates usage of the Time-To-Live technique for automatically deleting obsolete objects.
Types
Demonstrates storing, retrieving, and displaying eXtremeDB data types.
XML Export/Import
Demonstrates XML export and import of database objects.