Upgrade from Version 4.2 to Version 4.3 ExecuteSqlCommand

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 年 前
Upgrade from Version 4.2 to Version 4.3

Version 4.2:
_dbContext.ExecuteSqlCommand("EXEC [StoredProcedureName] @StoreId, @SKU, @Price",
                _dataProvider.GetInt32Parameter("StoreId", _storeContext.CurrentStore.Id),
                _dataProvider.GetStringParameter("SKU", SKU),
                _dataProvider.GetDecimalParameter("Price", price));

And How is it in Version 4.3??  

Thanks so much.
3 年 前
This now lives under INopDataProvider.

In your example, you would use the ExecuteStoredProcedure method and pass it Linq2Db data parameters.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.