Click here to Skip to main content
15,904,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
First up all am new to c#.
What is entity frame work in C#? Have some doubts about it.
I have a idea about entity frame work but not sure how much is that correct.
I can create a class for entity like below

C#
public class test
  {
      private string strtest;
    
      public string Test
      {
          get { return strtest; }
          set { strtest= value; }
      }


so i can create object for this class
Test objtest = new Test();
objtest.Test ="TestValue";

Can we call above scenario as entity frame work ?
Posted
Updated 7-Jan-15 2:16am
v2
Comments
Thanks7872 7-Jan-15 8:36am    
If you are new to C#, i strongly recommend you to first have clear understanding of C#.
Am Gayathri 7-Jan-15 8:47am    
I have :)

1) Solution 1 might help you if you want to learn entity framework, which is an object-relational mapping framework for ADO. NET.
Maybe you could start by reading this: http://en.wikipedia.org/wiki/Entity_Framework[^]

2) The source code you provided has nothing to do with entity framework.
It just shows a class definition and how to create an object as well as setting a property.
 
Share this answer
 
v2
You can quickly learn entity framework here[^]
 
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