//获取所有好友 public static IList <UserContract> GetAllMyFriends() { IDataReader reader = DBRcUsers.GetAll(); return(LoadUserContractList(reader)); }
//获取所有用户及组ID public static IList <UserGroupIDContract> GetAllUserGroupID() { IDataReader reader = DBRcUsers.GetAll(); return(LoadListFromReaderUserGroupID(reader)); }
/// <summary> /// Gets an IList with all instances of RcUsers. /// </summary> public static IList <RcUsers> GetAll() { IDataReader reader = DBRcUsers.GetAll(); return(LoadListFromReader(reader)); }