Developer Tools
Convert T-SQL CREATE TABLE scripts to C# EF entities
Paste a SQL Server CREATE TABLE script and instantly generate a clean C# Entity Framework model class with type mapping, nullability and optional data annotations.
T-SQL इनपुट
CREATE TABLEC# 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 कथन पेस्ट करें।
T-SQL to Entity Framework Entity
यह पृष्ठ उन डेवलपर्स के लिए बनाया गया है जो तेज़ रूपांतरण, पठनीय आउटपुट और व्यावहारिक Entity Framework-उन्मुख विकल्पों के साथ एक ऑनलाइन sql to entity वर्कफ़्लो चाहते हैं।
- Generate C# entities from SQL Server CREATE TABLE scripts
- Map SQL Server types to suitable C# property types
- Support nullable columns and nullable C# reference/value types
- Emit EF-style attributes like [Table], [Column], [Key] and [MaxLength]
- Copy or download the generated .cs file instantly
FAQ
अक्सर पूछे जाने वाले प्रश्न
Can I convert SQL Server CREATE TABLE scripts to C# classes?
Yes. Paste a CREATE TABLE script and the tool generates a C# entity class from the table definition.
Does the tool support nullable SQL columns?
Yes. Nullable SQL columns are mapped to nullable C# types when appropriate.
Can I include Entity Framework attributes?
Yes. You can enable [Table], [Column], [Key], [MaxLength] and related annotations.
Can I use the generated class in EF Core?
Yes. The generated model can be used as a starting point for Entity Framework or EF Core entity classes.