Mercurial > pub > bltoolkit
view Source/Data/Sql/Extensions.cs @ 4:f757da6161a1
!bug 100 + 2h fixed gregression
author | cin |
---|---|
date | Sun, 24 Aug 2014 17:57:42 +0400 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
using System; namespace BLToolkit.Data.Sql { using FJoin = SqlQuery.FromClause.Join; public static class Extensions { public static FJoin InnerJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.InnerJoin (table, joins); } public static FJoin InnerJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.InnerJoin (table, alias, joins); } public static FJoin LeftJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.LeftJoin (table, joins); } public static FJoin LeftJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.LeftJoin (table, alias, joins); } public static FJoin Join (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.Join (table, joins); } public static FJoin Join (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.Join (table, alias, joins); } public static FJoin CrossApply (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.CrossApply (table, joins); } public static FJoin CrossApply (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.CrossApply (table, alias, joins); } public static FJoin OuterApply (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.OuterApply (table, joins); } public static FJoin OuterApply (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.OuterApply (table, alias, joins); } public static FJoin WeakInnerJoin(this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.WeakInnerJoin(table, joins); } public static FJoin WeakInnerJoin(this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.WeakInnerJoin(table, alias, joins); } public static FJoin WeakLeftJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.WeakLeftJoin (table, joins); } public static FJoin WeakLeftJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.WeakLeftJoin (table, alias, joins); } public static FJoin WeakJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.WeakJoin (table, joins); } public static FJoin WeakJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.WeakJoin (table, alias, joins); } } }