atakanozbancom/Models/classes/Context.cs
Atakan Doğan Özban fc45c35dbe Add support page, admin features, and auth hardening.
Rename public affiliate route to /support with localized nav labels, and include affiliate/social/wallpaper admin, 2FA login, and related site updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 20:25:55 +02:00

23 lines
809 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}