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: webforms

How to fix "SqlException: The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value."

SqlException: The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value....my code is like this:... using (var contxt = new realtydbEntities()) { var status = GetStatus(); var...
asp.net c# entity-framework webforms
asked by Scott 混合理论

Error "Failed to set database initializer of type MyNamespace.MyCustomInitializer, MyAssembly" could not load MyContext type

I'm creating a web app using .NET4.5 with Entity Framework 6 alpha3 that uses a new SQL Compact database. The database does not yet exist....I have the following code in a web form:...public IQueryable<Job> listJobs_GetData() { var db = new Journalist...
entity-framework entity-framework-6 webforms
asked by Mark Shaw

Fixing JSON Date serialization from .Net web method

I am currently working on a project where I am sending a .Net type via ajax to a client application via ajax. I have no issues with the object being serialized and set to the client....I run into issues when I take the exactly same object and post it bac...
ajax c# entity-framework serialization webforms
asked by Justin

Build Dynamic Select using Expression Trees

How would I generate the following using expression trees......var people = context.Set<Person>(); var transactions = context.Set<FinancialTransaction>(); var dataview = people.Where( p => p.LastName == "Smith" ); var selection = dataview .Selec...
c# entity-framework expression-trees linq-to-entities webforms
asked by David Turner

ASP.Net Identity with WebForms to existing SQL database

I tried the ASP.Net identity and it works fine. I then tried to get it working with an existing SQL database using the pre-created scripts as provided here: ...SQL script for creating an ASP.NET Identity Database...I changed the default connection string ...
asp.net asp.net-identity c# entity-framework webforms
asked by Mike Stone

Foreign Key Lookup Dropdownlist EF 6

I have been googling for 3 days, and can't find a usable answer, I'm hoping someone can help me....I'm starting with this EXCELLENT tutorial:...http://www.asp.net/web-forms/tutorials/data-access/model-binding/retrieving-data...I'm trying to extend this pr...
asp.net drop-down-menu entity-framework entity-framework-6 webforms
asked by user3311566

quickest way to implement .net authentication in Web Forms with Entity Framework 6

I have been checking resources to implement authentication in my web forms application built with entity framework. All examples I found are MVC-related. I have used regular Asp.Net Membership framework a long time before I began to use EF. However, I cou...
asp.net-membership claims-based-identity entity-framework-6 webforms
asked by renakre

Error: Cannot implicitly convert type 'System.Data.Entity.DbSet' to 'System.Linq.IQueryable'

I am trying to follow the following tutorial: ASP.NET Web Forms Getting started with Web Forms and Visual studio (URL: ...http://www.asp.net/web-forms/overview/getting-started/getting-started-with-aspnet-45-web-forms/introduction-and-overview...)....I hav...
asp.net entity-framework linq webforms
asked by Marjolein

Validate entry length based on database-first entity model

My client is using c#, EF6.0 database-first, and webforms. I want to validate for the max length of a textbox entry in an aspx form. I don't want to hardcode the max-length client-side or server-side, instead I want to retrieve it from the EF6.0 entity mo...
asp.net c# ef-database-first entity-framework-6 webforms
asked by CodeCabbie

How to Redirect User to Login Page if User Directly Accesses Any Page in ASP.NET WebForms

I am working on ASP.NET webforms. I want to redirect the user to login page if user directly enters the URL of any other page. I have added the below code in web.config file and it redirects the user to login page in case the user tries to access any othe...
asp.net c# entity-framework-6 webforms
asked by Muhammad Ibrar

Can't Enable a button from JavaScript

<script type="text/javascript"> function Enable_Butt() { document.getElementById("<%=RadButton1.ClientID%>").disabled = false; // Doesn't Work } </script> ...i also tried this an...
asp.net entity-framework-6 javascript telerik webforms
asked by moheb yossif

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!