Inheritance: ISelectStatementBuilder, IStatementBuilder
Exemplo n.º 1
0
        public static SelectStatement Select(Action<ISelectStatementBuilder> select)
        {
            var builder = new SelectStatementBuilder();
            select(builder);

            return builder.Build().OfType<SelectStatement>().FirstOrDefault();
        }
        public static SelectStatement Select(Action <ISelectStatementBuilder> select)
        {
            var builder = new SelectStatementBuilder();

            select(builder);

            return(builder.Build().OfType <SelectStatement>().FirstOrDefault());
        }