1 2 3 4 5 6 7 8 9 10
|
DbCommand command = db.GetStoredProcCommand("dbo._sp_Bundle_SearchActiveBundleActivitiesByActivityTypeSiteOrThirdPartyIDAndUserID");
db.AddInParameter(command, "activityTypeID", DbType.Int64, activityTypeID);
db.AddInParameter(command, "siteID", DbType.Int64, siteID);
db.AddInParameter(command, "userID", DbType.Int64, userID);
db.AddInParameter(command, "thirdPartyID", DbType.Int64, thirdPartyID);
db.AddInParameter(command, "searchBundleID", DbType.Int64, searchBundleID);
db.AddInParameter(command, "searchDocumentReference", DbType.String, searchDocumentReference);
db.AddInParameter(command, "searchProductID", DbType.Int64, searchProductID);
db.AddInParameter(command, "searchContainerID", DbType.Int64, searchContainerID); |
Partager