How do i get the identity. The following code enters a value into orderItem. I wish to return orderItemId.
public static StoredProcedure StoreAddToCartSAS(string userName, SAS.Business.Domain.Product product)
{
SubSonic.StoredProcedure sp = new SubSonic.StoredProcedure("Store_AddItemToCart", DataService.GetInstance("dashCommerce"), "dbo");
sp.Command.AddParameter("@productName", product.ProductName, DbType.String);
return sp;
}