++
This commit is contained in:
@@ -24,10 +24,10 @@ namespace zero.Core.Extensions
|
||||
HashSet<string> ids = new HashSet<string>();
|
||||
ids.Add(appId);
|
||||
|
||||
//if (includeShared)
|
||||
//{
|
||||
// ids.Add(Constants.Database.SharedAppId);
|
||||
//}
|
||||
if (includeShared)
|
||||
{
|
||||
ids.Add(Constants.Database.SharedAppId);
|
||||
}
|
||||
|
||||
return source.Where(item => (item as IAppAwareEntity).AppId.In(ids));
|
||||
}
|
||||
@@ -48,10 +48,10 @@ namespace zero.Core.Extensions
|
||||
HashSet<string> ids = new HashSet<string>();
|
||||
ids.Add(scope.AppId);
|
||||
|
||||
//if (scope.IncludeShared)
|
||||
//{
|
||||
// ids.Add(Constants.Database.SharedAppId);
|
||||
//}
|
||||
if (scope.IncludeShared)
|
||||
{
|
||||
ids.Add(Constants.Database.SharedAppId);
|
||||
}
|
||||
|
||||
return source.Where(item => ((IAppAwareEntity)item).AppId.In(ids));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user