Example #1
0
 public void SetCommandType(SqormCommandType sqormCommandType)
 {
     _commandType = sqormCommandType.ToCommandType();
 }
Example #2
0
 internal static CommandType ToCommandType(this SqormCommandType sqormCommandType)
 {
     return(sqormCommandType == SqormCommandType.Text
             ? CommandType.Text
             : CommandType.StoredProcedure);
 }