Esempio n. 1
0
        public void Should_create_SELECT_instruction()
        {
            var sampleEntity1 = new SampleEntity1();

            var fluentQuery = new FluentQuery();
            var select      = fluentQuery.Select(sampleEntity1.Id, sampleEntity1.Name);

            select.ToString().Should().Be(" SELECT  SampleEntityOne.Id , SampleEntityOne.Name  \r\n");
        }
Esempio n. 2
0
        public void Should_create_FROM_instruction()
        {
            var sampleEntity1 = new SampleEntity1();

            var fluentQuery = new FluentQuery();
            var select      = fluentQuery.From(sampleEntity1);

            select.ToString().Should().Be("  FROM SampleEntityOne \r\n");
        }