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 Girdisi
CREATE TABLEC# Entity Çıktısı
Entity Framework
Desteklenen SQL Tipleri
int, bigint, smallint, tinyint, bit, decimal, numeric, money, float, real, date, datetime, datetime2, time, uniqueidentifier, nvarchar, varchar, nchar, char, text, ntext ve daha fazlası.
Birincil Anahtar Tespiti
Satır içi (inline) birincil anahtarlar ve yaygın tablo seviyesindeki birincil anahtar tanımları desteklenmektedir.
En İyi Sonuçlar
Şema, boş geçilebilirlik (nullability) ve uzunlukları içeren tam bir CREATE TABLE ifadesi yapıştırın.
CREATE TABLE to C# Class Converter
Bu sayfa, hızlı dönüşüm, okunabilir çıktı ve pratik Entity Framework odaklı seçeneklere sahip çevrimiçi bir create table to csharp iş akışı isteyen geliştiriciler için oluşturulmuştur.
- 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
SSS
Sıkça sorulan sorular
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.