-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rogermoore
committed
Mar 8, 2016
1 parent
ce83acd
commit 63e1a0d
Showing
223 changed files
with
60,174 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | ||
} | ||
} |
Oops, something went wrong.