How to use a class created by the entity framework : <p>I have a project coming up so I decided to look at the entity framework.  If I don't have to create a data manager I think this would be the way to go, if it works.  I see lots of things about it but none of them are clear.</p>

<p>It created this class</p>

<pre><code>namespace EFTest
{
    using System;
    using System.Collections.Generic;

    public partial class SalesRepresentative
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public string Email { get; set; }
        public string CellPhone { get; set; }
    }
}
</code></pre>

<p>How do I use it?  Looking for examples I see things like this:</p>

<pre><code>using (var ctx = new Context())
{
    Employee emp = new Employee() { name = "Prashant" };
    ctx.Employees.Add(emp);
    ctx.SaveChanges();
}
</code></pre>

<p>I have a file called Model.Comntext with no context class in it.  I tried changing it to dBContext but that doesn't work either.</p>

<p>I also found this:</p>

<pre><code>CustomersComponent custc = new CustomersComponent();
Customers cust = custc.getCustomer(Id);
txtName.Text = cust.Name;
ddlCategories.SelectedValue = cust.Category.Id.ToString();
</code></pre>

<p>Well that has a Customer and a CustomerComponent.  I have no such Component classes.  I've spent half a day looking into this and am starting to wonder if the Entity Framework is a cousin of Microsoft Bob.  Unless someone can tell me what I'm missing I will have to write my own data manager.</p>
