コード例 #1
0
ファイル: AccountExtensions.cs プロジェクト: akoesnan/PraLoup
 public static bool IsFriend(this Account account, Account ab, IDataService ds)
 {
     var s = new ConnectionIsFriendQuery(account, ab);
     return ds.Connection.ExecuteQuery(s).RowCount() > 0;
 }
コード例 #2
0
        public static bool IsFriend(this Account account, Account ab, IDataService ds)
        {
            var s = new ConnectionIsFriendQuery(account, ab);

            return(ds.Connection.ExecuteQuery(s).RowCount() > 0);
        }