using System.Collections.Generic;
public static void Main()
var account = new Account(){
account.Include(m => m.Domains);
public static class ModelExtensions
public static IEnumerable<T> Include<T, L>(
this IEnumerable<T> names, Func<T, L> lengthProvider) where T : Lnew()
public int Id {get; set;}
public List<Domain> Domains {get; set;}
public int Id {get; set;}
public string? Name {get; set;}