Exemple #1
0
        public void DecimalFixTest()
        {
            var connectionString = this.TestContext.TestDeploymentDir + @"\Decimal";
            var context          = new DecimalDataContext(connectionString);

            var result = context.Decimals
                         .OrderBy(x => x.nValue)
                         .Select(x => x.nValue)
                         .First();

            Assert.AreEqual(7654321.12345M, result);
        }
Exemple #2
0
        public void DecimalFixTest()
        {
            var connectionString = this.TestContext.TestDeploymentDir + @"\Decimal";
            var context = new DecimalDataContext(connectionString);

            var result = context.Decimals
                                .OrderBy(x => x.nValue)
                                .Select(x => x.nValue)
                                .First();

            Assert.AreEqual(7654321.12345M, result);
        }