Skip to content

Cannot use SqlMapperExentions.Table attribute on structs #162

@SRNissen

Description

@SRNissen

As it says in the title

    /// <summary>
    /// Defines the name of a table to use in Dapper.Contrib commands.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)] <------ right here
    public class TableAttribute : Attribute
    {

Is there any technical reason for this limitation or is that just how it got implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions