title: Should I refer to Entity Object class always as DAL or I can use its classes?
body: <p>Let's say I have 'Customer' table in SQL DB and I'm using Entity Framework.</p>
  
  <p>Now, for instance, in Controller or ViewModel I retrieve the customer by <code>var customer = Page.Current.Customer</code> when it's code is:</p>
  
  <pre><code>public class Page
  {
       ...
       // Customer is EntityObject that created by Entity Framework
       public Customer Customer
       {
          get
          {
                  return (new ContextEntity()).Customers.First();
          }
       } 
  }
  </code></pre>
  
  <p><strong>My question:</strong></p>
  
  <p>Should I refer to Entity Object class(Customer) as DAL and create CustomerWrapper or I can use it in other code of my application?</p>
  
  <p>I mean, is it correct that <code>Page.Current.Customer</code> will return <strong>Customer Entity</strong> or I should use <strong>Customer Entity</strong> as DAL and Page.Current.Customer should return custom Customer, some kind of CustomWrapper? </p>
  
  <p>In one hand if will decided to change Customer table name to <strong>site_Customer</strong>(in SQL DB) I'll refresh the EntityModel and will only change the code in the Page class to</p>
  
  <pre><code>public class Page
      {
           ...
           // Customer is EntityObject that created by Entity Framework
           public Customer Customer
           {
              get
              {
                      return (new ContextEntity()).site_Customers.First();
              }
           } 
      }
  </code></pre>
  
  <p>But in the other hand I'll have Customer Entity + WrapperCustomer</p>
  
  <p>What is better?</p>