Developer Tools

Convert T-SQL scripts to entity classes

Paste T-SQL table scripts and generate clean, readable C# entity models for database-driven .NET applications.

Przestrzeń robocza Konwertera

Wklej kod SQL po lewej i uzyskaj czystą encję C# po prawej.

Wejście T-SQL

CREATE TABLE

Wyjście C# Entity

Entity Framework
Obsługiwane typy SQL int, bigint, smallint, tinyint, bit, decimal, numeric, money, float, real, date, datetime, datetime2, time, uniqueidentifier, nvarchar, varchar, nchar, char, text, ntext i inne.
Wykrywanie Klucza Głównego Obsługiwane są podstawowe klucze śródliniowe (inline) oraz definicje kluczy głównych na poziomie tabeli.
Najlepsze Wyniki Wklej pełne polecenie CREATE TABLE zawierające schemat, możliwość przyjmowania wartości null i długości.

T-SQL to Entity Converter

Ta strona została stworzona dla programistów, którzy chcą internetowego przepływu pracy tsql to entity z szybką konwersją, czytelnym kodem wyjściowym i praktycznymi opcjami zorientowanymi na Entity Framework.

  • Convert T-SQL CREATE TABLE definitions into C# entity classes
  • Handle common SQL Server types, lengths and nullable columns
  • Generate readable properties for application-level models
  • Useful for database-first .NET and Entity Framework workflows
FAQ

Często zadawane pytania

Can this tool convert T-SQL to C# entities?

Yes. Paste a T-SQL CREATE TABLE script and the tool generates a C# entity class from the table definition.

Does it support nullable columns?

Yes. Nullable SQL columns can be mapped to nullable C# types where appropriate.

Is this useful for database-first development?

Yes. It helps create model classes quickly from existing SQL Server table definitions.