Esempio n. 1
0
        public void SaveCollectHeader(string alisverisId, bool completed)
        {
            var masterParameters = new Dictionary <string, object>
            {
                { "CollectedProductsMasterID", SquentialGuid.NewGuid() },
                { "AlisverisID", alisverisId },
                { "IsCompleted", completed }
            };

            _connection.WithRetry(p => p.Execute("qry_InsertB2CCollectedHeader", Utils.ToDynamicParameters(masterParameters), commandType: CommandType.StoredProcedure, transaction: _transaction));
        }
Esempio n. 2
0
        public void SaveCollectDetail(string alisverisId, decimal islemId, decimal collectedQty)
        {
            var detailparameters = new Dictionary <string, object>
            {
                { "CollectedProductsDetailID", SquentialGuid.NewGuid() },
                { "IslemID", islemId },
                { "CollectedQty", collectedQty },
                { "AlisverisID", alisverisId }
            };

            _connection.WithRetry(p => p.Execute("qry_InsertB2CCollectedDetail", Utils.ToDynamicParameters(detailparameters), commandType: CommandType.StoredProcedure, transaction: _transaction));
        }