[英]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.