Beispiel #1
0
        public int GetHighestTransactionID(int clientID, string clientType)
        {
            List <SqlParameter> parameters = new List <SqlParameter>();

            parameters.Add(new SqlParameter("@ClientID", clientID));
            if (clientType != "")
            {
                parameters.Add(new SqlParameter("@Domain", Degatech.Utilities.Data.Utilities.Domain()));
            }
            return(int.Parse(ExecutionHelper.ExecuteScalar("up_Select_HighestTransactionID", parameters).ToString()));
        }