Skip to content

DbEntityLink class

Represents link between two entities

public class Korzh.EasyQuery.Db.DbEntityLink
TypeNameDescription
StringConditionExprGets or sets the expression of link condition. This expression will be used if Korzh.EasyQuery.Db.DbEntityLink.Conditions list is empty.
ConditionListConditionsGets list of linking conditions.
EntityEntity1Gets or sets the first entity of the link.
EntityEntity2Gets or sets the second entity of the link.
TableLinkTypeLnkTypeGets or sets the type of the link (inner, left, right or full).
TypeNameDescription
ConditionAddCondition(LinkCondType condType, String expr1, String expr2, String operation)Adds the link condition by two expressions and operation.
StringGetSqlExpr(DbQueryFormats formats)Gets the SQL expression of the link
StringToString()Returns a that represents the current .
TypeNameDescription
TableLinkTypeStrToLinkType(String s)Converts text to TableLink.LinkType value.