Get a SQL select string that performs a select based on a unique key determined by the given property name).

Namespace: NHibernate.Id
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
SqlString GetSelectByUniqueKeyString(
	string propertyName
)
Visual Basic
Function GetSelectByUniqueKeyString ( _
	propertyName As String _
) As SqlString
Visual C++
SqlString^ GetSelectByUniqueKeyString(
	String^ propertyName
)

Parameters

propertyName
Type: System..::..String
The name of the property which maps to the column(s) to use in the select statement restriction.

Return Value

The SQL select string

See Also