C# Class FilterDemo.EntitySimple

简易实体类 ? 通用目的 包括GUID,Code,Name,Description的一个实体类,重写了ToString方法---Code + "---" + Name
Show file Open project: NanQi/demo

Public Methods

Method Description
EntitySimple ( )
EntitySimple ( string strRow )
Equals ( object obj ) : bool

重写Equals方法,只要GUID相等则相等

GetHashCode ( ) : int
ToString ( ) : string

Method Details

EntitySimple() public method

public EntitySimple ( )

EntitySimple() public method

public EntitySimple ( string strRow )
strRow string

Equals() public method

重写Equals方法,只要GUID相等则相等
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string