-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCommandObjectBuilder.cs
More file actions
42 lines (36 loc) · 1.46 KB
/
CommandObjectBuilder.cs
File metadata and controls
42 lines (36 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.Data.Common;
using MGR.CommandLineParser.Extensibility.Command;
namespace MGR.CommandLineParser.Command.OracleProcedure
{
internal class CommandObjectBuilder : ICommandObjectBuilder
{
private IEnumerable<ICommandOptionMetadata> _options;
private IEnumerable<Parameter> _outParameters;
private DbConnection _dbConnection;
public CommandObjectBuilder(IEnumerable<ICommandOptionMetadata> options, IEnumerable<Parameter> outParameters, DbConnection dbConnection)
{
_options = options;
_outParameters = outParameters;
_dbConnection = dbConnection;
}
public void AddArguments(string argument) => throw new NotImplementedException("Oracle procedures does not define unamed arguments");
public ICommandOption FindOption(string optionName)
{
throw new NotImplementedException();
}
public ICommandOption FindOptionByShortName(string optionShortName)
{
throw new NotImplementedException($"Oracle procedures does not define 'short name' for the parameters ('{ optionShortName }')");
}
public ICommandObject GenerateCommandObject()
{
throw new NotImplementedException();
}
public CommandValidationResult Validate(IServiceProvider serviceProvider)
{
throw new NotImplementedException();
}
}
}