A
A
andoral2017-05-17 15:49:26
ASP.NET
andoral, 2017-05-17 15:49:26

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

There is a DbSet, you need to transfer all its fields to DbSet
Help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tsiren Naimanov, 2017-05-17
@ImmortalCAT

DbSet<T2> dts ;
DbSet<T1> dst = (DbSet<T1>)dts;

is not it? won't go?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question