Example #1
0
        public static PropertyTypeGroup GetPropertyTypeGroup(int id)
        {
            var ptg = new PropertyTypeGroup {
                Id = id
            };

            ptg.Load();
            return(ptg);
        }
 public static PropertyTypeGroup GetPropertyTypeGroup(int id)
 {
     var ptg = new PropertyTypeGroup { Id = id };
     ptg.Load();
     return ptg;
 }
Example #3
0
        public int AddVirtualTab(string Caption)
        {
            // The method is synchronized
            PropertyTypeGroup ptg = new PropertyTypeGroup(0, Id, Caption);
            ptg.Save();

            // Remove from cache
            FlushFromCache(Id);

            return ptg.Id;
        }