public static T GetWithChildren <T>(this SQLiteConnection conn, object pk) where T : new() { var element = conn.Get <T>(pk); conn.GetChildren(ref element); return(element); }