public virtual object NewFullInstanceOf(System.Type clazz, NonNativeObjectInfo nnoi) { string className = clazz.FullName; NeoDatis.Odb.Core.Layers.Layer2.Instance.FullInstantiationHelper helper = (NeoDatis.Odb.Core.Layers.Layer2.Instance.FullInstantiationHelper )fullInstantiationHelpers[className]; if (helper != null) { object o = helper.Instantiate(nnoi); if (o != null) { return(o); } } return(null); }
public virtual void AddFullInstantiationHelper(string clazz, NeoDatis.Odb.Core.Layers.Layer2.Instance.FullInstantiationHelper helper) { fullInstantiationHelpers.Add(clazz, helper); }
public virtual void AddFullInstanciationHelper(System.Type clazz, NeoDatis.Odb.Core.Layers.Layer2.Instance.FullInstantiationHelper helper) { AddFullInstantiationHelper(clazz.FullName, helper); }