In this episode we are going to take a look at how Entity Framework uses T4 Templates (Text Template Transformation Toolkit) when building out the entity model.
We will first learn how EF is using the templates, we will then learn how to view and access these templates and finally we will take a look at how to modify these templates to meet your own specific needs.
In this episode we are going to take a look at how to use the Entity Framework via its database first design concepts.
When building out an application which is based off of the Entity framework you have multiple options, you can either build your model off of your existing database or build your database of your existing model. This episode will explore how you start with your existing database and build your entity model.
In this episode we are going to take a look at how to use the Entity Framework via its model first design concepts.
When building out an application which is based off of the Entity framwork you have multiple options, you can either build your model off of your existing database or build your database of your existing model. This episode will explore how you start with your entity model and build out your database.
In the 7th and final episode of this series, you’ll see some code examples of working with collections of related objects and how lazy loading and cascade operations work from a code perspective.
We’ll also discuss object lifecycle management in NHibernate as well as guidance on how to manage lifecycle and cascade operations on collections of related objects. Finally, we’ll discuss how to perform ad-hoc queries with NHibernate including simple as well as aggregate projection queries using both the Hibernate Query Language (HQL) and the ICriteria API.
In this episode we will continued our dive into how to use NHibernate.
we’ll discuss some of the types of collections (bag, set, and list), some of the features NHibernate offers for loading, sorting, and pre-filtering collection data, and how cascading and transparent lazy loading works with collections of related objects.
In this episode you will learn about you will learn how to perform basic CRUD operations with NHibernate as well as dive into some of its transparent cascading features such as save (insert) and update.
In this episode you will learn about how to install NHibernate as well as how get started with XML mappings to your object domain model. You will learn how to map a class to a table, specify the primary key/identifier, and map properties to columns.
In this episode, you will learn about the reasons why you might use an Object/Relational Mapper (ORM). You will also hear why NHibernate is a particularly good ORM, when it is appropriate to use NHibernate and when it is NOT appropriate to use NHibernate. Finally, you will hear why you might choose NHibernate over the ADO.NET Entity Framework and Linq2Sql and when and might not choose it.