21 lines
668 B
C#
21 lines
668 B
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using Microsoft.Framework.DependencyInjection;
|
|
|
|
namespace Microsoft.Data.Entity.Tests
|
|
{
|
|
public static class TestHelperExtensions
|
|
{
|
|
public static EntityServicesBuilder AddProviderServices(this EntityServicesBuilder entityServicesBuilder)
|
|
{
|
|
return entityServicesBuilder.AddInMemoryStore();
|
|
}
|
|
|
|
public static DbContextOptions UseProviderOptions(this DbContextOptions options)
|
|
{
|
|
return options;
|
|
}
|
|
}
|
|
}
|