Esempio n. 1
0
 public CacheKey(IBusinessObject businessObject, HashAlgorithmName hashAlgorithm = HashAlgorithmName.Default)
     : this(businessObject.GetPrimaryKey(true), businessObject.GetType(), hashAlgorithm)
 {
 }
Esempio n. 2
0
 public CacheKey(IBusinessObject businessObject, string operation, OperationReturnType returnType, HashAlgorithmName hashAlgorithm = HashAlgorithmName.Default)
     : this(businessObject.GetPrimaryKey(true), businessObject.GetType(), operation, returnType, true, hashAlgorithm)
 {
 }