comparison UnitTests/Fluent/MockDataBase/MockDataProvider.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 using System.Data.Common;
4 using BLToolkit.Data.DataProvider;
5 using BLToolkit.Data.Sql.SqlProvider;
6
7 namespace BLToolkit.Fluent.Test.MockDataBase
8 {
9 /// <summary>
10 /// For BLToolkit
11 /// </summary>
12 public class MockDataProvider : DataProviderBase
13 {
14 public override IDbConnection CreateConnectionObject()
15 {
16 throw new NotImplementedException();
17 }
18
19 public override DbDataAdapter CreateDataAdapterObject()
20 {
21 throw new NotImplementedException();
22 }
23
24 public override bool DeriveParameters(IDbCommand command)
25 {
26 throw new NotImplementedException();
27 }
28
29 public override ISqlProvider CreateSqlProvider()
30 {
31 return new MockSqlProvider();
32 }
33
34 public override Type ConnectionType
35 {
36 get { return typeof(MockDb); }
37 }
38
39 public override string Name
40 {
41 get { return "Mock"; }
42 }
43 }
44 }