Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System
- Imports System.Data.Entity
- Imports System.Data.Entity.Migrations
- Imports System.Linq
- Namespace Migrations
- Friend NotInheritable Class Configuration
- Inherits DbMigrationsConfiguration(Of EFDbContext)
- Public Sub New()
- AutomaticMigrationsEnabled = False
- Me.CommandTimeout = 240 'Int32.MaxValue
- End Sub
- Protected Overrides Sub Seed(context As EFDbContext)
- ' This method will be called after migrating to the latest version.
- ' You can use the DbSet(Of T).AddOrUpdate() helper extension method
- ' to avoid creating duplicate seed data.
- End Sub
- End Class
- End Namespace
Advertisement
Add Comment
Please, Sign In to add comment