How to convert DbSet (T1) to DbSet (T2) where T1 is a copy of T2?

  • 0
    There is a DbSet, you need to transfer all its fields to DbSet
    C# Cole Gardner, Apr 12, 2019

  • 1 Answers
  • 0
    DbSet<T2> dts ;
    DbSet<T1> dst = (DbSet<T1>)dts;

    is not it? will not work?

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!