browse.develop.com
Browse.develop.com is a community that was established to collect and organize valuable web information. Our technical staff have selected and indexed information and courses that they feel will help you stay current on best practices across the SDLC.

94 Articles match "Entity Framework"

  • The Best from DevelopMentor

    94 Results found
    Showing page 1 of 10   Next >

  • Entity Framework 5 is available
    Entity Framework 5 is included in Visual Studio 2012, but is also available to users of Visual Studio 2010 (as a NuGet package: [link] ). Note: Some Entity Framework 5 features are only available when writing an application that targets.NET 4.5. Entity FrameworkThis includes enum support, spatial data types, table-valued functions and the performance improvements. Read more about what is new on the MSDN ADO.NET blog: [link].
    DevelopMentor Courses - Sunday, August 26, 2012
  • Entity Framework 5 + Enumerations => What’s not to love?
    Entity Framework 5 now supports enumerations (when using Visual Studio 2012 and targeting the.NET 4.5 framework). Next we’ll generate an entity data model from the database. Using enumerations with Entity Framework 5. We need to change the type of the ‘Habitable’ column in the database to a tinyint and we need to modify the information in the conceptual schema to inform the entity framework of our change in design: The screenshot shows that we need to change the underlying type as well as check the “Set Flags attribute”.
    DevelopMentor Courses - Sunday, September 2, 2012
  • Type-Safe Include extension method for Entity Framework
    If you’re interested in the Include method in a LINQ to Entities queries to be type-safe, then Joe Ferner has the answer for you in this post: Type-Safe Entity Framework Include: [link]. Entity Framework
    DevelopMentor Courses - Tuesday, January 24, 2012
  • Reporting using Entity Framework
    Technologies like Entity Framework help us convert data in the database to.NET objects and add logic. 39: Next step is to create a WCF service application, add an Entity Framework model and drag the two views onto the model: Next we’ll implement two methods to use the Entity Framework model to select the data and return a list of CustomerView or OrderView objects. For many years the mantra for implementing business logic in your line of business application has been: “don’t put it in the database, don’t put it in the user interface”. Life is good.
    The Blomsma Code - Wednesday, October 20, 2010
  • Generating an index in the database using Entity Framework Code First
    If you’re using Entity Framework Code First, then you may want to create an index on some of your table. Entity FrameworkThe way to do this is to call “Database.ExecuteSqlCommand” in the “Seed” method of your database initializer. The sample below shows how it is done (thanks to Rolf for pointing me in the right direction): using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Entity; using System.ComponentModel.DataAnnotations; namespace CodeFirstPlayground. {. class Program. {. static void Main( string [] args ). {.
    DevelopMentor Courses - Tuesday, January 17, 2012
  • Logging and tracing with Entity Framework
    If you’re using the Entity Framework and don’t want to implement ToTraceString() at strategic points in your code in order to see what kind of SQL statements are getting generated then check out one of the following: Community Entity Framework Provider Wrappers (free). Entity Framework Profiler. Entity Framework LINQlink] /. Or use NuGet: Install-Package CommunityEFProviderWrappers.EFTracingProvider. link].
    DevelopMentor Courses - Wednesday, June 29, 2011
  • Real-World MVVM with Entity Framework and ASP.NET Web API
    'I just completed a sample application using Simple MVVM Toolkit together with Trackable Entities to build a real-world N-Tier solution with a WPF client and portable POCO entities that are automatically change-tracked and sent to an ASP.NET Web API service that uses Entity Framework to perform asynchronous CRUD operations (Create, Retrieve, Update, Delete). Download the Simple MVVM Trackable Entities sample application here. View models have methods which call GetChanges on the change tracker, so that only changed entities are sent to the service.
    Tony and Zuzana's World - Wednesday, May 28, 2014
  • So Cal Code Camp Session on Entity Framework 4.0
    I’ll be presenting a session at Southern California Code Camp entitled “ What’s New in Entity Framework 4.0 ” on Sunday Nov 22nd. Tags: Technical Entity Framework Hope to see you there!
    Tony and Zuzana's World - Wednesday, November 18, 2009
  • Entity Framework - Model First: One-to-One relationship
    If you’re doing Model First with Entity Framework you may run into a scenario where you want to design a 1-to-1 relationship, but also have a foreign key be available on your entity. The default behavior in Entity Framework when doing a 1-to-1 relationship (with Model First), or 1-to-0.1 Add the entity that goes on the 1 side of the association, give it a primary key of type integer. Add the entity that goes on the 0.1 Click on the 1 entity and add an association, make it a 1-to-0.1, Entity Framework LINQ
    DevelopMentor Courses - Wednesday, June 29, 2011
  • Entity Framework – Model First: Generating DDL for Complex Types
    The complex type consists of 4 ‘fields’: CountryCode, AreaCode, Number and Extension: Each ‘field’ has properties set: The great part is that this is fully supported by the DDL generator, so right click on the Entity Framework Designer in Visual Studio 2010 and choose ‘Generate Database From Model…’ and the ‘Artist’ table will be generated as: -- --. -- Entity Designer DDL Script for SQL Server 2005, 2008, and Azure. -- --. -- --. -- Creating all tables. -- --. -- Creating table 'Artists'. CREATE TABLE [dbo].[Artists] Artists] (. ALTER TABLE [dbo].[Artists]. Artists].
    DevelopMentor Courses - Saturday, July 2, 2011
<< 1 2 3 ... 9 10 >>
%>