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.

변환기 작업 공간

왼쪽에 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 등.
기본 키 감지 인라인 기본 키 및 일반적인 테이블 수준 기본 키 정의가 지원됩니다.
최상의 결과 스키마, null 허용 여부 및 길이를 포함한 전체 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.