Skip to content

Commit

Permalink
-Added code, license and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rogermoore committed Mar 8, 2016
1 parent ce83acd commit 63e1a0d
Show file tree
Hide file tree
Showing 223 changed files with 60,174 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# SilverlightMVVMAppEFSample
For details, please see http://www.codeproject.com/Articles/854816/MVVM-Silverlight-Application-with-Entity-Framework
30 changes: 30 additions & 0 deletions WcfEntitiesSample.Data/AdventureWorksEntities.Context.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace WcfEntitiesSample.Data
{
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;

public partial class AdventureWorksEntities : DbContext
{
public AdventureWorksEntities()
: base("name=AdventureWorksEntities")
{
}

protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
throw new UnintentionalCodeFirstException();
}

public DbSet<vProductProductInventory> vProductProductInventories { get; set; }
}
}
Loading

0 comments on commit 63e1a0d

Please sign in to comment.