add_might_have


Description:

protected void add_might_have (string property_name, string this_column, string? foreign_column = null) throws EntityError

Add a might_have relationship. A might_have relationship implies that this entity may or may not have a corresponding record in the joined entity. Most SQL implementations would make this a LEFT JOIN.

Parameters:

property_name Property name to bind to.
this_column Identifying column name in this entity
foreign_column Identifying column name in the target entity. Will default to the same name in the target.