Пример #1
0
 public AdaptingDataContext(string fileOrServerConnection, MappingSource mapping, IModelAdapter adapter)
     : base(adapter.AdaptConnection(fileOrServerConnection), new AdaptingMappingSource(mapping, adapter))
 {
 }
Пример #2
0
 public AdaptingDataContext(IDbConnection connection, MappingSource mapping, IModelAdapter adapter)
     : base(adapter.AdaptConnection(connection), new AdaptingMappingSource(mapping, adapter))
 {
 }