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

Source: Internet
Author: User
Tags date
asp.net|server| Architecture | Data Tier class:

Using System;

Using System.Collections;

Using System.Data;

Using System.Data.SqlClient;

Using Town.data;

Using Town.Log;



Namespace town.com

{

<summary>

Function: Integration Set Collection class

Author: rexsp

Date Created: 2004-01-14

Modified by:

Date Modified:

</summary>

public class Scoresettingcollection

{

#region Private Members

Private ArrayList members;

#endregion



#region Constructors

<summary>

Constructors

</summary>

Public Scoresettingcollection ()

{

}

#endregion



#region Public Properties

<summary>

Number of Operation objects

</summary>

public int Count

{

Get

{

if (members!= null)

Return to members. Count;

Else

return 0;

}

}

#endregion



#region Index

<summary>

Index

</summary>

Public scoresetting This[int Index]

{

Get

{

if (members!= null)

Return (scoresetting) (Members[index]);

Else

return null;

}

}

#endregion



#region Private Method

<summary>

Add operation to Operationcollection collection

</summary>

private void Add (scoresetting scoresetting)

{

if (members = NULL)

Members = new ArrayList ();

Members. ADD (scoresetting);

}

#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.