Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion 如何设置自增的主键?
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
 
Teddy  
View profile   Translate to Translated (View Original)
 More options Dec 5 2006, 11:04 pm
From: Teddy <shijie...@gmail.com>
Date: Wed, 6 Dec 2006 12:04:52 +0800
Local: Tues, Dec 5 2006 11:04 pm
Subject: Re: 如何设置自增的主键?

如下定义就可以了,定义只读的int或long的主键,将自动映射为自增长字段:

[PrimaryKey]
int ID { get; }

Teddy

On 12/6/06, Richardz Richardz <RichardZ2...@gmail.com> wrote:

> 请问如何在NBear中如何设置自增的主键?


    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.

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