Developer Tools

Convert SQL table definitions to C# classes

Generate strongly typed C# model classes from SQL table definitions and quickly copy or download the generated code.

कनवर्टर कार्यक्षेत्र

बाईं ओर अपना SQL पेस्ट करें और दाईं ओर एक साफ C# एंटिटी प्राप्त करें।

T-SQL इनपुट

CREATE TABLE

C# Entity आउटपुट

Entity Framework
समर्थित SQL प्रकार int, bigint, smallint, tinyint, bit, decimal, numeric, money, float, real, date, datetime, datetime2, time, uniqueidentifier, nvarchar, varchar, nchar, char, text, ntext और बहुत कुछ।
प्राथमिक कुंजी (Primary Key) जांच इनलाइन प्राथमिक कुंजियाँ और सामान्य तालिका-स्तरीय प्राथमिक कुंजी परिभाषाएँ समर्थित हैं।
सर्वोत्तम परिणाम स्कीमा, शून्य क्षमता (nullability) और लंबाई सहित एक पूर्ण CREATE TABLE कथन पेस्ट करें।

SQL Table to C# Class Converter

यह पृष्ठ उन डेवलपर्स के लिए बनाया गया है जो तेज़ रूपांतरण, पठनीय आउटपुट और व्यावहारिक Entity Framework-उन्मुख विकल्पों के साथ एक ऑनलाइन sql table to csharp class वर्कफ़्लो चाहते हैं।

  • Convert SQL table columns into strongly typed C# properties
  • Use PascalCase property naming for cleaner model classes
  • Support common SQL Server data types and column lengths
  • Generate copy-ready C# output for application models
FAQ

अक्सर पूछे जाने वाले प्रश्न

What is a SQL table to C# class converter?

It is a tool that reads a SQL table definition and generates a C# class with properties that match the table columns.

Can it convert SQL column names to PascalCase?

Yes. The converter can transform SQL-style names into PascalCase C# property names.

Can I use the generated class in .NET projects?

Yes. The generated class can be used as a starting point for .NET models, DTOs or Entity Framework entities.