Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
v3中的 强类型实体查询语法
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
try  
View profile   Translate to Translated (View Original)
 More options Nov 30 2006, 5:34 am
From: "try" <djsoft....@gmail.com>
Date: Thu, 30 Nov 2006 02:34:22 -0800
Local: Thurs, Nov 30 2006 5:34 am
Subject: v3中的 强类型实体查询语法
在v3中好像没找到和top相关的语法。

v2中的
LocalUser[] users = gateway.Select<LocalUser>(_Entity.LocalUser.Id > 5
| _Entity.LocalUser.LoginId == "teddy",
_Entity.LocalUser._OrderBy.Id_Desc &
_Entity.LocalUser._OrderBy.LoginId);
这样的语法在v3中已经不适合了吧,现在的语法是怎么样的呢?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Teddy  
View profile   Translate to Translated (View Original)
 More options Nov 30 2006, 5:43 am
From: Teddy <shijie...@gmail.com>
Date: Thu, 30 Nov 2006 18:43:06 +0800
Local: Thurs, Nov 30 2006 5:43 am
Subject: Re: v3中的 强类型实体查询语法

V3当然是支持的,请参考,ORM_Adv教程。另外,Gateway.GetPageSelector
().GetPage(1)返回第一页时,就是通过top语法来读取数据的。

Teddy

On 11/30/06, try <djsoft....@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
勇敢的心  
View profile   Translate to Translated (View Original)
 More options Nov 30 2006, 8:48 pm
From: "勇敢的心" <my...@163.com>
Date: Thu, 30 Nov 2006 17:48:37 -0800
Local: Thurs, Nov 30 2006 8:48 pm
Subject: Re: v3中的 强类型实体查询语法
Teddy,为什么我用Gateway.GetPageSelector().FindPage()会产生很多重复的SQL语句.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Teddy  
View profile   Translate to Translated (View Original)
 More options Nov 30 2006, 9:07 pm
From: Teddy <shijie...@gmail.com>
Date: Fri, 1 Dec 2006 10:07:12 +0800
Local: Thurs, Nov 30 2006 9:07 pm
Subject: Re: v3中的 强类型实体查询语法

什么叫做"会产生很多重复的SQL语句"?

On 12/1/06, 勇敢的心 <my...@163.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google