comparison Source/Data/Sql/Extensions.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 using System;
2
3 namespace BLToolkit.Data.Sql
4 {
5 using FJoin = SqlQuery.FromClause.Join;
6
7 public static class Extensions
8 {
9 public static FJoin InnerJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.InnerJoin (table, joins); }
10 public static FJoin InnerJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.InnerJoin (table, alias, joins); }
11 public static FJoin LeftJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.LeftJoin (table, joins); }
12 public static FJoin LeftJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.LeftJoin (table, alias, joins); }
13 public static FJoin Join (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.Join (table, joins); }
14 public static FJoin Join (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.Join (table, alias, joins); }
15 public static FJoin CrossApply (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.CrossApply (table, joins); }
16 public static FJoin CrossApply (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.CrossApply (table, alias, joins); }
17 public static FJoin OuterApply (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.OuterApply (table, joins); }
18 public static FJoin OuterApply (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.OuterApply (table, alias, joins); }
19
20 public static FJoin WeakInnerJoin(this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.WeakInnerJoin(table, joins); }
21 public static FJoin WeakInnerJoin(this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.WeakInnerJoin(table, alias, joins); }
22 public static FJoin WeakLeftJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.WeakLeftJoin (table, joins); }
23 public static FJoin WeakLeftJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.WeakLeftJoin (table, alias, joins); }
24 public static FJoin WeakJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.WeakJoin (table, joins); }
25 public static FJoin WeakJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.WeakJoin (table, alias, joins); }
26 }
27 }