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

Entity Framework 6 - Knowledge Base (KB)

24 results for: in tag: .net-4.5

MaxLength Attribute in EF4.3.1

The type 'System.ComponentModel.DataAnnotations.MaxLengthAttribute' exists in both [path...]\packages\EntityFramework.4.3.1\lib\net40\EntityFramework.dll and 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework \.NETFramework\v4.5\Sy...
.net-4.5 asp.net-mvc ef-code-first entity-framework
asked by Mihalis Bagos

Set database timeout in Entity Framework

My command keeps timing out, so I need to change the default command timeout value....I've found ...myDb.Database.Connection.ConnectionTimeout..., but it's ...readonly.......How can I set the command timeout in ...Entity Framework 5... ?
.net-4.5 asp.net-mvc c# connection-timeout entity-framework
asked by James

Serialization of Entity Framework objects with One to Many Relationship

I am attempting to use EF with Code First and the Web API. I don't have any problems until I get into serializing Many-to-Many relationships. When I attempt to execute the following web api method below I get the following error message:...public class ...
.net-4.5 c# entity-framework
asked by Blake Blackwell

WPF Programming Methodology

In my APP I'm using an API of a software that my tool is managing. I've DAL that contain 16 classes, 3 of them are singletons. I've some logic in the ....cs... files and ...XAML...'s off course. ...My question is, I see a lot of comments that an app writt...
.net-4.5 entity-framework mvvm wpf
asked by SigmaOmega

Watch for a table new records in sql database

I am using EF in a windows application and I want my application to do some tasks when a new record inserted in a certain table "these new records will be inserted by a website using the same db"... My question is how to watch this table for changes and ...
.net-4.5 c# entity-framework sql-server
asked by Amr Elgarhy

EntityFramework (6) and async ( waitingForActivation)?

I've downloaded ...EF6... ( in order to use ...async...)...So I wrote this simple method : ... public async Task<List<int>> MyasyncMethod() { var locations = await MyDumpEntities.AgeGroups.Select(f=>f.endYear).ToListAsync(); ret...
.net-4.5 async-await c# entity-framework entity-framework-6
asked by Royi Namir

Enum Support for Entity Framework Database First

I can find a bunch of tutorials on how to implement enum support for model first and code first like these:...http://msdn.microsoft.com/en-us/data/jj248772.aspx...http://msdn.microsoft.com/en-us/data/hh859576.aspx...Can anyone explain to me or provide me ...
.net .net-4.5 edmx entity-framework enums
asked by TMan

Entity Framework - Migrations - Code First - Seeding per Migration

I am looking into Migrations in an effort to clean up our deployment processes. The less manual intervention required when pushing a change to production the better....I have run into 3 major snags with the migrations system. They are show stoppers if I...
.net-4.5 c# ef-migrations entity-framework seeding
asked by Talon

How do I kick off an entity stored procedure in EF6 async and not wait for a return?

I'd like to just punt a call over to the SQL Server and not wait for a return. I have an imported Entity Function from a Stored Procedure that I'd like to call asynchronously this way in Entity Framework 6.0.0-rc1. Is this possible? What's the syntax?..
.net-4.5 async-await c# entity-framework visual-studio-2012
asked by dirq

.NET 4.5.1 hosting on .NET 4.5

We are considering web development using .NET 4.5.1 (with VS 2013), EF6 and MVC 5. ...Can we have this application hosted on a shared hosting service provider, which supports .NET 4.5, or do we need to wait for the service provider until they support .NE...
.net-4.5 asp.net-mvc-5 entity-framework-6
asked by user203687

Replacement of Self-tracking entities in Entity Framework 6

I am sure most of .NET developers must be facing this issue one way or the other. The problem is simple, I am upgrading my project from ....NET 4 to .NET 4.5.1.... So far so good the upgrade went neatly. But when I upgraded from EF4 to EF6, I did encounte...
.net-4.5 entity-framework-6 self-tracking-entities
asked by Talha Masood

EF6 default role provider "method not found"

I am using EF6 to build and MVC5 web application and i want to use the defualtRoleProvider and defaultMemberShip provider but i got this error...System.MissingMethodException: Method not found: 'System.Data.Objects.ObjectContext System.Data.Entity.Infrast...
.net-4.5 asp.net-mvc-5 c# entity-framework-6
asked by H.T

EF6 DBContext Dynamic Connection String

public partial class ProcessContext : DbContext { static ProcessContext() { Database.SetInitializer<ProcessContext>(null); } public ProcessContext() : base("Name=ProcessCS") //Comes from Config File { } --DBSe...
.net-4.5 asp.net-mvc-4 dbcontext entity-framework
asked by Gautham Nayak

ASP.NET Dynamic Data Entities Web Project Broken

Can anybody get ASP.NET Dynamic Data Entities Web project working under EF 6.0.2 and .NET 4.5 in Visual Studio 2013?...I find problems in ManyToMany_Edit.ascx.cs and Global.asax.cs all relating to the switch in namespace for ObjectContext. Changing the us...
.net-4.5 asp.net-dynamic-data entity-framework-6
asked by John Mc

MVC Handling Timezones and JSON Serialization - How to Convert to Specific Timezone

I've spent quite a bit of time on stackoverflow and the internet trying to determine what has been done in my situation. I am building a centralized line of business website that could span multiple timezones. Based on some valuable information here I ...
.net-4.5 asp.net-mvc-5 entity-framework-6 json.net timezone
asked by nickgru

Entity Framework with SQLite Error: An error occurred while reading from the store provider's data reader

I'm using SQLite 1.0.89 with EF 5 .NET Framework 4.5 on VS2013 in a WPF application in C#. The DB size is not big and the table that the program use contain max 1000 row....using the program I found this error often:...An error occurred while reading from...
.net-4.5 c# entity-framework sqlite wpf
asked by abrfra

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

Razor Syntax gives errors in View before compiling (No intellisense)

I was going through the list of NuGet Packages and I was updating everything things like bootstrap, jQuery, etc. but while I was doing that, I unthinkingly updated ...Microsoft.Owin... and another package (might have been EF or something else) and it was ...
.net-4.5 asp.net-mvc-5.2 c# entity-framework-6 razor-2
asked by Termato

.NET 4.5 Gridview with DropDownList in EditItemTemplate UpdateMethod

I have Gridview with list of ManufacturerTypes that is related with Manufacturers... So each ManufacturerType has a Manufacturer (2 tables -> 2 entities). When I want to update item ManufacturerType I wan`t to be possible to update Title from Entity Manuf...
.net-4.5 asp.net entity-framework-6 gridview
asked by janilemy

Syncronization of async EF Tasks

I am working on an Application to processes Company resources. We have a MS SQL Database and are working with EntityFramework 6.1.3 and .Net4.5. Now DbContext has async methods for example...protected Task<int> SaveChangesAsync(); ...I know that DbContext...
.net-4.5 async-await c# entity-framework-6 multithreading
asked by D4rth B4n3

Page 1 of 2
  • 1
  • 2
  • »

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