title: Entity Framework ExecuteSqlCommand return Object List
body: <p>I'm frustated with EF Code First, because of unsupported View Mapping instead of Table.
  So i'm switching out with retrieve View Data Class from ExecuteSqlCommand.
  But I can't figure out how to do this?
  Any help maybe?</p>
  
  <pre><code>protected override void OnModelCreating(DbModelBuilder modelBuilder)
      {
          modelBuilder.Ignore&lt;m_box&gt;();
      }
  protected override void Seed(eBagasiContext context)
      {
          context.Database.ExecuteSqlCommand(m_boxView.GetInitView(),new object[]{});
       }
  public static class m_boxView
  {
      public static string GetInitView()
      {
          return "CREATE VIEW m_box " +
              "AS " +
              "SELECT AgencyRef.Code AS ModuleCode, " +                
              "Price.Scale, "+
              "Price.Amount "+
              "FROM Price " +
              "LEFT JOIN AgencyRef " +
              "ON (Price.Code = AgencyRef.Code) " +
              "WHERE LEFT(Price.Code,1)='C'";
      }
  }
  </code></pre>