コード例 #1
0
 public virtual object GetValueOf(string attributeName)
 {
     if (nnoi.IsNull())
     {
         throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.NeoDatisError.TriggerCalledOnNullObject
                                                    .AddParameter(nnoi.GetClassInfo().GetFullClassName()).AddParameter(attributeName
                                                                                                                       ));
     }
     return(nnoi.GetValueOf(attributeName));
 }
コード例 #2
0
 // TODO Auto-generated constructor stub
 protected override bool IsNull(object @object)
 {
     NeoDatis.Odb.Core.Layers.Layer2.Meta.NonNativeObjectInfo nnoi = (NeoDatis.Odb.Core.Layers.Layer2.Meta.NonNativeObjectInfo
                                                                      )@object;
     return(nnoi == null || nnoi.IsNull());
 }