question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: make AbpUserBase.FullName mapped

See original GitHub issue

As ABP relies on EntityFramework, making a FullName search on the database becomes really hard. Would be nice to have FullName on the database to perform such searching.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
ryancyqcommented, Dec 4, 2018

I don’t see how the issue is related to EntityFramework.

You can easily achieve FullName by migrating the FullName column to an actual column in database table.

  1. Remove [NotMapped]
  2. Fix automapper/dto for FullName
  3. Do a database migration to copy FirstName and LastName into FullName column
0reactions
ismcagdascommented, Jan 25, 2019

Have you tried adding property below to User entity ?

public new string FullName { get; set; }

Then you can add a migration as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found