criteriabase.cs

来自「C# 版本的一个三层商业架构」· CS 代码 · 共 28 行

CS
28
字号
using System;

namespace CSLA
{
  /// <summary>
  /// Base type from which Criteria classes can be
  /// derived in a business class. 
  /// </summary>
  [Serializable()]
  public class CriteriaBase
  {
    /// <summary>
    /// Type of the business object to be instantiated by
    /// the server-side DataPortal. 
    /// </summary>
    public Type ObjectType;
                        
    /// <summary>
    /// Initializes CriteriaBase with the type of
    /// business object to be created by the DataPortal.
    /// </summary>
    public CriteriaBase(Type type)
    {
      ObjectType = type;
    }
  }
}

⌨️ 快捷键说明

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