Created
November 13, 2018 16:08
-
-
Save jatovar/5a118c14875b4b76e1b876ab982a975c to your computer and use it in GitHub Desktop.
Mapeado tipo relacion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static c_TipoRelacion MapeaTipoRelacion(string tipoRelacion) | |
{ | |
switch (tipoRelacion) | |
{ | |
case "01": | |
return c_TipoRelacion.Item01; | |
case "02": | |
return c_TipoRelacion.Item02; | |
case "03": | |
return c_TipoRelacion.Item03; | |
case "04": | |
return c_TipoRelacion.Item04; | |
case "05": | |
return c_TipoRelacion.Item05; | |
case "06": | |
return c_TipoRelacion.Item06; | |
case "07": | |
return c_TipoRelacion.Item07; | |
case "08": | |
return c_TipoRelacion.Item08; | |
case "09": | |
return c_TipoRelacion.Item09; | |
} | |
throw new Exception("Tiporelacion no encontrado"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment