Set the value of a particular (named) property

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

Syntax

C#
void SetPropertyValue(
	Object obj,
	string propertyName,
	Object value,
	EntityMode entityMode
)
Visual Basic
Sub SetPropertyValue ( _
	obj As Object, _
	propertyName As String, _
	value As Object, _
	entityMode As EntityMode _
)
Visual C++
void SetPropertyValue(
	Object^ obj, 
	String^ propertyName, 
	Object^ value, 
	EntityMode entityMode
)

Parameters

obj
Type: System..::..Object

[Missing <param name="obj"/> documentation for "M:NHibernate.Metadata.IClassMetadata.SetPropertyValue(System.Object,System.String,System.Object,NHibernate.EntityMode)"]

propertyName
Type: System..::..String

[Missing <param name="propertyName"/> documentation for "M:NHibernate.Metadata.IClassMetadata.SetPropertyValue(System.Object,System.String,System.Object,NHibernate.EntityMode)"]

value
Type: System..::..Object

[Missing <param name="value"/> documentation for "M:NHibernate.Metadata.IClassMetadata.SetPropertyValue(System.Object,System.String,System.Object,NHibernate.EntityMode)"]

entityMode
Type: NHibernate..::..EntityMode

[Missing <param name="entityMode"/> documentation for "M:NHibernate.Metadata.IClassMetadata.SetPropertyValue(System.Object,System.String,System.Object,NHibernate.EntityMode)"]

See Also