Create a NoopSetter to do nothing when trying to se the value of the mapped Property

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

Syntax

C#
public ISetter GetSetter(
	Type type,
	string propertyName
)
Visual Basic
Public Function GetSetter ( _
	type As Type, _
	propertyName As String _
) As ISetter
Visual C++
public:
virtual ISetter^ GetSetter(
	Type^ type, 
	String^ propertyName
) sealed

Parameters

type
Type: System..::..Type
The Type to find the mapped Property in.
propertyName
Type: System..::..String
The name of the mapped Property to set.

Return Value

An instance of NoopSetter.

Implements

IPropertyAccessor..::..GetSetter(Type, String)

See Also