mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-31 09:35:39 -05:00
Move application files to sub-folder
This commit is contained in:
34
Application/Model.Context.cs
Normal file
34
Application/Model.Context.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 FeedCenter
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity;
|
||||
using System.Data.Entity.Infrastructure;
|
||||
|
||||
public partial class FeedCenterEntities : DbContext
|
||||
{
|
||||
public FeedCenterEntities()
|
||||
: base("name=FeedCenterEntities")
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
throw new UnintentionalCodeFirstException();
|
||||
}
|
||||
|
||||
public virtual DbSet<Category> Categories { get; set; }
|
||||
public virtual DbSet<Feed> Feeds { get; set; }
|
||||
public virtual DbSet<FeedAction> FeedActions { get; set; }
|
||||
public virtual DbSet<FeedItem> FeedItems { get; set; }
|
||||
public virtual DbSet<Setting> Settings { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user