コード例 #1
0
ファイル: NullResultMap.cs プロジェクト: rasitha1/SqlBatis
 /// <summary>
 /// Set the value of an object property.
 /// </summary>
 /// <param name="target">The object to set the property.</param>
 /// <param name="property">The result property to use.</param>
 /// <param name="dataBaseValue">The database value to set.</param>
 public void SetValueOfProperty(ref object target, ResultProperty property, object dataBaseValue)
 {
     throw new Exception("The method or operation is not implemented.");
 }
コード例 #2
0
 /// <summary>
 /// Indicate if a ResultProperty is in the collection
 /// </summary>
 /// <param name="value">A ResultProperty</param>
 /// <returns>True fi is in</returns>
 public bool Contains(ResultProperty value)
 {
     return(Contains(value.PropertyName));
 }
コード例 #3
0
 /// <summary>
 /// Set the value of an object property.
 /// </summary>
 /// <param name="target">The object to set the property.</param>
 /// <param name="property">The result property to use.</param>
 /// <param name="dataBaseValue">The database value to set.</param>
 public void SetValueOfProperty(ref object target, ResultProperty property, object dataBaseValue)
 {
     _dataExchange.SetData(ref target, property, dataBaseValue);
 }