Browse by Tags

Tagged Content List
  • Blog Post: Creating a Data Service Provider – Part 8 - Relationships

    In parts 1 thru 7 we made a Read / Write typed data service provider, although it was a little simplistic because it didn’t have relationships. So lets rectify that right now by adding a relationship to make this more 'real-world' Changes to our Classes If you remember from Part 3 we had just a Product...
  • Blog Post: Tip 47 – How fix-up can make it hard to change relationships

    Problem: Take this code: Category oldCategory = ctx.Categories .Include("Products") .First(c => c.Name == "Drink"); Category newCategory = new Category {Name = "Beverage"}; foreach(Product product in oldCategory.Products) { newCategory.Products.Add(product); } Ignore for a second that in...
Page 1 of 1 (2 items)