NLite.Data.Test.NorthwindExecutionTest.TestCompiledQuerySingleton C# (CSharp) Method

TestCompiledQuerySingleton() private method

private TestCompiledQuerySingleton ( ) : void
return void
        public void TestCompiledQuerySingleton()
        {
            var fn = QueryCompiler.Compile((string id) => db.Customers.SingleOrDefault(c => c.CustomerID == id));
            Customer cust = fn("ALKFI");
        }
NorthwindExecutionTest