EdmExtension.GetInvalidCharsException Method (String)

 

Returns a localized exception from the database generation process if the name supplied in the store schema definition language (SSDL) contains invalid characters for the target database.

Namespace:   Microsoft.Data.Entity.Design.DatabaseGeneration
Assembly:  Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)

public static string GetInvalidCharsException(
	string userInput
)

Parameters

userInput
Type: System.String

The object name that contains invalid characters.

Return Value

Type: System.String

A localized exception from the database generation process if the name supplied in the store schema definition language (SSDL) contains invalid characters for the target database