示例#1
0
        /// <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);
        }
示例#2
0
 public IDbCommand GetNewCommand()
 {
     return(DbProvider.GetCommand());
 }