Class InnerJoin
Class that implements the Inner Join clause of a sql-query.
Implements
Inherited Members
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public class InnerJoin : JoinCompare, ICloneable
Constructors
InnerJoin(Equal)
Initializes a new instance of the InnerJoin class. Takes one kind of in-parameter. Used when you're only dealing with an equal( field = field ) in the join-clause.
Declaration
public InnerJoin(Equal comp)
Parameters
Type | Name | Description |
---|---|---|
Equal | comp | The Compare-parameter. |
InnerJoin(Equal, Restriction)
Initializes a new instance of the InnerJoin class. Takes two different in-parameters. Used when you're dealing with both an equal ( field = field ) and an restriction ( field = 2 ) in the join-clause.
Declaration
public InnerJoin(Equal comp, Restriction res)
Parameters
Type | Name | Description |
---|---|---|
Equal | comp | The Compare-parameter. |
Restriction | res | The Restriction-parameter, nulls are now allowed |
Methods
Clone()
Clone the join.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
object | Copy of the join node |
Overrides
ToString()
String output.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | a ON (b) |