コード例 #1
0
 /// <summary>
 /// Adds entity link, owner entity link, full auditing fields and tenant ID to a table. See <see cref="FullPowerEntity"/>.
 /// </summary>
 public static ICreateTableColumnOptionOrWithColumnSyntax WithFullPowerManyToManyColumns(this ICreateTableWithColumnSyntax table, bool indexCreatedByUserId = false)
 {
     return(table
            .WithEntityLinkColumns()
            .WithMultipleOwnerColumns()
            .WithAuditColumns(indexCreatedByUserId)
            .WithDeletionAuditColumns()
            .WithTenantIdAsNullable());
 }