Advertisement
Guest User

Entity Framework DB Context (code-first)

a guest
Oct 4th, 2015
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.21 KB | None | 0 0
  1. type DB() =
  2.     inherit DbContext("DB")
  3.    
  4.     [<DefaultValue>]
  5.     val mutable customers: DbSet<BusRoute>
  6.     member __.Customers
  7.         with get () = __.customers
  8.         and set v = __.customers <- v
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement