Click here to Skip to main content
15,910,872 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
How to query convert to use entity query ?
I create database in c# and old database copy to new database.But I want to make copies using entities. How to convert use entities this query?

What I have tried:

private static void TableCopy() {
foreach (var tablename in Settings.Default.Student){
var query= @"Insert ınto" + StudentDatabaseName + ".tbl" + tablename +"select * from StudentChangeDatabaseName +"tbl"+tableName);
}
Posted
Updated 20-Sep-18 21:23pm
v3

1 solution

 
Share this answer
 
Comments
CPallini 21-Sep-18 3:43am    
5.
Maciej Los 21-Sep-18 3:45am    
Thank you, Carlo.

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