private static IEnumerable <MetadataReference> GetReferences(string entityFrameworkCoreVersion, string oracleVersion) => Enumerable.Empty <MetadataReference>() .Concat(MetadataReferenceFacade.SystemData) .Concat(MetadataReferenceFacade.SystemComponentModelPrimitives) .Concat(NuGetMetadataReference.MicrosoftEntityFrameworkCore(entityFrameworkCoreVersion)) .Concat(NuGetMetadataReference.MicrosoftEntityFrameworkCoreSqliteCore(entityFrameworkCoreVersion)) .Concat(NuGetMetadataReference.MicrosoftEntityFrameworkCoreSqlServer(entityFrameworkCoreVersion)) .Concat(NuGetMetadataReference.OracleEntityFrameworkCore(oracleVersion)) .Concat(NuGetMetadataReference.MySqlDataEntityFrameworkCore()) .Concat(NuGetMetadataReference.NpgsqlEntityFrameworkCorePostgreSQL(entityFrameworkCoreVersion));
private static IEnumerable <MetadataReference> GetEntityFrameworkCoreReferences(string entityFrameworkVersion) => Enumerable.Empty <MetadataReference>() .Concat(NetStandardMetadataReference.Netstandard) .Concat(NuGetMetadataReference.MicrosoftEntityFrameworkCoreSqlServer(entityFrameworkVersion)) .Concat(NuGetMetadataReference.MicrosoftEntityFrameworkCoreRelational(entityFrameworkVersion));