I want to select all rows from a table using the following type of syntax: public IQueryable<Company> …
c# entity-framework dbsetIn LINQ to SQL, I can create a repository dynamically using DataContext.GetTable<T>. Is there a similar …
c# linq-to-sql entity-framework-4 ef-code-first dbsetI have following classes and DbContext: public class Order:BaseEntity { public Number {get; set;} } Product:BaseEntity; { public Name {get; set;} } …
c# entity-framework generics code-first dbsetHow does one get a list of results by using a key that is not the primary key? To be …
asp.net-mvc database find composite-primary-key dbsetI have the following code (Database is SQL Server Compact 4.0): Dim competitor=context.Competitors.Find(id) When I profile this …
entity-framework ef-code-first dbcontext sql-server-ce-4 dbsetI am passing a string of the name of the entity type I want to query and getting the type …
c# reflection types dbsetSo EntityFramework 6 is a lot better testable then previous versions. And there are some nice examples on the internet for …
c# entity-framework dbcontext nsubstitute dbsetI have the following and looking for a more efficient way of deleting vs looping through the records and then …
linq entity-framework dbsetIn my application it is sometimes necessary to save 10,000 or more rows to the database in one operation. I've found …
c# entity-framework entity-framework-4.1 dbcontext dbset