PageRenderTime 185ms CodeModel.GetById 111ms app.highlight 8ms RepoModel.GetById 62ms app.codeStats 1ms

/InterceptorsORM/_ReSharper.InterceptorsORM/DecompilerCache/metadata/EntityFramework-56d7/System.Data.Entity.IDbSet`1.cs

https://bitbucket.org/snahider/projects
C# | 37 lines | 22 code | 12 blank | 3 comment | 0 complexity | 11782b251c4855ebdb1ab99837151def MD5 | raw file
 1// Type: System.Data.Entity.IDbSet`1
 2// Assembly: EntityFramework, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
 3// Assembly location: C:\Users\Snahider\Documents\Visual Studio 2010\Projects\InterceptorsORM\packages\EntityFramework.4.1.10311.0\lib\EntityFramework.dll
 4
 5using System.Collections;
 6using System.Collections.Generic;
 7using System.Collections.ObjectModel;
 8using System.Linq;
 9
10namespace System.Data.Entity
11{
12    public interface IDbSet<TEntity> : IQueryable<TEntity>, IEnumerable<TEntity>, IQueryable, IEnumerable
13        where TEntity : class
14    {
15        #region Properties
16
17        ObservableCollection<TEntity> Local { get; }
18
19        #endregion
20
21        #region Public Methods
22
23        TEntity Add(TEntity entity);
24
25        TEntity Attach(TEntity entity);
26
27        TEntity Create();
28
29        TDerivedEntity Create<TDerivedEntity>() where TDerivedEntity : class, TEntity;
30
31        TEntity Find(params object[] keyValues);
32
33        TEntity Remove(TEntity entity);
34
35        #endregion
36    }
37}