linq to sql
-
i have a database i made it by sql server2012,in this database i have many store procedures and many views i wanna write an application by C# visual studio 2012,i dont know how i should use these store procedure and views by linq.i dont know these codes.would u help me?
-
i have a database i made it by sql server2012,in this database i have many store procedures and many views i wanna write an application by C# visual studio 2012,i dont know how i should use these store procedure and views by linq.i dont know these codes.would u help me?
you can generate edmx file that maps your database objects into Entities. http://msdn.microsoft.com/en-us/library/vstudio/cc716703(v=vs.100).aspx[^] then you can query LINQ to Entities http://msdn.microsoft.com/en-us/library/vstudio/bb399367(v=vs.100).aspx[^]
Thanks
-
you can generate edmx file that maps your database objects into Entities. http://msdn.microsoft.com/en-us/library/vstudio/cc716703(v=vs.100).aspx[^] then you can query LINQ to Entities http://msdn.microsoft.com/en-us/library/vstudio/bb399367(v=vs.100).aspx[^]
Thanks
This code is written for the console application. Can I use this code in windowsform application would I use?
-
you can generate edmx file that maps your database objects into Entities. http://msdn.microsoft.com/en-us/library/vstudio/cc716703(v=vs.100).aspx[^] then you can query LINQ to Entities http://msdn.microsoft.com/en-us/library/vstudio/bb399367(v=vs.100).aspx[^]
Thanks
how can i use from my store procedure or views by these codes?
-
This code is written for the console application. Can I use this code in windowsform application would I use?
-
how can i use from my store procedure or views by these codes?
-
This code is written for the console application. Can I use this code in windowsform application would I use?
-
i have a database i made it by sql server2012,in this database i have many store procedures and many views i wanna write an application by C# visual studio 2012,i dont know how i should use these store procedure and views by linq.i dont know these codes.would u help me?
Hi, through this link which contains code as well as data to explain. hope this will help. Simple LINQ to SQL in C#[^]
hi