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