asp.net-profiles

How to Query from Asp.Net Profile Properties using LINQ

混江龙づ霸主 提交于 2019-11-27 07:10:04
问题 I have Asp.net profile property Profile.Location, Gender etc i need to get list of all users whose Location belongs to "London" and Gender = male how do i perform a search on Asp.net Profile using LINQ 回答1: Actually, you can do it. But you need to put a couple of things in place first: A function that parses and returns the serialized property/values Optionally, a view that calls the function for each user row. This is optional because some ORM's support composing queries with user defined