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)

2 results in tag: attributes

Use repository with DbContext in ASP.NET Core Authorize-Attribute: "Cannot access a disposed object"

For third party authentication, I need a custom ...Authorize... attribute. Here a repository (...SessionManager...) class is required to check if the user is logged in. ...[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = t...
asp.net-core attributes c# dbcontext entity-framework-core
asked by Lion

What is the Entity Framework Core attribute equivalent to modelBuilder's HasDefaultValueSql?

I want to use annotations for setting the default value for my properties in Entity Framework Core. The issue is that the database is not setting the default values so the value is not being passed down to the database layer. ...I want to do something sim...
attributes c# custom-data-attribute entity-framework-core
asked by Demodave

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!