Initial commit: open-source release of atakanozban.com
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System.Data.Entity;
|
||||
|
||||
namespace atakanozbancom.Models.classes
|
||||
{
|
||||
public class Context : DbContext
|
||||
{
|
||||
public Context() : base("Context")
|
||||
{
|
||||
// Fixes MODEL–DB uncompaciable:
|
||||
Database.SetInitializer<Context>(null);
|
||||
}
|
||||
|
||||
public DbSet<admin> admins { get; set; }
|
||||
public DbSet<myprojects> MyProjects { get; set; }
|
||||
public DbSet<myprojectstranslation> myprojectstranslations { get; set; }
|
||||
public DbSet<projectmedia> projectmedia { get; set; }
|
||||
public DbSet<affiliatelink> AffiliateLinks { get; set; }
|
||||
public DbSet<affiliatelinktranslation> affiliatelinktranslations { get; set; }
|
||||
public DbSet<socialicon> SocialIcons { get; set; }
|
||||
public DbSet<sitesetting> SiteSettings { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user