Skip to content

Comment generation #4

Description

@ufcpp

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;}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions