Skip to content

Use AddBulkOperationSupport #75

Description

@rbsdotnet

Hello
When I use AddBulkOperationSupport I get this error. In some tables I have DateOnly which is nullable and in some it is not
And I am not using TempTable
I am using the latest version
Please help me to solve the problem

System.InvalidOperationException: 'The table 'TempTables.TempTable1' cannot be used for entity type 'Thinktecture:TempTable:Thinktecture.EntityFrameworkCore.TempTables.TempTable<DateOnly?> (TempTable<DateOnly?>)' since it is being used for entity type 'Thinktecture:TempTable:Thinktecture.EntityFrameworkCore.TempTables.TempTable (TempTable)' and potentially other entity types, but there is no linking relationship. Add a foreign key to 'Thinktecture:TempTable:Thinktecture.EntityFrameworkCore.TempTables.TempTable<DateOnly?> (TempTable<DateOnly?>)' on the primary key properties and pointing to the primary key on another entity type mapped to 'TempTables.TempTable1'.'

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions