abp icon indicating copy to clipboard operation
abp copied to clipboard

The documentation Sample for v0.18.1

Open nebiyout opened this issue 7 years ago • 5 comments

hi there,

  1. The the code under the your v0.18.1 version documentation sample doesn't align with the code under the github sample source code and it creates confusion.

  2. the concurrency stamp doesn't seems to be responding to changes by other users even though the b.ConfigureConcurrencyStamp(); function is triggered. Can you please assist on how to test concurrency flag.

Regards,

nebiyout avatar Jul 16 '19 07:07 nebiyout

hi nebiyout Can you take a screenshot to explain it?

maliming avatar Jul 16 '19 08:07 maliming

  builder.Entity<Book>(b =>
            {
                b.ToTable(BookStoreConsts.DbTablePrefix + "Books",
BookStoreConsts.DbSchema);
                b.ConfigureAuditedAggregateRoot(); //auto configure for the
base class props
                b.Property(x => x.Name).IsRequired().HasMaxLength(128);
            });

this line has this issue. b.ConfigureAuditedAggregateRoot(); //auto configure for the base class props

Severity Code Description Project File Line Suppression State Error CS1061 'EntityTypeBuilder' does not contain a definition for 'ConfigureAuditedAggregateRoot' and no accessible extension method 'ConfigureAuditedAggregateRoot' accepting a first argument of type 'EntityTypeBuilder' could be found (are you missing a using directive or an assembly reference?) Acme.BookStore.EntityFrameworkCore F:\Projects\BookStore\src\Acme.BookStore.EntityFrameworkCore\EntityFrameworkCore\BookStoreDbContextModelCreatingExtensions.cs 26 Active

On Tue, Jul 16, 2019 at 11:05 AM maliming [email protected] wrote:

hi nebiyout Can you take a screenshot to explain it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abpframework/abp/issues/1490?email_source=notifications&email_token=ABIFONGBXHEG2ED44JOBWXLP7V6NNA5CNFSM4ID57JJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2ABSSA#issuecomment-511711560, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIFONE7DAPCQJIIUUMSBTDP7V6NNANCNFSM4ID57JJA .

-- Regards, Nebiyou Tefera Yimam

Co-Founder & IT Manager at PEDS Tel : +251 930 01 42 53 : +251 945 51 51 51

Email: [email protected] [email protected] [email protected]

nebiyout avatar Jul 16 '19 08:07 nebiyout

Concurrency

I opened the edit book dialog in different tabs then, I edit the price in both tabs and the system allows me to save both changes. But, I was hopping the concurrency stamp will deny me from persisting the second edit.

nebiyout avatar Jul 16 '19 08:07 nebiyout

Facing the same issue. how to resolve

compile error: Severity Code Description Project File Line Suppression State Error CS1061 'EntityTypeBuilder' does not contain a definition for 'ConfigureAuditedAggregateRoot' and no accessible extension method

padhumailin avatar Aug 02 '19 09:08 padhumailin

Can you please check it after 0.19 release? re-open the issue if it is still present.

yekalkan avatar Aug 15 '19 10:08 yekalkan