10 use Magento\SalesSequence\Model\ProfileFactory;
34 $this->
_init(
'sales_sequence_profile',
'profile_id');
48 DatabaseContext $context,
65 $profile = $this->profileFactory->create();
67 $bind = [
'meta_id' => $metadataId];
70 ->where(
'meta_id = :meta_id')
71 ->where(
'is_active = 1');
76 $this->
load($profile, $profileId);
__construct(DatabaseContext $context, ProfileFactory $profileFactory, $connectionName=null)
loadActiveProfile($metadataId)
_init($mainTable, $idFieldName)
load(\Magento\Framework\Model\AbstractModel $object, $value, $field=null)