asp.net (C #) +sql Server three-tier architecture data access Scheme (V)

Source: Internet
Author: User
asp.net|server| Architecture | data using System;

Using System.Data;

Using System.Data.SqlClient;

Using Town.data;

Using Town.Log;

Using System.Collections;

Namespace town.com

{

<summary>

Function: Integral class

Author: rexsp

Date Created: 2004-01-14

Modified by:

Date Modified:

</summary>

public class Scoresetting

{



#region Private Members

<summary>

Score Set ID

</summary>

private int id=-1;

<summary>

Feature ID

</summary>

private int functionid=-1;

<summary>

Action ID

</summary>

private int operationid=-1;

<summary>

Role type ID

</summary>

private int roletypeid=-1;

<summary>

Forum type ID

</summary>

private int bbstypeid=-1;

<summary>

Integral

</summary>

private int score=-2000000000;

<summary>

Currency

</summary>

private int bb=-2000000000;

<summary>

Purchase type

</summary>

private int buytype=-1;

<summary>

Functional status

</summary>

private int functionstate=-1;

<summary>

Whether to update the score

</summary>

#endregion



#region Public Properties



<summary>

Integral setting di

</summary>

public int ID

{

Get{return ID;}

Set{id=value;}

}

<summary>

Feature ID

</summary>

public int FunctionID

{

Get{return FunctionID;}

Set{functionid=value;}

}

<summary>

Action ID

</summary>

public int OperationID

{

Get{return OperationID;}

Set{operationid=value;}

}

<summary>

Role type

</summary>

public int Roletypeid

{

Get{return Roletypeid;}

Set{roletypeid=value;}

}

<summary>

Type of Forum

</summary>

public int Bbstypeid

{

Get{return Bbstypeid;}

Set{bbstypeid=value;}

}

<summary>

Integral

</summary>

public int Score

{

Get{return score;}

Set{score=value;}

}

<summary>

Currency

</summary>

public int BB

{

Get{return BB;

Set{bb=value;}

}

<summary>

Purchase type 0-not Purchase type 1-one-time purchase 2-repeat purchase

</summary>

public int Buytype

{

Get{return Buytype;}

Set{buytype=value;}

}

<summary>

Purchase Status: 0-no this feature 1-have this feature 2-need to buy

</summary>

public int Functionstate

{

Get{return Functionstate;}

Set{functionstate=value;}

}

#endregion



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.