From 8a04b21266451699f0df98975880790f2fa03326 Mon Sep 17 00:00:00 2001 From: Suriya-Murugan <43063728+Suriya-Murugan@users.noreply.github.com> Date: Fri, 8 Mar 2024 08:19:00 +0530 Subject: [PATCH] Removed unwanted changes --- ASP.NET Core/src/EJ2APIServices_NET6.csproj | 10 +++-- ASP.NET Core/src/EJ2APIServices_NET8.csproj | 10 +++-- ...WEBSERVICESSRCAPP_DATADIAGRAMMDFContext.cs | 42 +++++++++---------- 3 files changed, 33 insertions(+), 29 deletions(-) diff --git a/ASP.NET Core/src/EJ2APIServices_NET6.csproj b/ASP.NET Core/src/EJ2APIServices_NET6.csproj index 3ebfccc..bae506a 100644 --- a/ASP.NET Core/src/EJ2APIServices_NET6.csproj +++ b/ASP.NET Core/src/EJ2APIServices_NET6.csproj @@ -16,10 +16,12 @@ - - - - + + + + + + diff --git a/ASP.NET Core/src/EJ2APIServices_NET8.csproj b/ASP.NET Core/src/EJ2APIServices_NET8.csproj index 1f64558..ac08dc6 100644 --- a/ASP.NET Core/src/EJ2APIServices_NET8.csproj +++ b/ASP.NET Core/src/EJ2APIServices_NET8.csproj @@ -16,10 +16,12 @@ - - - - + + + + + + diff --git a/ASP.NET Core/src/Models/EEJ2SERVICEEJ2WEBSERVICESSRCAPP_DATADIAGRAMMDFContext.cs b/ASP.NET Core/src/Models/EEJ2SERVICEEJ2WEBSERVICESSRCAPP_DATADIAGRAMMDFContext.cs index df25851..4988669 100644 --- a/ASP.NET Core/src/Models/EEJ2SERVICEEJ2WEBSERVICESSRCAPP_DATADIAGRAMMDFContext.cs +++ b/ASP.NET Core/src/Models/EEJ2SERVICEEJ2WEBSERVICESSRCAPP_DATADIAGRAMMDFContext.cs @@ -1,27 +1,27 @@ -//using System; -//using Microsoft.EntityFrameworkCore; -//using Microsoft.EntityFrameworkCore.Metadata; +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata; -//namespace EJ2APIServices.Models -//{ -// public partial class EEJ2SERVICEEJ2WEBSERVICESSRCAPP_DATADIAGRAMMDFContext : DbContext -// { +namespace EJ2APIServices.Models +{ + public partial class EEJ2SERVICEEJ2WEBSERVICESSRCAPP_DATADIAGRAMMDFContext : DbContext + { -// public EEJ2SERVICEEJ2WEBSERVICESSRCAPP_DATADIAGRAMMDFContext(DbContextOptions options) -// : base(options) -// { -// } + public EEJ2SERVICEEJ2WEBSERVICESSRCAPP_DATADIAGRAMMDFContext(DbContextOptions options) + : base(options) + { + } -// public virtual DbSet DiagramData { get; set; } + public virtual DbSet DiagramData { get; set; } -// protected override void OnModelCreating(ModelBuilder modelBuilder) -// { -// modelBuilder.Entity(entity => -// { -// entity.Property(e => e.DiagramName).HasMaxLength(50); -// }); -// } -// } -//} + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity(entity => + { + entity.Property(e => e.DiagramName).HasMaxLength(50); + }); + } + } +} \ No newline at end of file