Can Some one explain this code.
public static BankAccountTable find(
CompanyBankAccountId _companyBankAccountId ,
boolean _forupdate = false,
ConcurrencyModel _concurrencyModel = ConcurrencyModel::Auto)
{
BankAccountTable bankAccountTable;
;
bankAccountTable.selectForUpdate(_forupdate);
if (_forupdate && _concurrencyModel != ConcurrencyModel::Auto)
{
bankAccountTable.concurrencyModel(_concurrencyModel);
}
select firstonly
bankAccountTable
where
bankAccountTable.AccountID == _companyBankAccountId;
return bankAccountTable;
}
And give me some tips to write find and exist methods in simple way..
Thanks
*This post is locked for comments
I have the same question (0)