Mercurial > pub > bltoolkit
view Source/Data/Sql/Extensions.cs @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author | cin |
---|---|
date | Fri, 28 Mar 2014 01:04:56 +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); } } }