Exemplo n.º 1
0
        public bool InsertGMULogin(MonTgt_G2H_GIM_GameIDInfo monTgt_Msg, string iPAddress, ref int?installationNo, ref int?assetNo, ref string gamePrefix)
        {
            int?status = 0;

            try
            {
                using (ExCommsSQLDataAccess DataContext = this.GetDataContext())
                {
                    DataContext.usp_InsertAndGet_GMU_Login(null,
                                                           iPAddress,
                                                           monTgt_Msg.MACAddress,
                                                           monTgt_Msg.AssetNumber,
                                                           monTgt_Msg.GMUNumber,
                                                           monTgt_Msg.SerialNumber,
                                                           monTgt_Msg.SASVersion,
                                                           monTgt_Msg.GMUVersion,
                                                           ref installationNo,
                                                           ref status,
                                                           ref assetNo,
                                                           ref gamePrefix);
                    Log.Info("InsertGMULogin: Asset No : " + assetNo.ToString() + ", Poker Game Prefix : " + gamePrefix);
                    return(true);
                }
            }
            catch (Exception ex)
            {
                ExceptionManager.Publish(ex);
                return(false);
            }
        }