/// <summary> /// Builds the JOIN command to be executed. /// </summary> /// <returns>The INNER/RIGHT/LEFT JOIN command to be executed.</returns> public IDbCommand GetJoinCommand() { IDbCommand JoinQuery = DbProvider.GetCommand(); JoinQuery.CommandText = "SELECT " + GetCommandPredicate(JoinQuery); lastPosition = 0; //Reset last joined entity position to 0 return(JoinQuery); }
public IDbCommand GetNewCommand() { return(DbProvider.GetCommand()); }