You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20230727111642_CUstomers1.Designer.cs 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // <auto-generated />
  2. using System;
  3. using Karsha_Site.Persistance.Contexts;
  4. using Microsoft.EntityFrameworkCore;
  5. using Microsoft.EntityFrameworkCore.Infrastructure;
  6. using Microsoft.EntityFrameworkCore.Metadata;
  7. using Microsoft.EntityFrameworkCore.Migrations;
  8. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  9. namespace Karsha_Site.Persistance.Migrations
  10. {
  11. [DbContext(typeof(DataBaseContext))]
  12. [Migration("20230727111642_CUstomers1")]
  13. partial class CUstomers1
  14. {
  15. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  16. {
  17. #pragma warning disable 612, 618
  18. modelBuilder
  19. .UseIdentityColumns()
  20. .HasAnnotation("Relational:MaxIdentifierLength", 128)
  21. .HasAnnotation("ProductVersion", "5.0.0");
  22. modelBuilder.Entity("Karsha_Site.Domain.Entinies.Customers.Customer", b =>
  23. {
  24. b.Property<int>("ID")
  25. .ValueGeneratedOnAdd()
  26. .HasColumnType("int")
  27. .UseIdentityColumn();
  28. b.Property<string>("Address")
  29. .HasColumnType("nvarchar(max)");
  30. b.Property<int>("Code")
  31. .HasColumnType("int");
  32. b.Property<string>("FullName")
  33. .HasColumnType("nvarchar(max)");
  34. b.Property<string>("Image")
  35. .HasColumnType("nvarchar(max)");
  36. b.Property<DateTime>("InsertTime")
  37. .HasColumnType("datetime2");
  38. b.Property<bool>("IsRemoved")
  39. .HasColumnType("bit");
  40. b.Property<string>("Link")
  41. .HasColumnType("nvarchar(max)");
  42. b.Property<DateTime?>("RemoveTime")
  43. .HasColumnType("datetime2");
  44. b.Property<DateTime?>("UpdateTime")
  45. .HasColumnType("datetime2");
  46. b.HasKey("ID");
  47. b.ToTable("Customers");
  48. });
  49. #pragma warning restore 612, 618
  50. }
  51. }
  52. }