本文整理汇总了C#中BaseLib.clsDBQueryManager.SelectUnFollowedUsername_List方法的典型用法代码示例。如果您正苦于以下问题:C# clsDBQueryManager.SelectUnFollowedUsername_List方法的具体用法?C# clsDBQueryManager.SelectUnFollowedUsername_List怎么用?C# clsDBQueryManager.SelectUnFollowedUsername_List使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BaseLib.clsDBQueryManager
的用法示例。
在下文中一共展示了clsDBQueryManager.SelectUnFollowedUsername_List方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FollowUsingURLs
//.........这里部分代码省略.........
// user_id = user_id_toFollow;
// DataSet ds = DB.GetUserName(user_id_toFollow);
// if (ds.Tables[0].Rows.Count > 0)
// {
// foreach (DataRow dataRow in ds.Tables["tb_UsernameDetails"].Rows)
// {
// user_id = dataRow.ItemArray[0].ToString();
// }
// }
//}
//else
//{
// user_id = string.Empty;
// Log("Please enter Valid user Id Or Screan name. ");
//}
#endregion
#region get check unfollow befor
if (TweetAccountManager.UseUnfollowedBeforeFilter)
{
List<string> lst_AlreadyExist = new List<string>();
if (frmMain_NewUI.IsFollowerScreenName)
{
lst_AlreadyExist = DB.SelectUnFollowDUsernameID_List(Username);
bool isAlreadyExist = lst_AlreadyExist.Exists(s => (s == user_id_toFollow));
if (isAlreadyExist)
{
Log("[ " + DateTime.Now + " ] => [ " + user_id_toFollow + " Is already Unfollowed before from " + Username + " ]");
continue;
}
}
else if (frmMain_NewUI.IsfollowerUserId && BaseLib.NumberHelper.ValidateNumber(user_id_toFollow))
{
lst_AlreadyExist = DB.SelectUnFollowedUsername_List(Username);
bool isAlreadyExist = lst_AlreadyExist.Exists(s => (s == user_id_toFollow));
if (isAlreadyExist)
{
Log("[ " + DateTime.Now + " ] => [ " + user_id_toFollow + " Is already Unfollowed before from " + Username + " ]");
continue;
}
}
}
#endregion
///Counter For Follow
NoOfFollowCounter++;
//Check if user_id_toFollow is already being followed or not
#region user_id_toFollow is already being followed or not
bool isAlreadyFollowed = false;
Log("[ " + DateTime.Now + " ] => [ Checking For Already Followed For " + user_id_toFollow + " From " + Username + " ]");
if (frmMain_NewUI.IsFollowerScreenName)
{
lst_AlreadyUserName = queryManager.SelectFollowDUsername_List(Username);
isAlreadyFollowed = lst_AlreadyUserName.Exists(s => (s == user_id_toFollow));
Screen_name = user_id_toFollow;
}
else if (frmMain_NewUI.IsfollowerUserId && BaseLib.NumberHelper.ValidateNumber(user_id_toFollow))
{
lst_AlreadyUserid = queryManager.SelectFollowDUsernameID_List(Username);
isAlreadyFollowed = lst_AlreadyUserid.Exists(s => (s == user_id_toFollow));
user_id = user_id_toFollow;
}