English 中文(简体)
在莫诺德热带雨林实施口服体液处理法
原标题:ICursor implementation for ORM in MonoDroid

I m试图说明如何实施海底数据库库,以总结“ORMed”数据库层。

在莫诺德的甲状腺中安装ORM,我们可以使用sqlite-net项目(每个轻型ORM)或

My thoughts are to implement ICursor interface and "wrap" ORM For now I just can t set it in my mind how it should work, and should it work ever or not. Should it load "framed" set of results, or fetch it one by one? Which is better for performance, how to get column values - reflection or..?

So, actually question is: is it possible ever? Any thoughts will be appreciated.

感谢。

问题回答

I m not sure what "problem" you re trying to solve with an ICursor implementation, perhaps you should be a little more specific as to what specific task you re trying to do. The entire point of an ORM (and you missed this one that also supports SQLite on Android) is to abstract away the whole RDBMS paradigm from the code and give you an object-oriented paradigm instead.

一名国际助老会给你一个问答表,这意味着你们必须知道KQrows、结果、问询和所有这一切。 投放物体或收集物体。 如果你想要更新,你会更新这个目标,将其送回投管处。

现在,我完全承认,有时某个办公室可能无法提供最清洁的机制,以做一个公平交易会做得好的事情。 例如,如果你合乎逻辑地想“把昨天在第二次转变期间建造的所有部件分开”。 轻重的 ORM可能给你所有部分,然后,你必须使用LINQ或类似于过滤器,以达到正确日期和转移,然后将收集结果逐个删除,而用LQ的查询,你只是通过一个<代码>。 一、导 言 WHERE 出生地: BETWEEN @start and @end,但这是你面临的一种权衡。

在某些情况下,人力资源管理厅可能提供一种设施,以做你想要的东西。 例如,在上文链接的开放式网络股份公司中,你可以将数据储存(如果它已经是一纸空盘)投到KingDataStore,然后允许你使用ExecuteNon Query方法,允许你在一份直接文件表上通过。 如果仍然没有办法把你转回到记录中,因为正如我所说的那样,返回数据库的浏览实际上是反thesis的,或者是一种ORM。

在使用诸如ExecuteNonQuery等物品方面也存在一些固有的风险。 如果你想改变你的背书库,从像KQQ一样的RDBMS,到像一个物体数据库、XML文档或任何东西一样完全不同的东西,那么你建立和使用QQQry断裂的代码。 诚然,这可能不是常见的,但如果密码可移动性和可扩展性以及你的雷达,则至少要牢记一点。





相关问题
what is wrong with this mysql code

$db_user="root"; $db_host="localhost"; $db_password="root"; $db_name = "fayer"; $conn = mysqli_connect($db_host,$db_user,$db_password,$db_name) or die ("couldn t connect to server"); // perform query ...

Users asking for denormalized database

I am in the early stages of developing a database-driven system and the largest part of the system revolves around an inheritance type of relationship. There is a parent entity with about 10 columns ...

Easiest way to deal with sample data in Java web apps?

I m writing a Java web app in my free time to learn more about development. I m using the Stripes framework and eventually intend to use hibernate and MySQL For the moment, whilst creating the pages ...

join across databases with nhibernate

I am trying to join two tables that reside in two different databases. Every time, I try to join I get the following error: An association from the table xxx refers to an unmapped class. If the ...

How can I know if such value exists in database? (ADO.NET)

For example, I have a table, and there is a column named Tags . I want to know if value programming exists in this column. How can I do this in ADO.NET? I did this: OleDbCommand cmd = new ...

Convert date to string upon saving a doctrine record

I m trying to migrate one of my PHP projects to Doctrine. I ve never used it before so there are a few things I don t understand. In my current code, I have a class similar to this: class ...

热门标签