mercredi 4 mai 2022

Reflection EF .NET Core to get objects from database [duplicate]

I have requirment to get the data from context object using reflection concept in EF .NET Core. For Ex:

_context.TblClaim.Take(5).ToArray() 

In the above line of code I Need to pass TblClaim using reflection, then I need to get the top 5 records, Please someone help me on this. Note: If you need any info please let me know.





Aucun commentaire:

Enregistrer un commentaire