Align .editorconfig files Move Controller logic to DMO classes GlobalVars.AppSettings = Models.AppSettings.GetFromConfigurationManager(); Question EditorConfig Project level editorconfig Format White Spaces AppSetting when EnvironmentVariable not set Corrective Actions Tests Schedule Actions Tests DMO Tests Controller Tests Get ready to use VSCode IDE
42 lines
1.4 KiB
C#
42 lines
1.4 KiB
C#
#if !NET8
|
|
|
|
//------------------------------------------------------------------------------
|
|
// <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 Fab2ApprovalSystem.Models
|
|
{
|
|
using System;
|
|
using System.Data.Entity;
|
|
using System.Data.Entity.Infrastructure;
|
|
using Fab2ApprovalSystem.Misc;
|
|
|
|
public partial class FabApprovalSystemEntitiesAll : DbContext
|
|
{
|
|
#if (DEBUG)
|
|
private static string ENTITY_NAME = "FabApprovalSystemEntitiesAllDev";
|
|
#else
|
|
private static string ENTITY_NAME = GlobalVars.IS_INFINEON_DOMAIN ? "FabApprovalSystemEntitiesAllInfineon" : "FabApprovalSystemEntitiesAllEC";
|
|
#endif
|
|
|
|
public FabApprovalSystemEntitiesAll()
|
|
: base("name=FabApprovalSystemEntitiesAll")
|
|
{
|
|
}
|
|
|
|
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
|
{
|
|
throw new UnintentionalCodeFirstException();
|
|
}
|
|
|
|
public virtual DbSet<C_8DAuditedStandard> C_8DAuditedStandard { get; set; }
|
|
public virtual DbSet<C_8DAuditedStandardByAudit> C_8DAuditedStandardByAudit { get; set; }
|
|
}
|
|
}
|
|
|
|
#endif |