criteriacollection.cs
来自「.net的数据持久层」· CS 代码 · 共 27 行
CS
27 行
using System;
using System.Collections;
using System.Collections.Specialized;
namespace Platform.Data {
public class CriteriaCollection : CollectionBase {
public CriteriaCollection() {
}
public Criteria this[ int index] {
get { return (Criteria)this.List[ index ]; }
set { this.List[ index ] = value; }
}
public int Add(Criteria value ){
return this.List.Add( value );
}
public void Add(CriteriaType type, string name, object value){
this.Add( new Criteria( type, name, value ) );
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?