Пример #1
0
 public ApplicationProcessDataContext(DbConnection dbConnection) : base(dbConnection)
 {
     SqlMapper.SetTypeMap(typeof(Application), DataContextHelper.ColumnMap <Application>());
 }
Пример #2
0
 public CommonDataContext(DbConnection dbConnection) : base(dbConnection)
 {
     SqlMapper.SetTypeMap(typeof(ServiceOperation), DataContextHelper.ColumnMap <ServiceOperation>());
     SqlMapper.SetTypeMap(typeof(DocumentData), DataContextHelper.ColumnMap <DocumentData>());
 }