> public interface IContext : IDisposable > { > IDbSet<T> Set<T>() where T : class; > int SaveChanges(); > void SetModified(object entity); > void SetAdd(object entity); > void SetDeleted(object entity); > void ExecuteSqlCommand(string sql); > EntityState GetEntityState(object entity); > bool IsLoaded(object entity, string navigationPropertyName); > void Load(object entity, string navigationPropertyName); > DbPropertyValues GetOriginalValues(object entity); > DbPropertyValues GetCurrentValues(object entity); > void EnsurePaddedPrimaryKey<T>(T entity) where T : class; > ObjectContext CoreContext { get; } > }>
> var query = this._siriusContext.Max4Sale.Where(m4s => m4s.Type == max4sale.Type);>
> public interface ISiriusSqlContext : IContext > { > IDbSet<AccActv> AccActv { get; set; } // acc_actv > IDbSet<Access> Access { get; set; } // access > etc. for all other tables/views > } >So what is the Type on _siriusContext ?