zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

2 results in tag: icollection

On many-many/one-many connections, why use ICollection instead of IEnumerable or ListT>?

I see this a lot in tutorials, with navigation properties as ...ICollection<T>.......Is this a mandatory requirement for Entity Framework? Can I use ...IEnumerable...?...What's the main purpose of using ...ICollection... instead of ...IEnumerable... or ev...
c# code-first entity-framework icollection
asked by Jan Carlo Viray

Linq Conversion From ICollection<T> to List<T>

I am using Code First Entity Framework....I am using the following simple classes:...public class Users { public ICollection<Projects> Projects{get;set;} } public class Projects { public ICollection<Users> Users{get;set;} } ...I am using linq for...
c# entity-framework icollection linq linq-to-entities
asked by Hassaan

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!