Determines if the Value is part of a valid mapping.

Namespace:  NHibernate.Mapping
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function IsValid ( _
	mapping As IMapping _
) As Boolean
C#
bool IsValid(
	IMapping mapping
)
Visual C++
bool IsValid(
	IMapping^ mapping
)
JavaScript
function isValid(mapping);

Parameters

mapping
Type: NHibernate.Engine..::.IMapping
The IMapping to validate.

Return Value

trueTruetruetrue (True in Visual Basic) if the Value is part of a valid mapping, falseFalsefalsefalse (False in Visual Basic) otherwise.

Remarks

Mainly used to make sure that Value maps to the correct number of columns.

Exceptions

See Also