Base solution for your next web application

Activities of "matt"

modelBuilder.Entity("ASTAR.Customers.Customer", b => { b.Property<long>("Id") .ValueGeneratedOnAdd() .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);

                b.Property&lt;long&gt;("CreatedBy");

                b.Property&lt;DateTime&gt;("CreatedDate");

                b.Property&lt;string&gt;("CustomerAccountNumber")
                    .IsRequired();

                b.Property&lt;string&gt;("CustomerCompanyName")
                    .IsRequired();

                b.Property&lt;long&gt;("CustomerId");

                b.Property&lt;string&gt;("StatusId");

                b.Property&lt;string&gt;("Tags")
                    .IsRequired();

                b.HasKey("Id");

                b.HasIndex("CustomerId");

                b.ToTable("Customer");
            });
            
            I need customer id should be the primary key when RAD tool generating the migration file

Yes After updated my entity I deleted database and regenerate database again. But Always Id is taking as primarykey. Trying to assign customerid as primary key I am unable to do it.

I am also facing same issue. I am running the application in my local. Please help me ASAP.

yes, it displays in swagger.

above github url is not accessiable

Showing 1 to 4 of 4 entries