Ef6DatabaseUpdateExtensions.

SetRootNamespace(Ef6DatabaseUpdateSettings, string) Method

Summary

The root namespace. Defaults to the target assembly name.

Syntax

public static Ef6DatabaseUpdateSettings SetRootNamespace(this Ef6DatabaseUpdateSettings settings, string rootNamespace)

Parameters

Name Type Description
settings Ef6DatabaseUpdateSettings The settings.
rootNamespace string Namespace the migrations is located in.

Return Value

Type Description
Ef6DatabaseUpdateSettings The settings instance with RootNamespace set to rootNamespace.