Hello,
With Data Modeler was creates such relationships, main idea - user membership and group membership. User can be member of group and group can be member of group. Data Modeler allow this, after generating source code for Aurelius I'm got error for property ChildId - identifier redeclared.
public
property MembershipId: Integer read FMembershipId write FMembershipId;
property ChildId: TUsers read GetChildId write SetChildId;
property ParentId: TGroups read GetParentId write SetParentId;
property ChildId: TGroups read GetChildId write SetChildId;
end;
This is bad construction? How to improve this? Should I create another table for GroupInGroup membership?