public ParameterContext GetParameterContext() { var result = _originalParameterContext.CloneParameterContext(); foreach (var replaced in _replacedIndexAndParameters) { result.ReplaceParameterValue(replaced.Key, replaced.Value); } foreach (var added in _addedIndexAndParameters.Reverse()) { throw new NotImplementedException(); //if (added.Key > result.Count) //{ // result.AddAll(added.Value); //} //else //{ // result.InsertRange(added.Key, added.Value); //} } foreach (var removeParameterName in _removeParameterNames) { result.RemoveDbParameter(removeParameterName); } return(result); }
protected override ParameterContext CloneParameters(ParameterContext parameterContext) { return(parameterContext.CloneParameterContext()); }