1
 Follower
12
 Likes

Can obtain the Logical and Physical name from an Entity in runtime

Database
New

One of the best practice is to avoid Literals or Magic Strings in your code, but for Bulk Operations, we need the physical name of an Entity which we can retrieve from the system table Entity using LogicalName. I think it is a good idea can retrieve these names directly from an entity in your code as we can get a field name.

Created on 14 Dec 2018
Comments (3)

I rather prefer to have proper bulk-operations then to expose system-features

Hi Alexandre,

Thank you for your contribution.

I think I didn't understand clearly what is the use case that you want to achieve. Can you elaborate a little bit better? Also, why do you think that having a way to access that information (that is internal and related to how platform name the entitties) is relevant to achieve it?

Cheers

Changed the category to Database


views
201
Followers
1