Assume a SQL code as following:
CREATE TABLE [dbo].[Samples]
(
[Id] INTNOT NULL, -- a comment for Id
[Name] NVARCHAR(10) NOT NULL, -- a cooment for NameCONSTRAINT [PK_dbo.Samples] PRIMARY KEY CLUSTERED ([Id] ASC), )
I would like to generate a C# code as following:
publicpartialclassSample{/// <summary>/// a comment for Id/// </summary>[Key][Column(Order=0)]publicintId{get;set;}/// <summary>/// a comment for Name/// </summary>publicstringName{get;set;}}
Assume a SQL code as following:
I would like to generate a C# code as following: