SetValidValue Method (String, Boolean)
TOC
Collapse the table of content
Expand the table of content

StructuralObject.SetValidValue Method (String, Boolean)

 

Validates that the property is not null, and throws if it is.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

protected internal static string SetValidValue(
	string value,
	bool isNullable
)

Parameters

value
Type: System.String

The string value to be checked.

isNullable
Type: System.Boolean

Flag indicating if this property is allowed to be null.

Return Value

Type: System.String

The validated String value.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft