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