Skip to content

Passing TId into UnitofWork forcing us to use same type of TId for all domain entities  #400

Open

Description

@mohammedali-vv

It is not possible to use unitofwork for more than one entity having different types of primary keys (like int and long).
To reproduce:
Change the type of primary key of the product entity from int to long and you will get an error in GetDashboardDataQuery.

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