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.
إدخال 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 والمزيد.
اكتشاف المفتاح الأساسي
يتم دعم المفاتيح الأساسية المضمنة وتعريفات المفاتيح الأساسية الشائعة على مستوى الجدول.
أفضل النتائج
الصق عبارة CREATE TABLE كاملة بما في ذلك المخطط، وقابلية القيم الخالية، والأطوال.
CREATE TABLE to C# Class Converter
تم تصميم هذه الصفحة للمطورين الذين يرغبون في سير عمل create table to csharp عبر الإنترنت مع تحويل سريع، ومخرجات قابلة للقراءة، وخيارات عملية موجهة نحو Entity Framework.
- 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
الأسئلة الشائعة
الأسئلة المتداولة
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.