IdentityDbContext<TUser>.OnModelCreating Method
This member overrides DbContext.OnModelCreating(DbModelBuilder).
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
'Declaration
Protected Overrides Sub OnModelCreating ( _
modelBuilder As DbModelBuilder _
)
'Usage
Dim modelBuilder As DbModelBuilder
Me.OnModelCreating(modelBuilder)
protected override void OnModelCreating(
DbModelBuilder modelBuilder
)
protected:
virtual void OnModelCreating(
DbModelBuilder^ modelBuilder
) override
abstract OnModelCreating :
modelBuilder:DbModelBuilder -> unit
override OnModelCreating :
modelBuilder:DbModelBuilder -> unit
protected override function OnModelCreating(
modelBuilder : DbModelBuilder
)
Parameters
- modelBuilder
Type: System.Data.Entity.DbModelBuilder