26 lines
512 B
C#
26 lines
512 B
C#
using System;
|
|
namespace Zhaizj.Framework.ORM {
|
|
|
|
/// <summary>
|
|
/// count »º´æÅú×¢
|
|
/// </summary>
|
|
[Serializable]
|
|
public class CacheCountAttribute : Attribute, ICacheAttribute {
|
|
|
|
private String _targetPropertyName;
|
|
|
|
public CacheCountAttribute( String targetPropertyName ) {
|
|
_targetPropertyName = targetPropertyName;
|
|
}
|
|
|
|
public String TargetPropertyName {
|
|
get {
|
|
return _targetPropertyName;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|