Skip to content

Bug: Enum Bug #400

@sellig

Description

@sellig

Test failed if Enum property is not null

public class PersonWithText
        {
            public System.Int64 Id { get; set; }
            public System.Guid SessionId { get; set; }
            public Hands ColumnNVarChar { get; set; }
        }

If the ColumnNVarChar in table CompleteTable is set as not Allow Null, the test (and others) TestInsertAndQueryEnumAsText failed with
"No coercion operator is defined between types 'System.String' and 'RepoDb.SqlServer.IntegrationTests.EnumTests+Hands'"

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdeployedFeature or bug is deployed at the current releasereviewThe changes are under or being reviewed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions