DataContractBase.SetProperty<T> Method
SQL Server 2012
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Sets the property using the specified values.
Namespace: Microsoft.MasterDataServices.Services.DataContracts
Assembly: Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)
protected bool SetProperty<T>( ref T propertyBackingField, T newValue, string propertyName, bool emptyStringIsNull )
Type Parameters
- T
The property type.
Parameters
- propertyBackingField
- Type: T
The backing field of the property to change.
- newValue
- Type: T
The new value to give to the property.
- propertyName
- Type: System.String
The name of the property.
- emptyStringIsNull
- Type: System.Boolean
true to indicate that the empty string is null; otherwise, false.
