Ejemplo n.º 1
0
 private void LogDatabaseChanges(ConceptApplication conceptApplication, string action, Func <string> additionalInfo = null)
 {
     _changesLogger.Trace("{0} {1}, ID={2}.{3}{4}",
                          action,
                          conceptApplication.GetConceptApplicationKey(),
                          SqlUtility.GuidToString(conceptApplication.Id),
                          additionalInfo != null ? " " : null,
                          additionalInfo != null ? additionalInfo() : null);
 }
Ejemplo n.º 2
0
 protected void LogDatabaseChanges(ConceptApplication conceptApplication, string action, Func<string> additionalInfo = null)
 {
     _conceptsLogger.Trace("{0} {1}, ID={2}.{3}{4}",
         action,
         conceptApplication.GetConceptApplicationKey(),
         SqlUtility.GuidToString(conceptApplication.Id),
         additionalInfo != null ? " " : null,
         additionalInfo != null ? additionalInfo() : null);
 }
Ejemplo n.º 3
0
 public bool Equals(Dependency other)
 {
     return(other.DependsOn.GetConceptApplicationKey().Equals(DependsOn.GetConceptApplicationKey()) &&
            other.Dependent.GetConceptApplicationKey().Equals(Dependent.GetConceptApplicationKey()) &&
            other.DebugInfo == DebugInfo);
 }
Ejemplo n.º 4
0
 protected void Log(ConceptApplication conceptApplication, string action)
 {
     _logger.Info("{0} {1}, ID={2}.", action, conceptApplication.GetConceptApplicationKey(), SqlUtility.GuidToString(conceptApplication.Id));
 }