DbContextUtils<TContext>.SetInitializer

Method to allow running a DatabaseInitializer exactly once

public static void SetInitializer(IDatabaseInitializer<TContext> initializer)

Parameters

initializer
A Database Initializer to run


See also:

Class DbContextUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic