int GetOrderCountForUser( int affiliateId, int userId, Nullable<DateTime> referralDate )
Parameters
- affiliateId
- Id of the affiliate to count orders for.
- userId
- The Id of the user to count orders for.
- referralDate
- If provided, the date on or after which orders will be counted.
Return Value
Number of orders user has with specified affiliate