forked from MatNyaga/NewPOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Model1.Context.cs
35 lines (31 loc) · 1.28 KB
/
Model1.Context.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NewPOS
{
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
public partial class Database1Entities : DbContext
{
public Database1Entities()
: base("name=Database1Entities")
{
}
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
throw new UnintentionalCodeFirstException();
}
public virtual DbSet<tblCategory> tblCategory { get; set; }
public virtual DbSet<tblProduct> tblProduct { get; set; }
public virtual DbSet<tblTransaction> tblTransaction { get; set; }
public virtual DbSet<tblTransactionItem> tblTransactionItem { get; set; }
public virtual DbSet<tblUsers> tblUsers { get; set; }
public virtual DbSet<tblCompanyDetails> tblCompanyDetails { get; set; }
}
}