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: calculated-columns

Entity Framework calculated properties

Suppose I have an Employee object with the following properties:...string Name { get; } float Hours { get; } float Wage { get; } ...I want to add a property, Salary, which equals Hours * Wage. In an ordinary business object, I would simply code that up in...
.net calculated-columns entity-framework
asked by Chris B. Behrens

Entity Framework 6 w/ DatabaseGeneratedOption.Computed: column does not allow nulls. INSERT fails

Entity Framework 6 with a Database Generated field is failing on insert. From what I've read once you mark a column as DatabaseGenerated, EF won't try to insert/update anything into that field, which is especially important in my case because the fields o...
c# calculated-columns entity-framework entity-framework-6 sql-server
asked by Seafish

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!