public SubUserGroup(Core core, string groupName, UserSubGroupLoadOptions loadOptions) : base(core) { ItemLoad += new ItemLoadHandler(SubUserGroup_ItemLoad); try { LoadItem("sub_group_name", groupName); } catch (InvalidItemException) { throw new InvalidSubGroupException(); } }
public SubUserGroup(Core core, DataRow groupRow, UserSubGroupLoadOptions loadOptions) : base(core) { ItemLoad += new ItemLoadHandler(SubUserGroup_ItemLoad); try { loadItemInfo(groupRow); } catch (InvalidItemException) { throw new InvalidSubGroupException(); } }
public SubUserGroup(Core core, long groupId, UserSubGroupLoadOptions loadOptions) : base(core) { ItemLoad += new ItemLoadHandler(SubUserGroup_ItemLoad); try { LoadItem(groupId); } catch (InvalidItemException) { throw new InvalidSubGroupException(); } }