I would like to know the best way to obtain long from returned BIGINT value from MSSQL server via BLToolkit which will be better?
long.Parse(db.Parameter("@rowCount").Value.ToString());
or
System.Convert.ToInt64(db.Parameter("@rowCount").Value);
?