public SIT_RESP_CLASINFO dmlSelectID(SIT_RESP_CLASINFO oDatos ) { String sSQL = " SELECT * FROM SIT_RESP_CLASINFO WHERE nfoclave = :P0 "; return CrearListaMDL<SIT_RESP_CLASINFO>(ConsultaDML ( sSQL, oDatos.nfoclave ) as DataTable)[0]; }
public int dmlEditar(SIT_RESP_CLASINFO oDatos) { String sSQL = " UPDATE SIT_RESP_CLASINFO SET nfodescripcion = :P0 WHERE nfoclave = :P1 "; return (int) EjecutaDML ( sSQL, oDatos.nfodescripcion, oDatos.nfoclave ); }
public int dmlBorrar(SIT_RESP_CLASINFO oDatos) { String sSQL = " DELETE FROM SIT_RESP_CLASINFO WHERE nfoclave = :P0 "; return (int) EjecutaDML ( sSQL, oDatos.nfoclave ); }
public Object dmlAgregar(SIT_RESP_CLASINFO oDatos) { String sSQL = " INSERT INTO SIT_RESP_CLASINFO( nfodescripcion, nfoclave) VALUES ( :P0, :P1) "; return EjecutaDML ( sSQL, oDatos.nfodescripcion, oDatos.nfoclave ); }