Base solution for your next web application

Activities of "ismcagdas"

Answer

Hi,

It seems like the localization problem is related to ui-grid as well according to my tests. And it's resolved with this issue <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/8">https://github.com/aspnetzero/aspnet-zero/issues/8</a>.

Please apply changes to your solution as well. If you download a new project from aspnetzero.com, you will not have this problem.

But, if there is no localized text for some texts in your selected language, then it shows english text I think. You can define it by yourself.

You can find more information about angular-ui's ui-grid here <a class="postlink" href="https://github.com/angular-ui/ui-grid">https://github.com/angular-ui/ui-grid</a>.

Hi,

Yes you are right, this is a bug. We have fixed it. Will be in the next release.

Thanks for informing.

Answer

Hi,

Because the Phone entity does not implement ISoftDelete interface. Because of that there is no IsDeleted column. If you delete a Phone entity, it will be deleted from database as well. See <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-samples/blob/master/PhoneBook/src/Acme.PhoneBook.Core/Phones/Phone.cs">https://github.com/aspnetzero/aspnet-ze ... s/Phone.cs</a>

For the second question, you need to override it in your DbContext class. Its name starts with your project name. [YourProjectName]DbContext. You can find it in your EntityFramework project.

Which version of ABP do you use ? Probably some assemblies depend on different versions of System.Collections. Adding a assembly redirect to web.config might solve your problem.

Hi,

If you derive from FullAuditedEntity<long, User> you should be able to access CreatorUser, does it not work for you ? You can include it in your linQ queries like this.

_postRepository.GetAll().Include().Include(p => p.CreatorUser);

or for a single entity you can use it like this

post.CreatorUser.FullName

if you want to access Posts of a user, you need to add a navigation property to User entity. in order to do that, you need to extend your User entity. <a class="postlink" href="https://aspnetzero.com/Documents/Extending-Existing-Entities">https://aspnetzero.com/Documents/Extend ... g-Entities</a>

But in my opinion, don't do that, just query posts with creatorUserId=[someUserId],

Hi,

Did you run the migrations in order to create the database ? If you did, you can check Logs.txt file under the bin folder of your web project (probably under bin\Debug\net461\win7-x64\App_Data\Logs) to see error details.

If there is nothing there, you can check window's event viewer for error details.

Hi,

These tables/entities are required to run module zero codes. Because of that it's not recommended to delete those tables.

Hi,

We have tried this but couldn't reproduce the problem. Do you have a test project which we can reproduce the error with ?

If you can share it, we will look into it and fix the problem.

Hi,

Which version of ABP do you use ? And did you recently upgrade AutoMapper package ?

Showing 12231 to 12240 of 12740 entries