public int Fill(DataSet dataSet, int startRecord, int maxRecords, string srcTable)
{
long logScopeId = DataCommonEventSource.Log.EnterScope("<comm.DbDataAdapter.Fill|API> {0}, dataSet, startRecord={1}, maxRecords={2}, srcTable='{3}'", ObjectID, startRecord, maxRecords, srcTable);
try
{
// delegate to Fill4
IDbCommand selectCmd = _IDbDataAdapter.SelectCommand;
CommandBehavior cmdBehavior = FillCommandBehavior;
return Fill(dataSet, startRecord, maxRecords, srcTable, selectCmd, cmdBehavior);
}
finally
{
DataCommonEventSource.Log.ExitScope(logScopeId);
}
}