Skip to content

Instantly share code, notes, and snippets.

@carloscds
Created December 1, 2018 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carloscds/21e3031092a6b09aa0421ec8beb88907 to your computer and use it in GitHub Desktop.
Save carloscds/21e3031092a6b09aa0421ec8beb88907 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EFAsNoTracking
{
public class Contexto : DbContext
{
public DbSet<Categories> Categories { get; set; }
public DbSet<Products> Products { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment