private ISet <string> GetChangePathsPrefixes(IDbEntity root) { ISet <string> changePathsPrefixes = new HashSet <string>() { "." }; if (root != null) { ISet <string> entitiesPaths; if (_entitiesPaths.TryGetValue(root.Guid, out entitiesPaths)) { changePathsPrefixes.Clear(); foreach (string prefix in entitiesPaths) { changePathsPrefixes.Add(DbEntityUtilities.GetDbEntityPropertyPath(prefix, _entity)); changePathsPrefixes.Add(prefix); } } } return(changePathsPrefixes); }
public string DbEntityPropertyPath(IDbEntity entity) { return(DbEntityUtilities.GetDbEntityPropertyPath(PropertyPath, entity)); }