在内存数据库中工作? [英] Work from an in-memory database?
问题描述
我有一种情况,我想读取一个OData提要,该提要构造为包含各种类型的记录的事件日志,然后构建可以使用LightSwitch应用程序进行探索的日志事件的结构化表示.读取OData feed没问题,我可以为LightSwitch应用程序设计数据模型并创建实体.但是我很难让查询返回任何结果,大概是因为我没有将更改提交给数据服务.
I have a scenario where I want to read an OData feed that's structured as an event log containing records of various types, and then build a structured representation of the log events that can be explored with a LightSwitch application. Reading the OData feed is no problem, and I can design a data model for my LightSwitch app and create entities. But I'm having trouble getting queries to return any results, presumably because I haven't committed my changes to a data service.
是否有一种方法可以使LightSwitch对抗内存中的表示形式?还是在没有真正的数据库连接的情况下使我的查询正常工作的方法?
Is there a way to get LightSwitch to work against an in-memory representation? Or a way to get my queries to work without having a real database connection?
谢谢
推荐答案
Use a WCF RIA Service
这是WCF RIA服务,专门用于在内存中":
This is a WCF RIA Service that is specifically "in memory":
LightSwitch Chat Application Using A Data Source Extension
这篇关于在内存数据库中工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!