Intial
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System.Data.Entity;
|
||||
using InventoryTraker.Web.Core;
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
|
||||
namespace InventoryTraker.Web.Data
|
||||
{
|
||||
public class AppDbContext : IdentityDbContext<User>
|
||||
{
|
||||
public IDbSet<Customer> Customers { get; set; }
|
||||
|
||||
public IDbSet<Opportunity> Opportunities { get; set; }
|
||||
|
||||
public IDbSet<Risk> Risks { get; set; }
|
||||
|
||||
public IDbSet<Inventory> Inventories { get; set; }
|
||||
|
||||
public IDbSet<InventoryType> InventoryTypes { get; set; }
|
||||
|
||||
public IDbSet<Transaction> Transactions { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user