Inject the value of a particular property.
Namespace: NHibernate.Tuple.EntityAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
void SetPropertyValue( Object entity, string propertyName, Object value ) |
| Visual Basic |
|---|
Sub SetPropertyValue ( _ entity As Object, _ propertyName As String, _ value As Object _ ) |
| Visual C++ |
|---|
void SetPropertyValue( Object^ entity, String^ propertyName, Object^ value ) |
Parameters
- entity
- Type: System..::..Object
The entity into which to inject the value.
- propertyName
- Type: System..::..String
The name of the property.
- value
- Type: System..::..Object
The property value to inject.