src/Misc/EFTools/EntityDesign/VisualStudio/ModelWizard/DbContextCodeGenerator.cs
// <summary>
//     Gets all the items co-located with the given edmxItem with names ending in ".tt".
// </summary>
Gets all the items co-located with the given edmxItem with names ending in ".tt".
Gets all the items co - located with the given edmxItem with names ending in " . tt " .
private static IEnumerable<ProjectItem> GetT4Items(ProjectItem edmxItem)
        {
            return edmxItem == null
                       ? Enumerable.Empty<ProjectItem>()
                       : edmxItem.Collection
                             .OfType<ProjectItem>()
                             .Where(i => i.Name.EndsWith(".tt", StringComparison.OrdinalIgnoreCase))
                             .ToList();
        }
private static IEnumerable < ProjectItem > GetT4Items ( ProjectItem edmxItem ) { return edmxItem == null ? Enumerable . Empty < ProjectItem > ( ) : edmxItem . Collection . OfType < ProjectItem > ( ) . Where ( i => i . Name . EndsWith ( " " , StringComparison . OrdinalIgnoreCase ) ) . ToList ( ) ; }
Gets all the items co-located with the given edmxItem with names ending in ".tt".
Gets all the items co - located with the given edmxItem with names ending in " . tt " .
edmxItem
ProjectItem