SurrealToCSharp – From SurrealDB to Strongly Typed .NET Models

SurrealToCSharp is a conversion utility designed to transform SurrealDB export files into fully structured C# class definitions. It automates the process of mapping database schema information directly into .NET-friendly data models.

  • Parses complete SurrealDB dumps with table and field detection.
  • Infers field types and creates clean, strongly typed C# class files.
  • Eliminates the need to manually recreate model classes for known database schemas.

Whether you're reverse-engineering an existing SurrealDB dataset or scaffolding models for a new .NET backend, SurrealToCSharp provides a fast and reliable starting point.

It's particularly useful for projects that aim to bridge NoSQL schema logic with typed languages like C#, offering consistency, maintainability, and speed in development.

Tech Stack

Node.jsC#SurrealDB

Project Links