Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two tables Trade and TradeStaging. I want to select some fields of all the rows from staging table and insert into Trade table. In SQL I can achieve that using two lines of code, one to select the records and the other to insert. How can I do that using entity framework 6 without retrieving staging table data to the memory?

Thanks
Posted
Comments
Maciej Los 9-Apr-15 14:25pm    
I do not understand this part: "without retrieving staging table data to the memory?"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900