comparison Source/Data/Linq/IDataContext.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.Data;
3
4 namespace BLToolkit.Data.Linq
5 {
6 using Data.Sql.SqlProvider;
7 using Mapping;
8
9 public interface IDataContext : IMappingSchemaProvider, IDisposable
10 {
11 string ContextID { get; }
12 Func<ISqlProvider> CreateSqlProvider { get; }
13
14 object SetQuery (IQueryContext queryContext);
15 int ExecuteNonQuery (object query);
16 object ExecuteScalar (object query);
17 IDataReader ExecuteReader (object query);
18 void ReleaseQuery (object query);
19
20 string GetSqlText (object query);
21 IDataContext Clone (bool forNestedQuery);
22
23 event EventHandler OnClosing;
24 }
25 }