How to create find method in MSD axapta

How to create find method in axapta

 public static table find(AddressCountryRegionId _countryRegionId,AddressStateId _stateId,boolean _forUpdate = false)  
  {  
  TalukaMaster taluka;  
  if (_countryRegionId && _stateId && _District && _taluka )  
  {  
  taluka.selectForUpdate(_forUpdate);  
  select firstonly taluka where taluka.CountryRegionId == _countryRegionId && taluka.StateId == _stateId && taluka.districtId == _District;  
  }  
  return taluka;  
  }