Example #1
0
        public Entity(string id, string prefix, DBModule module)
        {
            this.module = module;
            this.prefix = prefix;

            string key = prefix + id;

            if (globalDict.ContainsKey(key))
            {
                props = (StringDictionary)globalDict[key];
            }
            else
            {
                Hashtable contextDict = GetContextDict();

                if (contextDict.ContainsKey(key))
                {
                    props = (StringDictionary)contextDict[key];
                }
                else
                {
                    contextDict[key] = props = new StringDictionary();
                    props.Add(strPropID, id);
                    if (New)
                    {
                        Init();
                    }
                }
            }
        }
Example #2
0
 public Dso(DBModule module)
 {
     MaxRecords  = -1;
     this.module = module;
 }
Example #3
0
 public TreeNodeEntity(string id, string prefix, DBModule module) : base(id, prefix, module)
 {
 }