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

Entity Framework Core - Knowledge Base (KB)

6 results in tag: app-config

c# - Entity Framework ConnectionString won't update after changing App.Config in runtime

I'm developing a WPF application which depends on Entity Framework for data access. At the first time installation I need to create a new connection string based on the User input, then updating App.Config according to that....The problem is: after updati...
app-config c# connection-string entity-framework entity-framework-6
asked by evolon

EF - Code First approach: connection string and initializer are not being picked from app.config file

I have a class library project where I have created entities, and context for Entity Framework. I have also created an initializer to seed default data in the database....Following is the app.config file of the class library project - ...<?xml version="1....
app-config code-first entity-framework entity-framework-6 sql-server
asked by Nirman

Issues with SQL Alias in ConnectionString in appsettings.json

In my appsettings.json, when I use this snippet:..."ConnectionStrings": { "CssDatabase": "Server=BLUEJAY\\MSSQLSERVER2014;Database=CSS;Trusted_Connection=True;" } ...I can connect to the db as expected... no issues....However, when I change that to u...
app-config asp.net-core entity-framework-core
asked by Eric

Reading app.config from .NET Standard 2.0 library

I'm creating a .NET Standard 2.0 library to be consumed from a .NET Framework 4.6.1 application.... This library needs EF Core, but I can't figure out how to read the app.config....In a .NET Framework library I would initialize my DBContext like this:...p...
.net .net-standard-2.0 app-config c# entity-framework-core
asked by BgrWorker

EntityFramework - Problems with login into database when using a console application

public class FoobarContext : IdentityDbContext<ApplicationUser>, IFoobarContext { public FoobarContext() : base("connectionStringNameFoobar") {...} ... } ...This is my DbContext I am using in my solution. I have a web application, which at some po...
app-config c# entity-framework entity-framework-6
asked by 10rotator01

Entity Frame Work always return null

I'm created windows service where I have problem in calling query using entity frame-work inside this service, its always return null....I tried to reinstall entity-framework package from NuGet but nothing happend....this is my app.config file part:...<ad...
app-config asp.net-mvc c# entity-framework entity-framework-6
asked by Mohammed Alasa'ad

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
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!