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)

5 results in tag: asp.net-core-2.1

Setting a DateTime Property's default value to DateTime. Now you're in the System. Default Value Attribute for ComponentModel

Does any one know how I can specify the Default value for a DateTime property using the System.ComponentModel DefaultValue Attribute?...for example I try this:...[DefaultValue(typeof(DateTime),DateTime.Now.ToString("yyyy-MM-dd"))] public DateTime DateCrea...
asp.net asp.net-core-2.1 c# ef-core-2.1 entity-framework
asked by REA_ANDREW

How Do I make a Razor Form for a complex EF Model

I am beginning to wonder if what I am about to ask is even possible.. But it SHOULD be. ...The MS examples are woefully short of what I am after so maybe EF isn't designed the way I thought. (BTW Scaffold for CRUD for each individual table works great. Bu...
asp.net-core-2.1 c# entity-framework entity-framework-6 razor-pages
asked by CBERBER

.NET Core 2.1 Npgsql.EntityFrameworkCore.PostgreSQL Code-First

I create a project in which I would like to connect to an SQLite provider for testing purposes, and use PostgreSQL on production....protected override void OnConfiguring(DbContextOptionsBuilder opt) { #if DEBUG opt.UseSqlite("Data Source=blogging.db");...
.net-core asp.net-core-2.1 entity-framework-6 entity-framework-core postgresql
asked by Jakub

No database provider has been configured for this DbContext in ASP.NET Core 2.1

I get this error:...InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the DbContext.OnConfiguring method or by using AddDbContext on the application service provider. If AddD...
asp.net-core-2.1 asp.net-mvc c# entity-framework-6
asked by mohamad mazaheri

MapToStoredProcedures not available

I saw a few questions related to this on stack overflow but none of them helped. I am using VS 2019 community edition, I created an API project on .NetCore 2.1, and added the following nuget packages. (assuming all EF packages will be included by default)...
asp.net-core-2.1 entity-framework-6 entity-framework-core
asked by Samra

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!