atakanozbancom/Models/classes/Context.cs
Atakan Doğan Özban 0ccbef45a1 Initial commit: open-source release of atakanozban.com
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 13:29:09 +02:00

23 lines
809 B
C#
Raw 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; }
}
}