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; }
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; }