/// <summary> Deletes from the persistent storage all DeepFryerServiceChangeLog entities which have data in common with the specified related Entities. If one is omitted, that entity is not used as a filter.</summary> /// <remarks>Runs directly on the persistent storage. It will not delete entity objects from the current collection.</remarks> /// <param name="deepFryerServiceInstance">DeepFryerServiceEntity instance to use as a filter for the DeepFryerServiceChangeLogEntity objects to return</param> /// <param name="employee_Instance">EmployeeEntity instance to use as a filter for the DeepFryerServiceChangeLogEntity objects to return</param> /// <param name="employeeInstance">EmployeeEntity instance to use as a filter for the DeepFryerServiceChangeLogEntity objects to return</param> /// <param name="serviceLocationInstance">ServiceLocationEntity instance to use as a filter for the DeepFryerServiceChangeLogEntity objects to return</param> /// <param name="userInstance">UserEntity instance to use as a filter for the DeepFryerServiceChangeLogEntity objects to return</param> /// <returns>Amount of entities affected, if the used persistent storage has rowcounting enabled.</returns> public int DeleteMultiManyToOne(IEntity deepFryerServiceInstance, IEntity employee_Instance, IEntity employeeInstance, IEntity serviceLocationInstance, IEntity userInstance) { DeepFryerServiceChangeLogDAO dao = DAOFactory.CreateDeepFryerServiceChangeLogDAO(); return(dao.DeleteMulti(base.Transaction, deepFryerServiceInstance, employee_Instance, employeeInstance, serviceLocationInstance, userInstance)); }