Exemplo n.º 1
0
 internal static IEnumerable <MetadataReference> GetReferencesNetCore(string entityFrameworkVersion) =>
 Enumerable.Empty <MetadataReference>()
 .Concat(NuGetMetadataReference.MicrosoftEntityFrameworkCore(entityFrameworkVersion))
 .Concat(NuGetMetadataReference.MicrosoftEntityFrameworkCoreRelational(entityFrameworkVersion));
Exemplo n.º 2
0
 private static IEnumerable <MetadataReference> GetEntityFrameworkCoreReferences(string entityFrameworkVersion) =>
 Enumerable.Empty <MetadataReference>()
 .Concat(NetStandardMetadataReference.Netstandard)
 .Concat(NuGetMetadataReference.MicrosoftEntityFrameworkCoreSqlServer(entityFrameworkVersion))
 .Concat(NuGetMetadataReference.MicrosoftEntityFrameworkCoreRelational(entityFrameworkVersion));