Mercurial > pub > bltoolkit
comparison Source/Data/Sql/SqlProvider/ISqlProvider.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 using System.Linq.Expressions; | |
| 3 using System.Reflection; | |
| 4 using System.Text; | |
| 5 | |
| 6 namespace BLToolkit.Data.Sql.SqlProvider | |
| 7 { | |
| 8 using DataProvider; | |
| 9 | |
| 10 public interface ISqlProvider | |
| 11 { | |
| 12 int CommandCount (SqlQuery sqlQuery); | |
| 13 int BuildSql (int commandNumber, SqlQuery sqlQuery, StringBuilder sb, int indent, int nesting, bool skipAlias); | |
| 14 ISqlExpression ConvertExpression (ISqlExpression expression); | |
| 15 ISqlPredicate ConvertPredicate (ISqlPredicate predicate); | |
| 16 SqlQuery Finalize (SqlQuery sqlQuery); | |
| 17 | |
| 18 StringBuilder BuildTableName (StringBuilder sb, string database, string owner, string table); | |
| 19 object Convert (object value, ConvertType convertType); | |
| 20 LambdaExpression ConvertMember (MemberInfo mi); | |
| 21 ISqlExpression GetIdentityExpression(SqlTable table, SqlField identityField, bool forReturning); | |
| 22 | |
| 23 string Name { get; } | |
| 24 SqlQuery SqlQuery { get; set; } | |
| 25 | |
| 26 bool SkipAcceptsParameter { get; } | |
| 27 bool TakeAcceptsParameter { get; } | |
| 28 bool IsSkipSupported { get; } | |
| 29 bool IsTakeSupported { get; } | |
| 30 bool IsSubQueryTakeSupported { get; } | |
| 31 bool IsSubQueryColumnSupported { get; } | |
| 32 bool IsCountSubQuerySupported { get; } | |
| 33 bool IsIdentityParameterRequired { get; } | |
| 34 bool IsApplyJoinSupported { get; } | |
| 35 bool IsInsertOrUpdateSupported { get; } | |
| 36 bool CanCombineParameters { get; } | |
| 37 } | |
| 38 } |
