CodeGarten.Data.Access.StructureManager.GetAll C# (CSharp) Méthode

GetAll() public méthode

public GetAll ( string username = null ) : IQueryable
username string
Résultat IQueryable
        public IQueryable<Structure> GetAll(string username = null)
        {
            return username == null
                       ? _dbManager.DbContext.Structures
                       : _dbManager.DbContext.Structures.Where(s => s.Administrators.Select(a => a.Name).Contains(username));
        }