annotate Source/Data/Sql/Extensions.cs @ 6:11b6da379593

Исправлена странная ошибка при использовании OfType<...>().Where(...)
author cin
date Mon, 05 Dec 2016 05:50:52 +0300
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 using System;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 namespace BLToolkit.Data.Sql
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 using FJoin = SqlQuery.FromClause.Join;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 public static class Extensions
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 public static FJoin InnerJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.InnerJoin (table, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 public static FJoin InnerJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.InnerJoin (table, alias, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 public static FJoin LeftJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.LeftJoin (table, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 public static FJoin LeftJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.LeftJoin (table, alias, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 public static FJoin Join (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.Join (table, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 public static FJoin Join (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.Join (table, alias, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 public static FJoin CrossApply (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.CrossApply (table, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 public static FJoin CrossApply (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.CrossApply (table, alias, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 public static FJoin OuterApply (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.OuterApply (table, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 public static FJoin OuterApply (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.OuterApply (table, alias, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
19
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
20 public static FJoin WeakInnerJoin(this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.WeakInnerJoin(table, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
21 public static FJoin WeakInnerJoin(this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.WeakInnerJoin(table, alias, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
22 public static FJoin WeakLeftJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.WeakLeftJoin (table, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
23 public static FJoin WeakLeftJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.WeakLeftJoin (table, alias, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
24 public static FJoin WeakJoin (this ISqlTableSource table, params FJoin[] joins) { return SqlQuery.WeakJoin (table, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
25 public static FJoin WeakJoin (this ISqlTableSource table, string alias, params FJoin[] joins) { return SqlQuery.WeakJoin (table, alias, joins); }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
26 }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
27 }