Developer Tools

Convert CREATE TABLE scripts to C# classes

Paste a SQL Server CREATE TABLE script and instantly generate a clean C# model class with nullable type support and optional Entity Framework attributes.

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

बाईं ओर अपना 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 कथन पेस्ट करें।

CREATE TABLE to C# Class Converter

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

  • Convert SQL Server CREATE TABLE scripts into C# model classes
  • Generate properties from SQL column names and data types
  • Map nullable columns to nullable C# reference and value types
  • Optionally include [Table], [Column], [Key] and [MaxLength] attributes
FAQ

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

Can I convert a CREATE TABLE script to a C# class?

Yes. Paste a SQL Server CREATE TABLE script and the tool generates a clean C# class from the table structure.

Does it support SQL Server data types?

Yes. Common SQL Server types such as int, bigint, decimal, bit, datetime, uniqueidentifier, varchar and nvarchar are mapped to suitable C# types.

Can it generate Entity Framework attributes?

Yes. You can enable attributes such as [Table], [Column], [Key] and [MaxLength] depending on your preferred output style.