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)

3 results in tag: int

linq to entities does not recognize the method int32 toint32

I get this error when I try to compare int to int (when comparing string it works)...IEnumerable<Commune> myCommunes = from d in db.Communes where d.CodePostal == Convert.ToInt32(CodePostal.Text) ...
c# entity-framework int linq visual-studio-2010
asked by Wassim AZIRAR

Should I use an int or a long for the primary key in an entity framework model

I am writing an MVC5 Internet application and I have a question about the id field for a model....Should I use an int or a long for the id in a model? I am talking about the field that is used for the primary key? Is an int enough if the database has 100,...
c# entity-framework-6 int model primary-key
asked by user3736648

Cannot implicitly convert type 'void' to 'int'?

Oke so I am fairly new to programming and I don't get why I get this error....My method should store mails which it does in this method:... public void StoreMail(PhishingMail PhishingMail) { using (var phishingMailStorage = new PhishFinderM...
c# entity-framework int void
asked by user3599415

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!