forked from dotnet/efcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIInMemoryStore.cs
More file actions
27 lines (22 loc) · 962 Bytes
/
Copy pathIInMemoryStore.cs
File metadata and controls
27 lines (22 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using JetBrains.Annotations;
using Microsoft.Data.Entity.ChangeTracking.Internal;
using Microsoft.Data.Entity.Metadata;
namespace Microsoft.Data.Entity.InMemory
{
public interface IInMemoryStore : IEnumerable<InMemoryStore.InMemoryTable>
{
/// <summary>
/// Returns true just after the Store has been created, false thereafter
/// </summary>
/// <returns>
/// true if the Store has just been created, false otherwise
/// </returns>
bool EnsureCreated([NotNull] IModel model);
void Clear();
IEnumerable<InMemoryStore.InMemoryTable> GetTables([NotNull] IEntityType entityType);
int ExecuteTransaction([NotNull] IEnumerable<InternalEntityEntry> entries);
}
}