public void Modificar(BE_T_Ubigeo oBE_T_Ubigeo) { sSql = "update Sis_Ubigeo set "; sSql += " Descripcion='" + oBE_T_Ubigeo.Descripcion + "' "; sSql += "where IdUbigeo='" + oBE_T_Ubigeo.IdUbigeo + "' "; ConexionDAO.fExecute(sSql); }
public void Insertar(BE_T_Ubigeo oBE_T_Ubigeo) { sSql = "insert into Sis_Ubigeo values "; sSql += "("; sSql += "'" + oBE_T_Ubigeo.IdUbigeo + "',"; sSql += "'" + oBE_T_Ubigeo.Descripcion + "') "; ConexionDAO.fExecute(sSql); }
protected virtual BE_T_Ubigeo Make(DataTable dt) { if (dt.Rows.Count <= 0) return null; BE_T_Ubigeo oBE_T_Ubigeo = new BE_T_Ubigeo(); oBE_T_Ubigeo.IdUbigeo = dt.Rows[0]["IdUbigeo"].ToString().Trim(); oBE_T_Ubigeo.Descripcion = dt.Rows[0]["Descripcion"].ToString().Trim(); return oBE_T_Ubigeo; }
public void Modificar(BE_T_Ubigeo oBE_T_Ubigeo) { oDL_T_Ubigeo.Modificar(oBE_T_Ubigeo); }
public void Insertar(BE_T_Ubigeo oBE_T_Ubigeo) { oDL_T_Ubigeo.Insertar(oBE_T_Ubigeo); }