public List <SqlParameter> MapParamsForUpsert(ProductTypeData entity) => new List <SqlParameter> { new SqlParameter("@product_type_key", entity.ProductTypeKey), new SqlParameter("@product_type_category", entity.ProductTypeCategory), new SqlParameter("@product_type_code", entity.ProductTypeCode), new SqlParameter("@product_type_name", entity.ProductTypeName), new SqlParameter("@product_type_desc", entity.ProductTypeDesc), GetOutParam() };
public List <SqlParameter> MapParamsForDelete(ProductTypeData entity) => MapParamsForDelete(entity.ProductTypeKey);