Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public virtual void AddFullInstantiationHelper(string clazz, NeoDatis.Odb.Core.Layers.Layer2.Instance.FullInstantiationHelper
                                                helper)
 {
     fullInstantiationHelpers.Add(clazz, helper);
 }
Esempio n. 3
0
 public virtual void AddFullInstanciationHelper(System.Type clazz, NeoDatis.Odb.Core.Layers.Layer2.Instance.FullInstantiationHelper
                                                helper)
 {
     AddFullInstantiationHelper(clazz.FullName, helper);
 }