Share via


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

See Also

Reference

IdentityDbContext<TUser> Class

Microsoft.AspNet.Identity.EntityFramework Namespace