Skip to content

Set table and field description #1663

Discussion options

You must be logged in to vote

Hi @gfgw,

it's possible to add description also on table creation; see belowe code:

  public class DefaultDB_20230627_151500_CreatePecMailbox : AutoReversingMigration
    {
        public override void Up()
        {
            Create.Table("PecMailboxes")
                .WithDescription("Tabella con anagrafica delle caselle PEC.")
                .InSchema("pdl")
                .WithColumn("Id")
                    .AsInt32()
                    .Identity()
                    .PrimaryKey()
                    .NotNullable()
                    .WithColumnDescription("Chiave primaria - identificativo della casella PEC.")
                .WithColumn("Email")
                    .AsStri…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@elenaaralla
Comment options

Answer selected by jzabroski
@gfgw
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants