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.

20230722123752_Customers.Designer.cs 1.7KB

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