title: Why must I include the Telerik ORM assembly in my MVC project when I have already included the Data layer?
body: <p>I'm trying to get a simple example of Telerik ORM running on my site. I have a <code>DAL</code> which is a separate Visual Studio project. </p>
  
  <p>I also have an <code>MVC5</code> application. Both projects are tied to a single solution. Pretty standard setup. </p>
  
  <p>In my <code>DAL</code> project, I have a simple repository that returns an object of type <code>Topic</code> that is retrieved from the <code>DB</code>. My code looks like this:</p>
  
  <p>Repository:</p>
  
  <pre><code>public class Repository
  {
      public Topic Get(int id)
      {
          var fluentModel = new FluentModel();
          return fluentModel.Topics.Where(t =&gt; t.Id == 1).FirstOrDefault();
      }
  
  }
  </code></pre>
  
  <p>Topic:</p>
  
  <pre><code>public class Topic
  {
      public int Id { get; set; }
      public string Headline { get; set; }
  }
  </code></pre>
  
  <p>When I call the repository in my controller:</p>
  
  <pre><code>public ActionResult Index()
  {
      var repository = new Repository();
      Topic x = repository.Get(1);    
      return View();
  }
  </code></pre>
  
  <p>At compile, my <code>MVC</code> project is throwing an error. I need to include the <code>Telerik.OpenAccess</code> assembly to stop the error. I've already included my <code>Data</code> assembly in my <code>MVC</code> project, so I'm curious why my <code>MVC</code> project cares? I'm simply returning a <code>Topic</code>. Why does my <code>MVC</code> project need access to <code>Telerik.OpenAccess</code>? How can I avoid this. I don't want my <code>MVC</code> project to know about <code>Telerik</code>. </p>