/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. using System.Collections;
  5. using System.Collections.Generic;
  6. using System.Collections.ObjectModel;
  7. using System.Linq;
  8. namespace System.Data.Entity
  9. {
  10. public interface IDbSet<TEntity> : IQueryable<TEntity>, IEnumerable<TEntity>, IQueryable, IEnumerable
  11. where TEntity : class
  12. {
  13. #region Properties
  14. ObservableCollection<TEntity> Local { get; }
  15. #endregion
  16. #region Public Methods
  17. TEntity Add(TEntity entity);
  18. TEntity Attach(TEntity entity);
  19. TEntity Create();
  20. TDerivedEntity Create<TDerivedEntity>() where TDerivedEntity : class, TEntity;
  21. TEntity Find(params object[] keyValues);
  22. TEntity Remove(TEntity entity);
  23. #endregion
  24. }
  25. }