public AP_RepresentLegalProv DB_Buscar_REPRESENT_LEGAL_PROV(int id) { DA_AP_RepresentLegalProv data = new DA_AP_RepresentLegalProv(); DataTable dt = new DataTable(); dt = data.DA_Buscar_REPRESENT_LEGAL_PROV(id); AP_RepresentLegalProv rl = new AP_RepresentLegalProv(); rl.Id_InscripcionProv = Convert.ToInt32(dt.Rows[0][0].ToString()); rl.Id_Persona = dt.Rows[0][1].ToString(); rl.Tipo_Poder = dt.Rows[0][2].ToString(); rl.Num_Testimonio = dt.Rows[0][3].ToString(); rl.Domicilio = dt.Rows[0][4].ToString(); rl.Fecha = Convert.ToDateTime(dt.Rows[0][5].ToString()); return(rl); }
public void DB_Modificar_REPRESENT_LEGAL_PROV(AP_RepresentLegalProv rlp) { DA_AP_RepresentLegalProv dato = new DA_AP_RepresentLegalProv(); dato.DA_Modificar_REPRESENT_LEGAL_PROV(rlp); }
public void DB_Registrar_REPRESENT_LEGAL_PROV(AP_RepresentLegalProv rl) { DA_AP_RepresentLegalProv InRL = new DA_AP_RepresentLegalProv(); InRL.DA_Registrar_REPRESENT_LEGAL_PROV(rl); }