Ejemplo n.º 1
0
        public void GetTableColumnTestInt()
        {
            AAContext context     = new AAContext();
            string    notExpected = string.Empty;
            string    actual      = string.Empty;

            actual = context.GetColumn <string>("select CAST(ID AS VARCHAR(10)) from [user]");
            Assert.AreNotEqual(notExpected, actual);
        }
Ejemplo n.º 2
0
        public void GetTableColumnTest()
        {
            AAContext context     = new AAContext();
            string    notExpected = string.Empty;
            string    actual      = string.Empty;

            actual = context.GetColumn <string>("select username from [user]");
            Assert.AreNotEqual(notExpected, actual);
        }