[seasar-dotnet:449] Re: Nullable型にIdentityを指定するとキャストエラー

羽田 t_hada @ atlascorp.co.jp
2007年 2月 19日 (月) 13:12:23 JST


お世話になります。
羽田です。

対応ありがとうございます。

kotani.k wrote:
> 羽田様
>
> 小谷です。
>
> ご指摘いただいた件、下記変更にて修正、テストしました。
> 次回リリース版では対応済になるかと思います。
>
> お手数をおかけして申し訳ありませんでした。
>
> =================================================================
> protected void SetIdentifier(object bean, object value)
> {
>    if(propertyName == null) throw new EmptyRuntimeException("propertyName");
>    PropertyInfo propertyInfo = bean.GetType().GetProperty(propertyName);
>    
>    propertyInfo.SetValue(bean, ConversionUtil.ConvertTargetType(
> 	value, propertyInfo.PropertyType), null);
> }
> =================================================================
>
> =========================================
> koyak
> kotani.k @ buildsystem.jp
> =========================================
> _______________________________________________
> seasar-dotnet mailing list
> seasar-dotnet @ ml.seasar.org
> https://ml.seasar.org/mailman/listinfo/seasar-dotnet
>
>
>   
-- 

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
株式会社アトラス
羽田 拓央

〒510-0815
三重県四日市市野田2丁目1番10号
TEL(059)334-0609
FAX(059)334-1620
mail:   t_hada @ atlascorp.co.jp
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/




seasar-dotnet メーリングリストの案内