예제 #1
0
        private void AddRegularParameter(CommandPart commandPart, TypeMapping mapping, string name, object value)
        {
            var parameter = Connection.CreateParameter();

            parameter.ParameterName = name;
            mapping.BindValue(parameter, value);
            commandPart.Parameters.Add(parameter);
        }