/// <summary> /// Read a compound id list given a user object /// </summary> /// <param name="uo"></param> /// <returns></returns> public static CidList Read( UserObject uo) { string name = uo.InternalName; return(CidListDao.Read(name, null)); }
/// <summary> /// Read a compound id list given a user object /// </summary> /// <param name="uo"></param> /// <returns></returns> public static CidList Read( UserObject uo, MetaTable mt) { string name = uo.InternalName; return(CidListDao.Read(name, mt)); }
/// <summary> /// Copy a list to another list /// </summary> /// <param name="sourceListUOInternalName"></param> /// <param name="destList"></param> /// <returns></returns> public static int CopyList( string sourceListUOInternalName, UserObject destList) { CidList list = CidListDao.Read(sourceListUOInternalName); CidListDao.Write(list, destList); return(list.Count); }
/// <summary> /// Copy a list to another list /// </summary> /// <param name="sourceList"></param> /// <param name="destList"></param> /// <returns></returns> public static int CopyList( UserObject sourceList, UserObject destList) { CidList list = CidListDao.Read(sourceList); CidListDao.Write(list, destList); return(list.Count); }
/// <summary> /// Read a compound id list given an internal list name (e.g. FOLDER_123.name or LIST_1234) /// </summary> /// <param name="name"></param> /// <returns></returns> public static CidList Read( string internalName) { return(CidListDao.Read(internalName, null)); }