⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comment.cs

📁 Maolz个人展示网站源码,全部的代码,.net
💻 CS
字号:
using System; 
using System.Text; 
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration; 
using System.Xml; 
using System.Xml.Serialization;
using SubSonic; 
using SubSonic.Utilities;

namespace SubSonic.Generated
{

	public partial class CommentCollection : ActiveList<Comment,CommentCollection>
	{
        /// <summary>
        /// 使用Comment的主键进行比较
        /// </summary>
        /// <param name="comm"></param>
        /// <returns></returns>
        public new int IndexOf(Comment comm) 
        {
            for (int i = 0; i < this.Count; i++) 
            {
                if (this[i].PKId == comm.PKId)
                    return i;
            }
            return -1;
        }
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -