Click here to Skip to main content
15,923,006 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Sir,

Am working with Entity framework and am new to this concept. I have created an entity, say "Contacts" which has ID and NAME as its property. Now in a web form through text boxes, am getting the values for the properties. I want to add the values into the database at the button click. Am finding it difficult, where to write the methods for that entity and also call it. So please suggest a solution.

Thanks & Regards
Rajani
Posted

 
Share this answer
 
v2
Comments
raj_arenem 20-Mar-13 8:05am    
Thank you for the link. I went through it, but am not getting where to write the methods for that entity. Are the methods nothing but LINQ..?
Click Here..!!
This link provides to connect the database using LINQ..!!
:)...
 
Share this answer
 

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