简体   繁体   English

如何在Lightswitch中配置Oracle数据源以映射另一个用户拥有的表?

[英]How Can I Configure an Oracle Data Source in Lightswitch to Map Tables Owned by Another User?

We are using a SaaS provider at my company, who also offers direct read-only access to their back end Oracle database. 我们在公司使用SaaS提供商,该提供商还提供对其后端Oracle数据库的直接只读访问。

Our Oracle user does not own any of the tables, therefore the tables we want to read belong to other users. 我们的Oracle用户不拥有任何表,因此我们要读取的表属于其他用户。 So the tables must be addressed as follows: OwnerUser.table1, OwnerUser.table2, etc. 因此,必须按以下方式处理表:OwnerUser.table1,OwnerUser.table2等。

When setting up a data source in LightSwitch, no tables are visible, because the Entity Data Model is mapping to tables owned by our user (the one which we connect with). 在LightSwitch中设置数据源时,没有表可见,因为实体数据模型正在映射到我们用户(与我们连接的用户)拥有的表。

Does anyone know if I can tweak the data source somewhere to inject the owner prefix (eg OwnerUser) so that the LightSwitch Designer will show the tables owned by OwnerUser? 有谁知道我是否可以在某个地方调整数据源以注入所有者前缀(例如OwnerUser),以便LightSwitch Designer将显示OwnerUser拥有的表?

您可能会发现,在这种情况下,为传递用户信息并设置表的数据源创建自定义RIA服务层可能会更容易。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Oracle中创建不是“由sys拥有”的表? - How do I create tables not “owned by sys” in Oracle? 用于创建其他用户拥有的数据库链接的Oracle语法 - Oracle Syntax for Creating Database Link Owned by Another User 如何加快在Oracle表中加载数据的速度? - How can I speed up loading data in Oracle tables? 使用Oracle在JBOSS eAP 6中配置数据源错误 - Configure Data source error in JBOSS eAP 6 with oracle 如何一张一张地获取一个用户拥有但不属于其他用户的所有表 - How to get all tables owned by one user but not by others, one by one 如何在 Oracle 中选择 2 个表? - How can I select 2 tables in Oracle? 如何使用Kettle / Pentaho从某些Oracle USER / SCHEMA迁移表? - How can i migrate tables from certain oracle USER/SCHEMA using Kettle/Pentaho? 如何编写查询,为特定用户拥有的每个索引生成一组ANALYZE INDEX命令? - How can I write a query that generates a set of ANALYZE INDEX commands for every index owned by a certain user? 如何配置Oracle SQL Developer 可以存储泰语数据? - How to configure Oracle SQL Developer can store Thai language data? 如何将JBOSS数据源设置为Oracle数据库,使用与用于身份验证的模式不同的模式 - How can I set a JBOSS data source to an Oracle database use a different schema to the one used for authentication
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM