Пример #1
0
        public void SQLinqJoinResult_Constructor_002()
        {
            var joins  = new string[] { "one", "two" };
            var target = new SQLinqJoinResult(joins);

            Assert.AreEqual(target.Join, joins);
        }
Пример #2
0
        public void SQLinqJoinResult_Constructor_001()
        {
            var target = new SQLinqJoinResult();

            Assert.AreEqual(0, target.Join.Count());
            Assert.AreEqual(0, target.Parameters.Count());
        }
Пример #3
0
        public void SQLinqJoinResult_Constructor_003()
        {
            var joins      = new string[] { "one", "two" };
            var parameters = new Dictionary <string, object> {
                { "one", 1 }, { "two", "TTWWOO" }
            };
            var target = new SQLinqJoinResult(joins, parameters);

            Assert.AreEqual(target.Join, joins);
            Assert.AreEqual(target.Parameters, parameters);
        }