温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Maolz个人展示网站源码
当前文件:
maolz/SubSonicDAL/MySiteProvider/Custom/Comment.cs[883B,2009-6-12 11:47:17],打开代码结构图
maolz/SubSonicDAL/MySiteProvider/Custom/Comment.cs[883B,2009-6-12 11:47:17],打开代码结构图1using System; 2
using System.Text; 3
using System.Data; 4
using System.Data.SqlClient; 5
using System.Data.Common; 6
using System.Collections; 7
using System.Collections.Generic; 8
using System.ComponentModel; 9
using System.Configuration; 10
using System.Xml; 11
using System.Xml.Serialization; 12
using SubSonic; 13
using SubSonic.Utilities; 14
15
namespace SubSonic.Generated 16
{ 17
18
public partial class CommentCollection : ActiveList<Comment,CommentCollection> 19
{ 20
/// <summary> 21
/// 使用Comment的主键进行比较 22
/// </summary> 23
/// <param name="comm"></param> 24
/// <returns></returns> 25
public new int IndexOf(Comment comm) 26
{ 27
for (int i = 0; i < this.Count; i++) 28
{ 29
if (this[i].PKId == comm.PKId) 30
return i; 31
} 32
return -1; 33
} 34
} 35
36
} 37
38






}