title: How to map a stored procedure using DBContext in ASP.NET MVC 3 Entity Framework
body: <p>I do mapping here for tables.. How to map stored procedures here?</p>
  
  <pre><code>public class AppDBContext : DbContext
  {
      public DbSet&lt;UserAccount&gt; UserAccount { get; set; }
      public DbSet&lt;GetUserAccounts&gt; GetGetUserAccounts { get; set; }
  
      protected override void OnModelCreating(DbModelBuilder modelBuilder)
      {
          modelBuilder.Entity&lt;UserAccount&gt;().ToTable("UserAccount");
          modelBuilder.Entity&lt;Customer&gt;().ToTable("Customer");
  
          base.OnModelCreating(modelBuilder);
      }
  }
  </code></pre>