|
Rank: Advanced Member Groups: Registered
Joined: 3/14/2011(UTC) Posts: 34 Location: XM
|
Code:
public void Update(string uuid, IEnumerable<string> fieldNames, IEnumerable<object> fieldValues, string userName = "") { ServiceFactory.TextContentManager.Update( Repository.Current, Folder.GetSchema(), uuid, fieldNames, fieldValues, userName); }
public TEntity Update(string uuid, NameValueCollection values, string userName = "") { var content = ServiceFactory.TextContentManager.Update( Repository.Current, Folder.GetSchema(), uuid, values, null, userName); return Get(content); }
You can have a good read this TextContent CURD base class : http://koobootoolkit.cod...ervices%2fServiceBase.csRegards, NJ Wu Kooboo3 Fans http://www.qiyeqiye.com
|
|
1 user thanked NjayWu for this useful post.
|
|