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)

11 results in tag: ef-model-first

Encrypt password field with Entity Framework Model First

I'm using Entity Framework Model First in my project with VS2010....I'm wondering if there is a way to set the field ...password... to be encrypted in ....edmx... window or ...Properties... windows maybe. I don't want to change the generated .cs file sinc...
ef-model-first entity-framework sql-server visual-studio-2010
asked by Ovilia

EntitySet System.InvalidOperationException - "the entity type is not part of the model for the current context"

Similar Questions...The entity type <classname> is not part of the model for the current context... -and- ...EF 4.1 Code First error - The entity type SomeType is not part of the model for the current context... are similar questions but they are "code fi...
c# csdl dbcontext ef-model-first entity-framework
asked by one.beat.consumer

Forcing EF 6 to create tables with model first

Currently I have a nice model, and I can generate a database based on that, but from what I can tell, the tables are never created (leading to all sorts of fun runtime errors)....My understanding is that there are three options for code first that would ...
c# database ef-model-first entity-framework-6
asked by soandos

Updating Database model (.edmx) Model First

I am having a few problems with updating the model in EF using Model First....I have exhausted my efforts with the suggestions of adding migrations (which is normally done using Code First). ...The Package Manager Console prints the message...Creating a D...
ef-model-first entity-framework
asked by user1752532

Entity Framework 6 Model First Migration

Desired outcome:...Use model first approach with Entity Framework and allow changes to deployed database/ model to be done automatically based on the changes in the model. Automatic schema difference script generation to allow smooth migrations....Is ther...
ef-model-first entity-framework migration
asked by Levent

Code first migrations - what connection string will it use?

Code first migrations have been working very well for me. I have a services project and a wpf project. The model is in the services project which is referenced by the wpf project. Update-database is done on the services project, but uses connection str...
code-first connection-string ef-migrations ef-model-first entity-framework
asked by Shumii

Entity Framework view associations not working

I have two simple views...I need to create an association between the CustomerOrderView and the CustomerView using the CustomerID. ...I added the Association like this: ...No here is where it seems to cause me problems. ... I double click on the associati...
c# ef-model-first entity-framework
asked by goroth

Entity Framework - "An error occurred while updating the entries. See the inner exception for details"

I have problem, I have just started learning EF Model First and Im staying in one point for some time. I got such error :..."An error occurred while updating the entries. See the inner exception for details"...I have created an easy model on diagram, gene...
c# ef-model-first entity-framework
asked by CSharpBeginner

Entityframework model first decimal precision

I'm using Entityframework 6 with model first. In the diagram I have chosen decimal for my datatype. When I save decimal values, the database only has whole numbers and the decimals get dropped....My first suspicion was to check the precision, however goin...
ef-model-first entity-framework entity-framework-6
asked by Kyle

Entity Framework 6 Model-First - Update Production Database Based On Local Changes

I'm new to EF and inherited a project that apparently used database-first development....The production environment uses SQL Azure and I'm basically trying to figure out the standard approach for updating its schema. ...At first, I tried enabling migratio...
azure-sql-database ef-database-first ef-model-first entity-framework entity-framework-6
asked by Colin

Use strong spatial types option in model designer locked?

I'm working on a model first EF6 model in model first approach....EF exposes more than DBGeometry and DBGeography and allows me to select specific subtypes when designing the model (like GeographyPoint)....However my generated classes are still simply DBG...
.net-4.5 ef-model-first entity-framework entity-framework-6 sql-server
asked by Ronan Thibaudau

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!