简体   繁体   中英

Commerce Server 2009 API - Get All Profiles

Is there a way, using the CS2009 API, to get all profiles? I have trying to migrate to the CS2009 API, and I need to be able to get all profiles from a custom profile.

It looks like with using "CommerceQuery", you are required to pass a field that is either a "primary", "unique", or "join". This limits my ability to get all profiles.

Any suggestions?

CS 2099上没有API可以获取所有配置文件...您可以使用CS 2007核心API在配置文件系统http://ecommerceondotnet.blogspot.it/2009/12/search-on-profile-system上进行搜索。 html ...甚至对您的数据库进行sql查询。

I would concur with Stelio. I would also recommend writing your own sequence component to do this using custom SQL, it will give you more control over your query and performance. I would not recommend using the API. Checkout the proile API code with .NET reflector, or take a gander at the stored procedures in the _profiles database and you will see what I mean.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM