-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDBModel.Context.cs
More file actions
31 lines (27 loc) · 1.24 KB
/
DBModel.Context.cs
File metadata and controls
31 lines (27 loc) · 1.24 KB
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
//------------------------------------------------------------------------------
// <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 TipManager
{
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
public partial class TipManagerDBEntities : DbContext
{
public TipManagerDBEntities()
: base(@"metadata = res://*/DBModel.csdl|res://*/DBModel.ssdl|res://*/DBModel.msl;provider=System.Data.SqlClient;provider connection string=';data source=DESKTOP-GNG12RP\SQLEXPRESS;initial catalog=TipManagerDB;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework';")
{
}
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
throw new UnintentionalCodeFirstException();
}
public virtual DbSet<Deposit> Deposits { get; set; }
public virtual DbSet<Withdraw> Withdraws { get; set; }
}
}