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.

40 Articles match "Entity Framework"

  • Related DevelopMentor Courses

    40 Results found
    Showing page 1 of 2   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
  • 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.
    DevelopMentor Courses - Wednesday, May 28, 2014
  • 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
  • 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
  • Trackable Entities – Now with Repository and Unit of Work
    of my Trackable Entities Framework , it came with a lot of developer goodness: NuGet packages, Visual Studio project templates, a VSIX installer available from Visual Studio’s Extensions Gallery , Getting Started guides and a screencast. With inquires on the project discussion forum, and some prompting by my friend Long Le , who authored the Generic Unit of Work and Repository Framework , I decided to add support to my framework for using Repository and Unit of Work design patterns. MergeChanges merges changes and unchanged entities back together. Service.EF.
    DevelopMentor Courses - Thursday, February 20, 2014
  • EF 6.x Code-First and Model-First with Trackable Entities 2.1
    'Until now Trackable Entities has required the Entity Framework Power Tools to reverse engineer Code-First model classes from an existing database. But not long ago the Entity Framework team released the EF 6.x Tools for Visual Studio 2012 and 2013 , so that you can use the same Entity Data Model wizard to generate context and entity classes using either the Code First or Model first approaches. From the Data category select “ADO.NET Entity Data Model,” type a name for the model and click Add. Trackable Entities v2.1 DataMember].
    DevelopMentor Courses - Friday, August 1, 2014
  • Become an N-Tier Ninja with Trackable Entities 2.0
    of my Trackable Entities framework, the “Ninja Edition.” six month ago , I received several constructive suggestions on the project discussion and issues forums, which highlighted features I needed to add in order to make Trackable Entities a viable alternative to the now defunct Entity Framework Self-Tracking Entities. Now that I’ve added these items, Trackable Entities lets you become an N-Tier Ninja. Aside from the coolness factor, what makes Trackable Entities a killer framework, is that it comes as a Visual Studio Extension. 
    DevelopMentor Courses - Monday, April 28, 2014
  • Tony Sneed: Build Async Services with ASP.NET Web API and Entity Framework 6
    If you are building web services that interact with a database, chances are they are not written in a scalable fashion. Web services based either on WCF, which supports both SOAP and REST, or on ASP.NET Web API, which exclusively … Continue reading →
    DevelopMentor Courses - Friday, March 22, 2013
  • Tony Sneed: Trackable Entities: N-Tier Support for Entity Framework
    Consider the assortment of n-tier technologies now consigned to the ash heap of history: WCF RIA Services, Self-Tracking Entities, and good old typed DataSets.  'Writing N-Tier apps can get complicated fast.  These have all suffered from lack of interoperability and … Continue reading →
    DevelopMentor Courses - Saturday, April 27, 2013
  • Lynn Langit: Real-world Entity Framework
    Here’s the deck and sample code from our talk ‘Real-world Entity Framework’ at DevTeach Vancouver, BC. In this talk we show the mechanics of working with database-first EF, using an order entry system. Our code examples include both read and … Continue reading →
    DevelopMentor Courses - Tuesday, May 29, 2012
  • Tony Sneed: Trackable Entities versus Self-Tracking Entities
    'In this blog post I’d like to perform an in-depth comparison between my own Trackable Entities framework and the now deprecated Self-Tracking Entities, written by the Entity Framework team at Microsoft. Because STE’s were discontinued with EF v4, there’s the … Continue reading →
    DevelopMentor Courses - Monday, November 18, 2013
  • Guerrilla.NET (US) Training
    EF : Decouple your entity model from the data using Plain Old CLR Objects (POCOs). EF : Write classes that can track changes to their own state for n-tier development with Entity Framework. MEF : Leverage Managed Extensibility Framework (MEF),NET 4's built-in dependency management system, to implement DI and IoC seamlessly in your applications. EF : Decouple your entity model from the data using Plain Old CLR Objects (POCOs). EF : Write classes that can track changes to their own state for n-tier development with Entity Framework. and jQuery.
    DevelopMentor Courses - Tuesday, March 1, 2011
  • What’s new in ApprovalTests.Net v.20?
    png image, such as the one shown below: Entity Framework support People have long pondered how to test Entity Framework. ASP routing support As community contributor, Krzysztof Ko?mic mic said in his NDC talk … Using ApprovalTests makes what was implicit , explicit so that the item can now be tested Inspired by his talk, Jim Counts and I created a new method in AspApprovals to make the formerly implicit ASP routing explicit and now easily able to be tested. This can be particularly troublesome when changing an existing, unfamiliar piece of code. Happy testing.
    DevelopMentor Courses - Thursday, August 9, 2012
  • Guerrilla.NET (UK) Training
    Create declarative services using workflow that can be deployed as simple text files Decouple your entity model from the data using Plain Old CLR Objects (POCOs). Create robust code using unit testing frameworks and mocking Simplify your service deployment with zero config services with WCF 4.0. What does Entity Framework do for me and how can I use it effectively? Day 1 Entity Framework Introduction The Entity Framework is an Object Relational Mapping (ORM) layer released in.NET 3.5 Leverage new features of C# 4.0, couldn't? Register now.
    DevelopMentor Courses - Tuesday, March 1, 2011
  • Screening C# Candidates: Let’s Play 20 Questions!
    In addition, the breadth of the technical spectrum is mind-boggling, and a developer needs the capacity to absorb vast quantities of knowledge from various parts of the framework. For example, someone might be called upon to build a WPF app retrieving data from a WCF service that queries a SQL database using Entity Framework with Ninject for dependency injection and MOQ for unit testing. Over the past year I was involved in the process of interviewing candidates for both mid and senior level developer positions. This is the purpose of the technical phone screen. > no 5.
    DevelopMentor Courses - Tuesday, February 28, 2012
  • Speaking at Augusta Tech Talk
    There will be 2 sessions; one about NuGet and one about Entity Framework 5. The invitations just went out: I’ll be presenting at Augusta Tech Talk on February 25th 2013. For more information and registration got to: [link]. Community
    DevelopMentor Courses - Wednesday, January 23, 2013
<< 1 2 >>
%>