Skip to content

DbEntityLink class

Represents link between two tables

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.
DbEntityEntity1Gets or sets the first entity of the link.
DbEntityEntity2Gets or sets the second entity of the link.
LinkTypeLnkTypeGets 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
LinkTypeStrToLinkType(String s)Converts text to TableLink.LinkType value.