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.

コンバーターワークスペース

左側にSQLを貼り付け、右側でクリーンなC#エンティティを取得します。

T-SQL入力

CREATE TABLE

C#エンティティ出力

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 Converter

このページは、高速な変換、読みやすい出力、および実用的なEntity Framework指向のオプションを備えたオンラインtsql to entityワークフローを求める開発者向けに構築されています。

  • 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
よくある質問

よくある質問と回答

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.