Added criteria parameter to association function.
This parameter is used to specify the data separation field.