Skip to content

Build error due to read only Transaction in Dapper.Rainbow #2044

Description

@DarylJtn

Hi,
I'm getting an error when attempting to build the Dapper.Rainbow project

Property or indexer 'Database<TDatabase>.Transaction' cannot be assigned to -- it is read only
Error in github Actions

The Transaction property was recently changed to Read-only causing the problem .

adding private set; will allow the Transaction to be updated within the class while keeping it protected from being updated outside of the class

/// <summary>/// Get access to the underlying transaction/// </summary>publicDbTransactionTransaction{get;privateset;}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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